UM-WI-056
DA16xxx FreeRTOS Getting Started Guide
User Manual
Revision 1.0
27-Oct-2021
CFR0012
64 of 80
© 2021 Dialog Semiconductor
Command
Parameter
Description
dhcpd
[interface]
[options]
DHCP server setting
●
boot [on|off]
: automatic start setting with a certain interface
●
range <Start IP ADDRESS> <END IP Address>
: IP lease band
setting (max. 10)
●
lease_time <Integer>
: lease time setting (min. 60 sec.)
●
dns <IP Address>
: lease IP DNS server address setting
●
response_delay <Integer>
: time of response delay
●
status
: display DHCP Server status
●
lease [0|1]
: display IP lease table
○
Display tables including un-allotted tables when flag = 1
iperf
-I [interface]
[-s|-c host]
[options]
Setup Iperf client/server
cli
[options]
Refer to the CLI section
debug
[options]
Execute various types of debug commands
●
arp [on|off]
: arp debug message output on/off
●
dhcpd [level]
: DHCP Server debug level setting (level=0~2
default 0)
●
dhcpc [level]
: DHCP Client debug level setting (level=0~5
default 1)
●
umac [on|off] mask
: debug umac 1 0x4
act
[on | off]
Start or stop DPM Auto Configuration
B.2
CLI Command
B.2.1
Overview
The DA16200 supplicant plays a key role in providing users with Wi-Fi functionality. Major functions
include IEEE 802.11 management frame, various security functions (WPA & RSN by IEEE 802.11i)
and CLI (Command Line Interface) to control DA16200 Wi-Fi performance.
The CLI in DA16200 can execute commands in the network command state.
For example, in Station Mode the network information of DA16200 can be displayed using the
cli
status
command while in network command state:
[/DA16200] # net
Switch to network command mode.
Command-List is changed, "NET"
[/DA16200/NET] # cli status
Display Network Information.
sta0
mac_address=d4:3d:39:10:a2:48
bssid=80:ca:4b:30:02:0a
ssid=U+Net0208
id=0
mode=STATION
key_mgmt=WPA2-PSK
pairwise_cipher=CCMP
group_cipher=CCMP
channel=4
wpa_state=COMPLETED
B.2.2
CLI Format
There are four CLI formats (Type A~D):