WisLink-Cellular RAK2011
V 1.0 | Aug. 2018
Author:
Gan, Penn
Approval:
Ken Yu
26
of
28
8. After activating the APN, you can establish a UDP connection; (In China Telecom’s NB-IoT network, you must
first inform the operator your server IP address. The operator will make binding before the connection is
successful. Other networks might be different).
AT+QIOPEN=1,0,"UDP","202.120.2.101",123,0,0
// Establish a UDP connection
AT+QISTATE?
// Query connection is successful
9. If sending data to the server, there will be a prompt to receive data "recv", if there is no prompt, you can send
the following commands to check whether there is data reception.
AT+QISENDEX=0,"db0011fa0000587f0009031d00000000dd99732a8e147ae100000000
000000000000000000000000dd997618cb851eb8"
// send data
AT+QISEND=0,0
// Query data is sent successfully
AT+QIRD=0,1500
// Check if there is data received, if there is, print it out directly