...which is a good summary to the point for M2M communication protocols and also refers to the heart of current problems on our embedded platforms: TCP sockets seem to not be fully implemented as we know them on Posix environments with full-fledged networking stacks.Lysenko wrote:Your MQTT problems were nothing to do with your skill level IMO, they were to do with running a connection based SCADA protocol on top of an incompletely implemented socket stack. There is nothing you could have done besides fully implement setsockopt (in C) or use a connectionless protocol like CoAP (in Python). Personally I think that the latter is a better tool for sensor nets anyway.
I am no expert on CoAP but have used MQTT in several production environments (none of which are MicroPython). Would not MQTT-SN fit better in the embedded world, because it is not UDP/IP based as CoAP? MQTT-SN even has suggestions for transport on ZigBee networks, sending it over Pythoncoders's NRF24L driver would also sound possible from my naive point of view.