Telecom NB-IOT IoT card and Alibaba Cloud IoT platform, the secrets I have to say!

Customer feedback:
AM20E is connected to Alibaba Cloud via MQTT, and there are problems at present. The authentication is successful, the parameter setting is also successful, and the connection to the server is also successful. Then the data is sent to the Alibaba Cloud IoT platform, but the data is not refreshed. , Alibaba Cloud reported that the heartbeat timed out, so the attribute could not be reported successfully.
After various tests, I found that it is
basically certain that every time the module connects to the Alibaba Cloud server, it will be disconnected within less than 1s, mobile cards will not, and telecom NB-IOT will basically do.

The problem is basically locked to the problem between the telecom NB-IOT card and Alibaba Cloud, but the real problem has just begun!

Operators
need to submit domain name or IP address, add to the whitelist, 100 yuan/month

Alibaba Cloud
IP address is dynamic. After
submitting the domain name

The operator
system requires the domain name to be a 3-segment domain name, and the port number must be 433 or 80

Alibaba Cloud
Internet of Things platform public domain name is 5-segment, port number is 1883

                                   域名方式注定走不通了

Alibaba Cloud
Buy Alibaba Cloud Enterprise Edition and become a fixed IP

The operator
successfully added the whitelist
after the test, it still doesn’t work

Module manufacturer
Our module is connected to the public version of Alibaba Cloud Internet of Things...Even if it is a fixed IP, we will eventually access the public version...We will release a version that supports Alibaba Cloud Enterprise Edition and supports fixed IP firmware!

to sum up

1. Telecom NB-IOT card restrictions. There will be problems when accessing the Alibaba Cloud Internet of Things public platform through two methods: domain name and IP address.
2. Without access to the whitelist, communication will be unstable.
3. If you want to use Alibaba. For cloud, telecommunications NB-IOT card is also required, ①Alibaba Cloud Enterprise Edition ②Added to the whitelist ③Module supports Enterprise Edition protocol

Insert picture description here

Guess you like

Origin blog.csdn.net/AmazIOT/article/details/108241354