← Back to team overview

mqtt-users team mailing list archive

mosquitto and arduino

 

Hi,

Oliver pinged me last week about this, but I was away on holiday so missed it.

I have just tried it and I can confirm the arduino client is unable to
connect to mosquitto.

The mosquitto log shows:
   New client connected from 172.16.0.57.
   Socket read error on client arduino, disconnecting.


With the current version of the ethernet library, each byte of a
message is sent as a separate TCP packet. This is obviously quite
inefficient and there was some discussion about improving the outbound
buffering of the library. I have not checked recently to see where
that has got to.

This could be a potential difference in behaviour at the socket level
to other clients that mosquitto isn't handling.


Cheers,
Nick

http://knolleary.net



Follow ups