MQTT C Client API Reference
MQTT C Client API Reference
MQTTClient_create
Creates a new MQTT client object. This client is used to connect to a broker and perform publish/subscribe
operations.
Signature:
int MQTTClient_create(MQTTClient *handle, const char *serverURI, const char *clientId, int
MQTTClient_connect
Connects the client to an MQTT broker using the given connection options.
Signature:
MQTTClient_connectOptions_initializer
Usage:
MQTTClient_publishMessage
Signature:
MQTTClient_message_initializer
Eclipse Paho MQTT C Client APIs
Usage:
MQTTClient_waitForCompletion
Signature:
timeout);
MQTTClient_disconnect
Signature:
MQTTClient_destroy
Signature:
MQTTClient_subscribe
Signature:
MQTTClient_setCallbacks
Registers callback functions to handle connection lost, message arrived, and delivery complete events.
Signature:
MQTTClient_freeMessage
Signature:
MQTTClient_free
Signature: