Network Services API
2.75.00.17
|
#include <string.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | _MQTTServer_SubscribeParams_ |
struct | _MQTTServer_UnSubscribeParams_ |
struct | _MQTTServer_LocalAuthenticationData_ |
struct | _MQTTServer_ConnectMetaDataCB_ |
struct | _MQTTServer_RecvMetaDataCB_ |
struct | _MQTTServer_DisconnectMetaDataCB_ |
struct | _MQTTServer_ConnParams_ |
struct | MQTTServer_Params |
Typedefs | |
typedef void(* | MQTTServer_CallBack) (int32_t event, void *metaData, uint32_t metaDateLen, void *data, uint32_t dataLen) |
typedef void * | MQTTServer_Handle |
typedef struct _MQTTServer_SubscribeParams_ | MQTTServer_SubscribeParams |
typedef struct _MQTTServer_UnSubscribeParams_ | MQTTServer_UnSubscribeParams |
typedef struct _MQTTServer_LocalAuthenticationData_ | MQTTServer_LocalAuthenticationData |
typedef struct _MQTTServer_ConnectMetaDataCB_ | MQTTServer_ConnectMetaDataCB |
typedef struct _MQTTServer_RecvMetaDataCB_ | MQTTServer_RecvMetaDataCB |
typedef struct _MQTTServer_DisconnectMetaDataCB_ | MQTTServer_DisconnectMetaDataCB |
typedef struct _MQTTServer_ConnParams_ | MQTTServer_ConnParams |
Enumerations | |
enum | MQTTServer_Option { MQTTServer_USER_NAME = 0, MQTTServer_PASSWORD = 1 } |
enum | MQTTServer_EventCB { MQTTServer_RECV_CB_EVENT = 0, MQTTServer_CONNECT_CB_EVENT = 1, MQTTServer_DISCONNECT_CB_EVENT = 2 } |
Functions | |
int16_t | MQTTServer_delete (MQTTServer_Handle handle) |
MQTTServer_Handle | MQTTServer_create (MQTTServer_CallBack defaultCallback, MQTTServer_Params *attrib) |
int16_t | MQTTServer_run (MQTTServer_Handle handle) |
int16_t | MQTTServer_subscribe (MQTTServer_Handle handle, MQTTServer_SubscribeParams *value, uint8_t numberOfTopics) |
int16_t | MQTTServer_unsubscribe (MQTTServer_Handle handle, MQTTServer_UnSubscribeParams *value, uint8_t numberOfTopics) |
int16_t | MQTTServer_publish (MQTTServer_Handle handle, char *topic, uint16_t topicLen, char *msg, uint16_t msgLen, uint32_t flags) |
int16_t | MQTTServer_set (MQTTServer_Handle handle, uint16_t option, void *value, uint16_t valueLength) |