当前位置:网站首页>Nbiot module me3616 at command mqtt connecting thingsboard
Nbiot module me3616 at command mqtt connecting thingsboard
2022-06-12 05:10:00 【Cocoa core】
One 、 technological process
Device reset
AT+ZRST OKInquire about CSQ
AT+CSQ +CSQ: 5,0 OKQuery registration
AT+CEREG? +CEREG: 0,1 OKAfter the device is reset , Insert SIM Card and whether to get it IP, Yes, they have taken the initiative to report , So just reset the device , And wait for judgment
+IPthat will dolink MQTT The server
AT+EMQNEW="xxx.xxx.xxx.xxx","1883",12000,1024// link MQTT ,AT The command waiting time is 12 second A buffer for 1024 byte +EMQNEW: 0 OKInitiate link request
AT+EMQCON=0,4,"ac3fec30-740d-11ec-bd2e-27176d3ae09b",60000,1,0,"rCeBhUPApA3dbO8CaDJ8","123" // You have to use MQTT4 agreement ID It's the equipment ID, Put the authentication code into the user name , Take your password with you OKRelease data Note that the data is Ascii HEX, Length only Ascii The length of
Here pay attention to QoS 1 better ,QoS 0 I don't know whether it was sent successfully , Sometimes the network has problems , This module still returns OK OfAT+EMQPUB=0,"v1/devices/me/telemetry",1,0,0,16,"7B224843484F223A302E30303130357D"// Note that 16 Hexadecimal data Here we use QoS 1
边栏推荐
- Variables and data types
- How to generate provincial data from county-level data in ArcGIS?
- When the build When gradle does not load the dependencies, and you need to add a download path in libraries, the path in gradle is not a direct downloadable path
- Gao Xiang slam14 notes on three Lie groups and Lie algebra
- Summary of problems in rv1109/rv1126 product development
- 1006 next spread
- [C language] realize string interception function
- Realease package appears – missing type parameter
- Surface net radiation flux data, solar radiation data, rainfall data, air temperature data, sunshine duration, water vapor pressure distribution, wind speed and direction data, surface temperature
- Main business objects of pupanvr record (5)
猜你喜欢

2022 low voltage electrician test questions and simulation test

JWT學習與使用

One dragon and one knight accompanying programmers are 36 years old

Memory protection

2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units

A complete set of installation procedures (for learning and communication only)
![[backtracking based on bit operation] queen n problem 2](/img/d3/25b2ba7c49ce0a9c1de26bc5c9497b.jpg)
[backtracking based on bit operation] queen n problem 2

National land use data of 30m precision secondary classification

Some problems of silly girl solved

New year news of osdu open underground data space Forum
随机推荐
Three. JS import model demo analysis (with notes)
2022 "college entrance examination memory" has been packaged, please check!
February 19, 2022 [Nolan] Nolan resurrected? Change · Nolan [soul orchid] can be connected to XDD / silly girl
Difference between thread and task
Microsoft announces that it will discontinue support for older versions of visual studio
Data processing and data set preparation
New year news of osdu open underground data space Forum
Why is Julia so popular?
Classes and objects, methods and encapsulation
[GIS tutorial] land use transfer matrix
Ubunt 20.04 uses CDROM or ISO as the installation source
one billion one hundred and eleven million one hundred and eleven thousand one hundred and eleven
Gao Xiang slam14 notes on three Lie groups and Lie algebra
JS set the position of the current scroll bar
Some optimization methods for UI Application of Qt5 on Hisilicon security platform
cellular automaton
How to generate provincial data from county-level data in ArcGIS?
JS to determine whether it is the first time to browse the web page
MySQL5.7.21 Build For ARM
Advanced MySQL knowledge points (7)