EasyManua.ls Logo

Ublox ODIN-W2 Series - Set a Default Remote Peer (Wi-Fi and TCP) Using DHCP and Connect at Startup

Ublox ODIN-W2 Series
27 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ODIN-W2 series - Getting Started
UBX-15017452 - R02 Advance Information Use case examples
Page 18 of 27
7.3 Set a default remote peer (Wi-Fi and TCP) using DHCP and connect
at startup
Alternative 1 - Network part using DHCP
o AT+UWSCA=0,4
Deactivate network id 0
o AT+UWSC=0,0,1
Active on startup
Wi-Fi part
o AT+UWSC=0,2,"my ssid"
Set the Network SSID to connected to
o AT+UWSC=0,5,2
Use WPA2 as authentication type
o AT+UWSC=0,8,"my password"
The secret WPA2 Password
o AT+UWSCA=0,1
Store Wi-Fi configuration
TCP and data part
o AT+UDDRP=0,"tcp://192.168.0.100:8080",2
Set default remote peer id 0, using tcp and always connected
o AT+UMSM=1
Set startup mode to data mode
Restart module for settings to take effect
o AT&W0
Store configuration to startup database
o AT+CPWROFF
Reboot and ODIN-W2 will now:
1. Start to scan for the network with the SSID = "my network"
2. When Wi-Fi is connected and the Network is up, the TCP
connection will be set up as well

Other manuals for Ublox ODIN-W2 Series

Related product manuals