Paho-C MQTT Client API

A fully-featured MQTT client written in ANSI standard C.

Paho-C MQTT Client API Logo

MQTT is a lightweight publish-subscribe protocol for use on top of the TCP/IP protocol. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium. For example, it has been used in sensors communicating to a broker via satellite link, over occasional dial-up connections with healthcare providers, and in a range of home automation and small device scenarios. It is also ideal for mobile applications because of its small size, low power usage, minimized data packets, and efficient distribution of information to one or many receivers.

The MQTT publish-subscribe messaging pattern requires a message broker which is responsible for distributing messages to interested clients based on the topic of a message. A comprehensive list of currently available MQTT brokers and the features they support can be found here.

There are synchronous and asynchronous variants of the API. The synchronous API is generally simpler to use from a programming, with I/O-related calls blocking until the operation in question has completed. In contrast, no calls ever block in the asynchronous API, with notifications of call results or completion being provided asynchronously via callbacks. The choice of API (synchronous or asynchronous) depends on the requirements of the application in question. From an OpenVMS perspective, it should be noted that asynchronous behavior is achieved through the use of POSIX threads as opposed to ASTs.

This OpenVMS port of the Paho-C MQTT API includes all functionality provided by the open-source release, including SSL/TLS support.

Software Requirements

Latest Version

Alpha Integrity X86
V1.3-10 V1.3-10 V1.3-0B

Download

AXPVMS-PAHO_C-V0103-10-1-RNOTES.PDF

AXPVMS-PAHO_C-V0103-10-1.ZIP

I64VMS-PAHO_C-V0103-10-1-RNOTES.PDF

I64VMS-PAHO_C-V0103-10-1.ZIP

VSI-X86VMS-PAHO_C-V0103-0B-1.ZIP

X86VMS-PAHO_C-V0103-10-1-RNOTES.PDF

X86VMS-PAHO_C-V0103-10-1.ZIP

Licensing

Eclipse Public License

Documentation