This commit is contained in:
parent
07b7bdf16d
commit
5e04b035ed
|
@ -1,4 +1,5 @@
|
||||||
# MQTT认证说明
|
### 认证说明
|
||||||
|
|
||||||
CONNECT报文:
|
CONNECT报文:
|
||||||
```text
|
```text
|
||||||
clientId: 设备ID
|
clientId: 设备ID
|
||||||
|
@ -7,5 +8,5 @@ password: md5(secureId+"|"+timestamp+"|"+secureKey)
|
||||||
```
|
```
|
||||||
|
|
||||||
说明: secureId以及secureKey在创建设备产品或设备实例时进行配置.
|
说明: secureId以及secureKey在创建设备产品或设备实例时进行配置.
|
||||||
timestamp为当前系统时间戳(毫秒),与系统时间不能相差5分钟.
|
timestamp为当前时间戳(毫秒),与服务器时间不能相差5分钟.
|
||||||
md5为32位,不区分大小写.
|
md5为32位,不区分大小写.
|
Loading…
Reference in New Issue