Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Demonstration of some MQTT code
C Python
branch: master

Use proper ctypes conversion.

This conversion itself will become unnecessary in a future version of mosquitto
latest commit 24122e70fe
@karlp authored


Demo code snippets related to MQTT

msg_signing - C message publisher, signing messages with openssl
            - python message consumer, verifying signatures
msg_encrypting - C message publisher, encrypts payload with public key,
                 then signs with shared secret key (HMAC)
               - python message consumer, verifies signatures, and if valid,
                 decrypts using private key

Something went wrong with that request. Please try again.