Go to the source code of this file.
Macros | |
#define | ADDRESS "tcp://mqtt.eclipse.org:1883" |
#define | CLIENTID "ExampleClientSub" |
#define | PAYLOAD "Hello World!" |
#define | QOS 1 |
#define | TIMEOUT 10000L |
#define | TOPIC "MQTT Examples" |
Functions | |
void | connlost (void *context, char *cause) |
void | delivered (void *context, MQTTClient_deliveryToken dt) |
int | main (int argc, char *argv[]) |
int | msgarrvd (void *context, char *topicName, int topicLen, MQTTClient_message *message) |
Variables | |
volatile MQTTClient_deliveryToken | deliveredtoken |
#define ADDRESS "tcp://mqtt.eclipse.org:1883" |
Definition at line 22 of file MQTTClient_subscribe.c.
#define CLIENTID "ExampleClientSub" |
Definition at line 23 of file MQTTClient_subscribe.c.
#define PAYLOAD "Hello World!" |
Definition at line 25 of file MQTTClient_subscribe.c.
#define QOS 1 |
Definition at line 26 of file MQTTClient_subscribe.c.
#define TIMEOUT 10000L |
Definition at line 27 of file MQTTClient_subscribe.c.
#define TOPIC "MQTT Examples" |
Definition at line 24 of file MQTTClient_subscribe.c.
void connlost | ( | void * | context, |
char * | cause | ||
) |
Definition at line 47 of file MQTTClient_subscribe.c.
void delivered | ( | void * | context, |
MQTTClient_deliveryToken | dt | ||
) |
Definition at line 31 of file MQTTClient_subscribe.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 53 of file MQTTClient_subscribe.c.
int msgarrvd | ( | void * | context, |
char * | topicName, | ||
int | topicLen, | ||
MQTTClient_message * | message | ||
) |
Definition at line 37 of file MQTTClient_subscribe.c.
volatile MQTTClient_deliveryToken deliveredtoken |
Definition at line 29 of file MQTTClient_subscribe.c.