|
|
|
Re: Single threaded MQTT 'C' client [message #930662 is a reply to message #930558] |
Tue, 02 October 2012 14:19 |
|
(you will find that Ian Craggs the C client author may respond more quickly on the mailing list... we are working on how to integrate communications though!)
OK, so MQTT as implemented by Paho does depend on a TCP stack, and an OS. There is a variant called MQTT-s (MQTT for sensors) which does not need TCP, but Paho doesn't implement that. You could also look at the Arduino MQTT client which is independent of Paho for some ideas that may help.
One technique that is sometimes used in the lightweight model that you are describing is to have a local "concentrator" node running e.g. embedded Linux which can understand your networking protocol (UART, serial, zigbee or other mesh networks are examples) and then aggregate the data packets from sensors. This would then send MQTT messages upstream to a broker and other applications.
Developer Advocate | Eclipse Paho project | mqtt.org | andypiper.me
[Updated on: Tue, 02 October 2012 14:22] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03581 seconds