This section look OneNet
Remember one sentence: we are with MQTT, and then how to get it so that several parameters, ClientID, IP address, port number, user name, password, theme subscriptions to the publication
Things kit MQTT
Add Products
The above was written MQTTS actually increased by SSL
In fact, when we install their own MQTT also need SSL, my article will introduce security
https://www.cnblogs.com/yangfengwu/p/10947410.html (now this article is the old version, the future will refresh)
If it is a two-way SSL authentication, we back it with Android test the connection Ha
If it is a one-way SSL authentication we still use equipment testing, certification is not required because one way to burn files directly certification can be ignored
Add Device
Click Details
See here ...
It appears to be about the same and the original Ali cloud operating with these parameters are combined into MQTT
ClientID, IP address, port number, user name, password
Look for the document to see how the combination
IP addresses
A little uneasy ....... no sense of how the domain name it ... so do not worry if the IP hung up ......
IP Address: 183.230.40.16
The port number
I feel he is also installed on the server emqtt
Remember we are not installed
Port number: 8883
ClientID
Mine is
So ClientID: TestDevice
Etc. Ha, I see, feel this will go wrong ha .... MQTT ClientID specified server must be different for each device
From the above it is seen, with a MQTT server connection ..... if I and others of the same ClientID, would not be kicked MQTT server ...
username
Mine is
So Username: 568,313,146
password