sl_mqtt_server: D:/Project/SimpleLink/mqtt/doxygen/server/sl_mqtt_server.h File Reference

MQTT Server

D:/Project/SimpleLink/mqtt/doxygen/server/sl_mqtt_server.h File Reference
#include <stdio.h> #include <string.h>
#include <stdbool.h>
#include "simplelink.h"

Go to the source code of this file.

Classes

struct  SlMqttServerCbs_t
struct  SlMqttServerParams_t
struct  SlMqttServerCfg_t

Defines

#define SL_MQTT_SRVR_EVT_PUBACK   0x11
#define SL_MQTT_SRVR_EVT_NOCONN   0x12
#define SL_MQTT_SRVR_NETCONN_IP6   0x01
#define SL_MQTT_SRVR_NETCONN_URL   0x02
#define SL_MQTT_SRVR_NETCONN_SEC   0x04

Functions

_i32 sl_ExtLib_MqttServerInit (_const SlMqttServerCfg_t *cfg, _const SlMqttServerCbs_t *cbs)
_i32 sl_ExtLib_MqttTopicEnroll (_const char *topic)
_i32 sl_ExtLib_MqttTopicDisenroll (_const char *topic)
_i32 sl_ExtLib_MqttServerSend (_const char *topic, _const void *data, _i32 len, _u8 qos, bool retain, _u32 flags)

Define Documentation

#define SL_MQTT_SRVR_NETCONN_IP6   0x01

Assert for IPv6 connection, otherwise IPv4

#define SL_MQTT_SRVR_NETCONN_SEC   0x04

Connection to server must be secure (TLS)

#define SL_MQTT_SRVR_NETCONN_URL   0x02

Server address is an URL and not IP address

Generated on Thu Jan 15 2015 18:28:55 for sl_mqtt_server by   doxygen 1.8.0