韩国KT软件NB-IOT开发记录V150(2)IOT maker通信相关

1. 测试的AT指令,创建端口和IP地址链接

AT#IMINIT="112.175.172.106",5683,"DIRECT_TLV_LIERDA_01","1234"

开始连接

AT#IMCONN

创建object ID

AT#IMOBJMETA=40000,3,"123"

发送数据

AT#IMSNDOBJ=0,40000,3,"HELLOKT180518A",666,54.222

获取服务器时间

AT#IMSVRTIME?

测试LOG

REBOOT_CAUSE_APPLICATION_AT
Lierda 
OK

[17:40:34.631]IN←◆
[17:40:34.649]IN←◆
AT+MLWEVTIND=0

[17:46:20.300]OUT→◇AT#IMINIT="112.175.172.106",5683,"DIRECT_TLV_LIERDA_01","1234"
□
[17:46:20.369]IN←◆
OK

[17:46:22.597]OUT→◇AT#IMCONN
□
[17:46:23.212]IN←◆
#IMCONN:201

OK

[17:46:26.019]OUT→◇AT#IMOBJMETA=40000,3,"123"
□
[17:46:26.048]IN←◆
OK

[17:46:29.267]OUT→◇AT#IMSNDOBJ=0,40000,3,"HELLOKT180518A",666,54.222
□
[17:46:30.525]IN←◆
#IMSNDOBJ:201
OK

[17:46:35.300]OUT→◇AT#IMSVRTIME?
□
[17:46:35.919]IN←◆
#IMSVRTIME:1531385193,"UTC+09:00","ROK"

OK

 

posted @ 2018-07-12 17:12  429512065  阅读(556)  评论(0编辑  收藏  举报