问题描述:
按照官方文档的mqtt连接方式,c = MQTTClient(b"uclientt", b"ciproxy.imoyao.com", 32369, b'niuheshe', b'niuheshe123456', 60), 在QPYcom中运行测试文件,显示报错INFO:Log:==================================================
INFO:Log:*_NAME : QuecPython_MQTT_example
INFO:Log:*_VERSION : 1.0.0
INFO:Log:FIRMWARE_VERSION : EC600SCNAAR01A02M16_OCPU_PY
INFO:Log:POWERON_REASON : 0
INFO:Log:SIM_CARD_STATUS : 1
INFO:Log:==================================================
INFO:Log:Network connection successful.
Traceback (most recent call last):
File "/usr/mqt2.py", line 26, in
File "umqtt.py", line 296, in connect
File "umqtt.py", line 69, in connect
OSError: 103
我们的mqtt*端配置:
host:39.98.73.137
port:32369
username: niuheshe
password: niuheshe123456
设备订阅(服务端发送): user/get/ZHRG1Chn3QE/niuheshe/*
设备发送(服务端订阅): user/push/ZHRG1Chn3QE/niuheshe/*
|