This article is a mirror article of machine translation, please click here to jump to the original article.

View: 30874|Reply: 9

How to use the Huawei NB-IoT debugging tool

[Copy link]
Posted on 9/26/2017 3:54:50 PM | | |
Huawei's NBIOT, I tested it on the IoT platform in Shanghai.


.net/c# The Huawei IoT Connection Management Platform northbound interface tool
http://www.itsvse.com/thread-3639-1-1.html
(Source: Architect)

First, get the accessTokenIn addition to the authentication interface (Auth), other interface calls need to carry the parameter app_key and Authorization:Bearer {accessToken} in the request header. app_key is the appId in the parameter, and the value of {accessToken} in Authorization is the accessToken obtained by calling the Auth interface.

Interface address: https://112.93.129.154:8743/iocm/app/sec/v1.1.0/login




2: Subscribe to platform datato receive some push messages pushed by the platform

Interface address: https://112.93.129.154:8743/iocm/app/sub/v1.2.0/subscribe

Notification types, such as:
1. deviceAdded (add a new device)
2. deviceInfoChanged
3. deviceDataChanged
4. deviceDeleted
5. deviceEvent
6. messageConfirm
7. commandRsp (response command)
8. serviceInfoChanged (device information)
9. ruleEvent
10. bindDevice (device binding activation)
11. deviceDatasChanged




Three: Register the device, the application adds the device, obtains the verification code of the device, and carries the verification code when the device accesses the southbound interface to obtain the unique identification and password of the device.

Interface address: https://112.93.129.154:8743/iocm/app/reg/v1.2.0/devices



4: Modify the equipment information, the interface to modify device information, which is currently used to rename the device and reserve the ability to modify the device information.(This should correspond to the profile file)

Interface address: https://112.93.129.154:8743/iocm/app/dm/v1.2.0/devices/{deviceId}?appId={appId}



Five: Create device commandsto send a message or command to the device.

Interface address: https://112.93.129.154:8743/iocm/app/cmd/v1.4.0/deviceCommands?appId={appid}




Finally, attach a screenshot of the push message I received from my subscription platform data








Previous:Windows system one-click restore backup tool
Next:{:1_3:} {:1_3:} Happy day
Posted on 9/27/2017 6:17:07 AM |
Thank you for sharing
Posted on 10/9/2017 11:42:58 AM |
Posted on 3/8/2018 5:23:03 PM |
Urgent need for source code, a lot of support
Posted on 3/8/2018 9:03:34 PM |
Good thing, thank you for sharing
Posted on 3/13/2018 3:18:36 PM |
I can only see the device ID on the Huawei platform, how to fill in the others?
Posted on 7/17/2019 1:28:27 PM |
Thank you for sharing, learning...
Posted on 7/26/2019 11:54:34 AM |
Where is the source code? Thank you, landlord
Posted on 9/18/2019 10:01:43 AM |
God, why do I keep saying that the underlying connection is closed when I go to request authentication: an error occurred when sending. I confirm that the certificate path and password are correct
Posted on 12/17/2020 3:44:37 PM |
What is the content in the URL, I can't connect, can you give an example?
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com