jiejieTop / mqttclient

A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
Apache License 2.0
703 stars 256 forks source link

mqtt broker切换 #66

Open liuxiaoluo opened 2 years ago

liuxiaoluo commented 2 years ago

mqtt+RT-Thread SAL 嵌套字+sim7600进行demo尝试。 刚开始mqtt_connet就没有成功,所以重新配置客户端的host和port使客户端使用新的broker进程连接,但是 重新连接时仍旧失败,提示如下: [E/at.clnt] execute command (AT+CIPCLOSE=0) failed! [E/at.clnt] execute command (AT+CIPOPEN=0,"TCP","xxx.xxx.xxx.xxx",xxxx) failed! [E/at.clnt] execute command (AT+CIPCLOSE=0) failed! [E/at.clnt] execute command (AT+CIPCLOSE=0) failed!