|
CommsChampion Ecosystem MQTT v3.1.1 Client
MQTT v3.1.1 Client Library.
|
Common definition for MQTT-SN clients. More...
#include <stdbool.h>Go to the source code of this file.
Classes | |
| struct | CC_Mqtt311ConnectConfig |
| Configuration structure to be passed to the cc_mqtt311_client_connect_config(). More... | |
| struct | CC_Mqtt311ConnectResponse |
| Response information from broker to "connect" request. More... | |
| struct | CC_Mqtt311ConnectWillConfig |
| Configuration structure to be passed to the cc_mqtt311_client_connect_config_will(). More... | |
| struct | CC_Mqtt311MessageInfo |
| Received message information. More... | |
| struct | CC_Mqtt311PublishConfig |
| Configuration structure to be passed to the cc_mqtt311_client_publish_config(). More... | |
| struct | CC_Mqtt311SubscribeResponse |
| Response information from broker to "subscribe" request. More... | |
| struct | CC_Mqtt311SubscribeTopicConfig |
| Topic filter configuration structure of the "subscribe" operation. More... | |
| struct | CC_Mqtt311UnsubscribeTopicConfig |
| Topic filter configuration structure of the "unsubscribe" operation. More... | |
Macros | |
| #define | CC_MQTT311_CLIENT_MAJOR_VERSION 1U |
| Major verion of the library. | |
| #define | CC_MQTT311_CLIENT_MAKE_VERSION(major_, minor_, patch_) |
| Macro to create numeric version as single unsigned number. | |
| #define | CC_MQTT311_CLIENT_MINOR_VERSION 0U |
| Minor verion of the library. | |
| #define | CC_MQTT311_CLIENT_PATCH_VERSION 6U |
| Patch level of the library. | |
| #define | CC_MQTT311_CLIENT_VERSION CC_MQTT311_CLIENT_MAKE_VERSION(CC_MQTT311_CLIENT_MAJOR_VERSION, CC_MQTT311_CLIENT_MINOR_VERSION, CC_MQTT311_CLIENT_PATCH_VERSION) |
| Version of the library as single numeric value. | |
Typedefs | |
| typedef void(* | CC_Mqtt311BrokerDisconnectReportCb) (void *data, CC_Mqtt311BrokerDisconnectReason reason) |
| Callback used to report unsolicited disconnection of the broker. | |
| typedef unsigned(* | CC_Mqtt311CancelNextTickWaitCb) (void *data) |
| Callback used to request termination of existing time measurement. | |
| typedef struct CC_Mqtt311Client * | CC_Mqtt311ClientHandle |
| Handle used to access client specific data structures. | |
| typedef void(* | CC_Mqtt311ConnectCompleteCb) (void *data, CC_Mqtt311AsyncOpStatus status, const CC_Mqtt311ConnectResponse *response) |
| Callback used to report completion of the "connect" operation. | |
| typedef struct CC_Mqtt311Connect * | CC_Mqtt311ConnectHandle |
| Handle for "connect" operation. | |
| typedef struct CC_Mqtt311Disconnect * | CC_Mqtt311DisconnectHandle |
| Handle for "disconnect" operation. | |
| typedef void(* | CC_Mqtt311ErrorLogCb) (void *data, const char *msg) |
| Callback used to report discovered errors. | |
| typedef void(* | CC_Mqtt311MessageReceivedReportCb) (void *data, const CC_Mqtt311MessageInfo *info) |
| Callback used to report new message received of the broker. | |
| typedef void(* | CC_Mqtt311NextTickProgramCb) (void *data, unsigned duration) |
| Callback used to request time measurement. | |
| typedef void(* | CC_Mqtt311PublishCompleteCb) (void *data, CC_Mqtt311PublishHandle handle, CC_Mqtt311AsyncOpStatus status) |
| Callback used to report completion of the "publish" operation. | |
| typedef struct CC_Mqtt311Publish * | CC_Mqtt311PublishHandle |
| Handle for "publish" operation. | |
| typedef void(* | CC_Mqtt311SendOutputDataCb) (void *data, const unsigned char *buf, unsigned bufLen) |
| Callback used to request to send data to the broker. | |
| typedef void(* | CC_Mqtt311SubscribeCompleteCb) (void *data, CC_Mqtt311SubscribeHandle handle, CC_Mqtt311AsyncOpStatus status, const CC_Mqtt311SubscribeResponse *response) |
| Callback used to report completion of the "subscribe" operation. | |
| typedef struct CC_Mqtt311Subscribe * | CC_Mqtt311SubscribeHandle |
| Handle for "subscribe" operation. | |
| typedef void(* | CC_Mqtt311UnsubscribeCompleteCb) (void *data, CC_Mqtt311UnsubscribeHandle handle, CC_Mqtt311AsyncOpStatus status) |
| Callback used to report completion of the "unsubscribe" operation. | |
| typedef struct CC_Mqtt311Unsubscribe * | CC_Mqtt311UnsubscribeHandle |
| Handle for "unsubscribe" operation. | |
Common definition for MQTT-SN clients.