Connecting to a Network
The [
wlan.ssid
] and [
wlan.passkey
] variables set the Wi-Fi network name and password, respectively.
1. Type [
set wlan.ssid "Wi-Fi network name"
]. The [
"Wi-Fi network name"
] value is the name of the network you'd like to connect
to.
Note:
Use quotes around the network name if it contains spaces.
2. Type [
set wlan.passkey password
]. The [
password
] value is the password for the network defined by the ssid.
3. Type [
save
] to save the new values.
4. Type [
network_up
] to turn on the network.
You should now be connected to the network.
Figure 4.7. set wlan.ssid / set wlan.passkey / save / network_up
Note:
To automatically join the network defined by [
ssid
] and [
passkey
] each time the module is powered on or rebooted, type [
set
wlan.auto_join.enabled 1
].
Commands used:
•
https://docs.silabs.com/gecko-os/latest/cmd/commands#set
•
https://docs.silabs.com/gecko-os/latest/cmd/commands#save
•
https://docs.silabs.com/gecko-os/latest/cmd/commands#network-up
UG370: Wireless Xpress AMW007 Kit User's Guide
Power and Operation
silabs.com
| Building a more connected world.
Rev. 1.1 | 11