UM-WI-056
DA16xxx FreeRTOS Getting Started Guide
User Manual
Revision 1.0
27-Oct-2021
CFR0012
65 of 80
© 2021 Dialog Semiconductor
●
Read/Write Parameter (Type A)
○
Read:
[/DA16200/NET] # cli [CLI]
○
Write:
[/DA16200/NET] # cli [CLI] <VALUE>
●
Write Only Parameter (Type B)
○
[/DA16200/NET] # cli [CLI] <VALUE>
or
cli [CLI] <OPTION> <VALUE>
●
Read Only Parameter (Type C)
○
[/DA16200/NET] # cli [CLI]
or
cli [CLI] <OPTION>
●
Execution Parameter (Type D)
○
[/DA16200/NET] # cli [CLI]
or
cli [CLI] < OPTION>
B.2.3
Common Commands
Table 11: CLI Commands in Common Mode
CLI
Parameter
Description
status
(none)
Get the main information on the interface being operated at DA16200
For example:
[/DA16200/NET] # cli status
save_co
nfig
(none)
Save all parameters modified through CLI, etc. in NVRAM
(Saved values become applicable after a reboot) (D)
For example:
[/DA16200/NET] # cli save_config
* Information saved in NVRAM may be inquired with the following command:
For example:
[/DA16200/NVRAM] # printenv
Total length (95)
country_code (STR,03) ........ KR
SYSMODE (STR,02) ............. 0
0: NETMODE (STR,02) ........... 1
N0_Profile (STR,02) .......... 1
N0_ssid (STR,16) ............. "ACST_AC_TEST1"
select_
network
<mode>
Execute a motion in a certain mode (STA access, AP operation, etc.) (D)
●
<mode> STA
: 0 | AP: 1
For example:
[/DA16200/NET] # cli select_network 0
○
Implement STA access
* For a certain mode through the
select_network
CLI, the following tasks need
to be carried out first:
○
add_network
(profile generation)
○
SSID generation through
set_network
○
For AP operation, set up the frequency and country code values with
command
set_network
○
For Security, generate WPA or WEP key values with command
set_network
(option)
add_net
work
<mode>
Generate a specific mode (STA, AP) Profile (access information table) (D)
<mode>
: 0(STA) | 1(AP)
For example:
[/DA16200/NET] # cli add_network 1
○
Generate a profile for AP Mode
remove_
network
<mode>
Delete a certain mode (STA, AP) profile (D)
<mode>
: 0(STA) | 1(AP)
For example:
[/DA16200/NET] # cli remove_network 1
○
Delete a profile for AP Mode