先看下ONENET平台的数据传输流程图
按着流程来发送数据即可
板子的状态测试
17:32:51.998 AT
17:32:52.005 AT
OK
17:42:35.951 ATI
17:42:35.967 ATI
Quectel_Ltd
Quectel_BC20
Revision: BC20NAR01A09
OK
17:46:14.713 AT+CSQ
17:46:14.728 AT+CSQ
+CSQ: 99,99
OK
官方例程
AT+MIPLCONFIG=0,1,1,"183.230.40.39",5683 //Enable the bootstrap mode and configure the bootstrap
server IP and port number.
OK
AT+MIPLCREATE
+MIPLCREATE: 0 //Created the communication suite instance successfully.
OK
AT+MIPLADDOBJ=0,3311,1,"1",4,2 //Add a LwM2M object.
OK //Added the object successfully. And the instance ID 0 will
be registered.
AT+MIPLOPEN=0,86400 //Send a register request to the OneNET platform.
OK
+MIPLEVENT: 0,1 //Start to connect to the bootstrap server.
+MIPLEVENT: 0,2 //Connected to the bootstrap server successful