44
SLN-VIZNAS-IOT User Guide, Rev. 1.1, 10/2020
NXP Semiconductors
3.2.23
Retrieve IP Address
Once the Wi-Fi credentials have been set,
the IP address associated with the kit’s Wi-Fi
connection can be discovered using the
“wifi ip”
command. Assuming the board is
connected to a network, the command should display output similar to the following:
SHELL>> wifi ip
IPv4 Address: 192.168.0.165
Figure 79: "wifi ip" Command Successful
If no connection to a network has been made, the IP address returned by the command
will be “0.0.0.0”
SHELL>> wifi ip
IPv4 Address: 0.0.0.0
Figure 80: "wifi ip" Command Unsuccessful
3.2.24
Erase Wi-Fi Credentials
In order to completely erase the existing Wi-Fi credentials, use the
“wifi erase”
command.
SHELL>> wifi erase
SHELL>> Wi-Fi credentials removed
Figure 81: "wifi erase" Command
NOTE: Once issued, the Wi-Fi credentials will be wiped from flash and cannot be retrieved.
3.2.25
Configure Application Type
The
“app_type <0|1|2|3|4>”
CLI command can be used to configure the
“App Type” used
by the inference engine. The arguments in the command correspond to the following app
types:
Number/Argument
Corresponding App Type
0
E-Lock (Light)
1
E-Lock (Heavy)
2
Door Access (Light)
3
Door Access (Heavy)
4
Userid
Table 11: App Type Arguments