← Back to team overview

mqtt-users team mailing list archive

Re: Mosquitto on ARM: Python

 

Roger, Andy,
thanks! I'm now using the new Python client found in 0.16 and seems to be working. So there is a problem when I try to install the "old" Python wrapper in my ARM platform, it seems that linking Python / C lib is somehow broken, but if future development will be in this direction of not having a need for C library on clients this is fine now.

In any case dealing with serial lines, string based communication, xml objects etc on this platform is a lot easier with Python!!

S

Roger Light ha scritto:
Hi Stefano,

Trying to use the Python wrapper that comes with Mosquitto 0.15 on a ARM
platform for an important demo...
I'm not sure about your problem, but the Python wrapper will be going
away in 0.16. It will be replaced by a pure Python implementation. You
can give it a try by grabbing it from this link:
https://bitbucket.org/oojah/mosquitto/src/c22d79a842d3/lib/python

It's slightly different to the 0.15 wrapper to match the API changes
in the C library in 0.16. It's not completely finished, but the bits
missing are mostly documentation. It passes my client tests and runs
on both Python 2.7 and Python 3.

Cheers,

Roger


--
  Stefano Costa, R&D Manager
  M +39 335 6565749
  Skype stefanocosta.bluewind
  http://www.bluewind.it/stefanoco?code=13



Follow ups

References