Difference between revisions of "NB-IoT UDP"

From Wiki for Dragino Project
Jump to: navigation, search
(Hardware of NB-IoT)
(Hardware of NB-IoT and Environment set up)
Line 3: Line 3:
  
 
==Hardware of NB-IoT and Environment set up==
 
==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:
  
 
==lab code==
 
==lab code==
 
==lab proc==
 
==lab proc==

Revision as of 23:27, 10 May 2018

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:

lab code

lab proc