UBX-21004616 - R02
Contents
Page 13 of 28
C1 - Public
1.
Enter the following commands to setup EVK-ODIN-W2 as a wireless UDP gateway:
☞
Replace “
ssid
”, “password” and “
server_ip
” and “
udp_port
” with
suitable values for your network.
AT+UWSC=0,0,1
AT+UWSC=0,2,"ssid"
AT+UWSC=0,5,2
AT+UWSC=0,8,"password"
AT+UWSC=0,100,2
AT+UWSC=0,107,0
AT+UWSC=0,300,0
AT+UWSC=0,301,1
AT+UWSCA=0,1
AT+UWSCA=0,3
AT+UDDRP=0,"udp://server_ip:udp_port/",2
AT+UMSM=1
AT+UMRS=1000000,2,8,1,1,0
AT&W
AT+CPWROFF
2.
After the configuration it is also necessary to remove the J13 and J22 jumpers on the
EVK-ODIN-W2 that selects UART1/UART3, as shown in Figure 12. This directs the UART signals
to the Arduino-compatible interface.
Figure 11: UART selection jumpers to be removed on ODIN-W2 EVK
3.
On C211, set the UART baud rate and other interface settings to 1 Mbps, with no flow control:
AT+UMRS=1000000,2,8,1,1,0
AT&W
AT+CPWROFF
3.3.3
Flashing
Other than the bootloader, C211 boards are delivered without software.
Follow the procedure outlined below to flash the board over the UART connection.
1.
Download the u-connectLocate software container from
The Newt manager flashing tool (
newtmgr
) used to install u-connectLocate software is included in
the u-connectLocate download container. The tool can also be retrieved from the
mynewt
download site [10]. See also the Newt Manager Guide [10].
2.
Use Newt Manager to install u-connectLocate on the NINA-B411 module:
newtmgr --conntype=serial --connstring="COM
XX
,baud=115200" image upload
<binary image>