通过开源MQTT Client SDK接入
更新时间:2022-09-28
物联网核心套件(IoT Core)提供 MQTT 3.1.1 协议兼容,因此可使用与 Paho(知名的开源 MQTT Client SDK)兼容,如果开发者需要开发MQTT客户端,可到Paho官方网站下载SDK并获取帮助文档,详情如下:
Client | MQTT 3.1 | MQTT 3.1.1 | LWT | SSL/TLS | Automatic Reconnect | Offline Buffering | Message Persistence | WebSocket Support | Standard MQTT Support | Blocking API | Non-Blocking API | High Availability |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |
Python | √ | √ | √ | √ | √ | √ | ╳ | √ | √ | √ | √ | ╳ |
JavaScript | √ | √ | √ | √ | √ | √ | √ | √ | ╳ | ╳ | √ | √ |
GoLang | √ | √ | √ | √ | √ | √ | √ | √ | √ | ╳ | √ | √ |
C | √ | √ | √ | √ | √ | √ | √ | ╳ | √ | √ | √ | √ |
.Net (C#) | √ | √ | √ | √ | ╳ | ╳ | ╳ | ╳ | √ | ╳ | √ | ╳ |
Android Service | √ | √ | √ | √ | √ | √ | √ | √ | √ | ╳ | √ | √ |
Embedded C/C++ | √ | √ | √ | √ | ╳ | ╳ | ╳ | ╳ | √ | √ | √ | ╳ |