测试步骤:
- 申请账号
- 添加设备
- 用Mqtt.fx连接测试
1. IBM Watson IoT Platform
网址:https://internetofthings.ibmcloud.com
优点:Free, 资源多且规范
要点:IBM开通后默认连接用的是TLS,会导致莫名的 "The operation is not authorized.",有点坑爹,需进去后台管理(/dashboard/security), 把Security Level => TLS Optional
Items | Values | |
环境/设备参数 | Organization ID: xh1iia Device Type: Simulator Device ID: d:xh1iia:Simulator:mqtt-fx-001 Authentication Method: use-token-auth Authentication Token: qp@_cpiIV-jxreMoO! | |
Mqtt连接参数 | Borker Address: xh1iia.messaging.internetofthings.ibmcloud.com Broker Port: 1883 Client ID: d:gh1iia:Simulator:mqtt-fx-001 User name: use-token-auth |
2. CLoudMQTT
网址:https://customer.cloudmqtt.com
优点:
- 有限度Free
- 集成了WebSockeUi 实时调测
Items | Values | |
环境/设备参数 | Server farmer.cloudmqtt.com User xxx Password yyy Port 15957 SSL Port 25957 Websockets Port (TLS only) 35957 Connection limit 5 | |
Mqtt连接参数 | Borker Address: farmer.cloudmqtt.com Broker Port: 15957 Client ID: MQTT_FX_Client001 User name: 莫问前程无悔恨 |