mqtt disconnect 19
在运行过程中,接收到
on_disconnect callback rc = 19
on_connect callback rc = 0
mqtt disconnect rc = 19
网上没有查到相关的错误说明。
官方api
rc integer value indicating the reason for the disconnect. A value of 0 means the client has called mosquitto_disconnect. Any other value indicates that the disconnect is unexpected.
只说非0表示异常断开。
怀疑是网络异常断开导致,自动能重连恢复。
本文链接地址:https://const.net.cn/214.html