OTAA mode:
In OTAA mode, the user needs to prepare 3 parameters, which are
application EUI, device EUI and application key.
The following AT commands are for end user to set the 3 parameters
above on WMDD-209A.
AT+ECHO=1 /*show the characters user
input*/
AT+CMODE=0 /*set node to OTAA mode*/
AT+CDEVEUI=<
device EUI
> /*set device address*/
AT+CAPPEUI=<
application EUI
> /*set network session key*/
AT+CAPPKEY=<
application key
> /*set application session key*/
AT&W /*save the configuration*/
ATZ /*reboot the node*/
If the gateway is set well too, users can follow the instruction to send
packets.
AT+DTTX /*quick send, the message is device
address*/
or
AT+DTX=<msgLength>,<shot msg>
AT+DTX=2,"Hi"
AT+DTX=11,"Hello World"