UM-WI-056
DA16xxx FreeRTOS Getting Started Guide
User Manual
Revision 1.0
27-Oct-2021
CFR0012
68 of 80
© 2021 Dialog Semiconductor
B.2.5
Soft-AP Commands
Table 13: CLI Commands on Soft-AP Mode
Command
Parameter
Description
ap
<option>
AP interface beginning/closing/restarting (Applicable with no reboot
after main info. modification of AP interface SSID, PSK, etc.) (D)
<option>
: start | stop | restart
For example:
[/DA16200/NET] # cli ap start
○
AP interface initiating (If it is being operated, 'FAIL')
For example:
[/DA16200/NET] # cli ap stop
○
AP interface closing (If not being operated, 'FAIL')
For example:
[/DA16200/NET] # cli set_network 1 ssid
‘DA16200_AP2’
For example:
[/DA16200/NET] # cli ap restart
○
Modify SSID of the interface of AP being operated
For example:
[/DA16200/NET] # cli set_network 1 pairwise TKIP
For example:
[/DA16200/NET] # cli ap restart
○
Modify the AP interface encryption mode to TKIP
ap_chan_switch
<Ch.>
Modify the AP interface operation channel (B)
<Ch.>
: AP operation channel (1~14) or frequency (MHz)
For example:
[/DA16200/NET] # cli ap_chan_switch 3
○
Modify the AP interface channel to 3 (242 MHz)
For example:
[/DA16200/NET] # cli ap_chan_switch 11 2462
○
Modify the AP interface channel to 11 (2462 MHz)
ap_status
(none)
Get main information about the interface at DA16200 (C)
For example:
[/DA16200/NET] # cli ap_status
state=ENABLED
phy=fc9k_phy0
freq=2472
num_sta_non_erp=0
num_sta_no_short_slot_time=0
num_sta_no_short_preamble=0
olbc=0
num_sta_ht_no_gf=0
num_sta_no_ht=0
num_sta_ht_20_mhz=0
num_sta_ht40_intolerant=0
olbc_ht=0
ht_op_mode=0x0
cac_time_seconds=0
cac_time_l