Recent research sim7020, NB-IOT IOT narrow broadband module, access to onenet Chinese mobile cloud platform, since their own way, quite a few detours, in this record, I hope to be useful, as Jesse I do, access onenet not a dream.
First exposure to the cloud platform, the legend of the things, in fact, cloud-based platform, the smart home remote monitoring and control will become endless possibilities
First, let's start introduce specific methods
A registered cloud platform
Official Website: https://open.iot.10086.cn/
Accordance with normal procedures, cellphone, registered account, rest assured that this is China Mobile, the registration register, do not worry cellphone
After successful registration, the open road Onenet platform.
New Products
Accordance with normal procedures, this new class of products
After the new good, you will be prompted to create a new product, some of which you can see on the official website directly for documentation, where you can introduce how specific process, if you do not understand, this is very simple, not described in detail here.
The most important is the new device, because the device is your direct connection to the access device.
New Device
This need to fill in your real information,
Using AT commands
AT+CGSN
AT+CIMI
According to fill in here, basically the
Access tests
Here, you can do the test, first of all AT commands, whether it can access test module, the following instructions if you can get ip board and sim card with the conditions of Internet access
Instructions that, to enable access
AT+MIPLVER? AT+MIPLBOOTSTRAPPARA=0,1 //得到版本后确定 这个命令是2.1.1版本 AT+MIPLCREATEEXT="183.230.40.40" AT+MIPLADDOBJ=0,3303,2,11,7,3 //添加属性 AT+MIPLOPEN=0,180 //注册 成功后返回msgid AT+MIPLOBSERVERSP=0,msgid,1 //成功后返回observerid AT+MIPLOBSERVERSP=0,observerid,1 //成功后返回discoverid AT+MIPLDISCOVERRSP=0,discoverid,1,34,"5700;5701;5601;5602;5603;5604;5605" AT+MIPLNOTIFY=0,msgid,3303,0,5700,4,2,34,0,0 //资源上报
具体的,参考手册很好的说明,这里我给一个手册 https://github.com/ChenChangXiong/NB-IOT.git
很简单 照着里面几个步骤,即可实现接入
关于数据上报,下一节会讲