Comment 2 for bug 528663

Revision history for this message
Oliver Smith (oliversmith) wrote :

Right, there is slightly more to this than I've let on....

In its raw state the stated arduino client will connect to RSMB and work correctly, and will connect to mosquitto but instantly error on connection with the following debuge messages:

New client connected from 10.1.1.67.
Received CONNECT from 10.1.1.67 as arduino
Sending CONNACK to arduino (0)
Socket read error on client arduino, disconnecting.

if line 54 of PubSubClient.cpp "_client.stop();" is commented out the client will connect to mosquitto fine and is able to publish messages but the error above still occurs.