|[paho-dev] Anyway to get the detail connection error from paho-mqtt-client0.40
Sorry to boring you.
For paho-mqtt-client0.4, is there any way to get the detail connection error while doing a mqtt connection like mqttclient.connec()?
Sometimes I need to know if the connection was rejected either y server cause of the incorrect username or password or by the unstable network connection.
BTW, I also wanna if “connecionlost” API can provide the detail lost reason, like “clientid login in other place, connection closed” or something else.
Back to the top