NB-IoT UDP
From Wiki for Dragino Project
Revision as of 23:27, 10 May 2018 by Liang (Talk | contribs) (→Hardware of NB-IoT and Environment set up)
Test introduce
NB-IoT carry out UDP protocol, the function of example realizes that NB-IoT sent data to server and the server return the data to NB-IoT too.Therefore, the test was realized under LAN(local area network),at the moment,we should known the IP and port of LAN.
Hardware of NB-IoT and Environment set up
First,we should set up the LAN environment,the network is server,NB-IoT is client in here. Second,we should install the "lua"command and install the "lua socket". thirdly,A script of lua was set up,the code follow as: