Yuvraaj Kelkar got in touch to say he’s packaged up mosquitto and the client libraries for Maemo. If you want to use MQTT on your Maemo device then take a look at the details on http://talk.maemo.org/showthread.php?t=69604
Thanks Yuvraaj!
Yuvraaj Kelkar got in touch to say he’s packaged up mosquitto and the client libraries for Maemo. If you want to use MQTT on your Maemo device then take a look at the details on http://talk.maemo.org/showthread.php?t=69604
Thanks Yuvraaj!
I’ve also made some small changes to mosquitto and to the python script:
1. In mosquitto, you a listening socket on every interface you find. If you fail to open any interface, you abort out of the application. I changed this to “continue” and ignore that socket.
This is for the Maemo and Diablo distributions. which can support ipv6 but the stock kernel does not. It shows that there is an ipv6 capable interface but when you go to open a socket, it barfs out saying the protocol is not supported.
Unfortunately this meant that mosquitto could never start on the tablets. Replacing one “break” with a “continue” fixed it for me.
2. The python script relies on c_bool from c_types. From what I read on stackoverflow, c_bool isn’t defined until Python 2.6. The python on the tablets is 2.5.
The hack is to out c_bool = c_int just after importing c_types.