Go to the source code of this file.
Macros | |
#define | ADDRESS "tcp://localhost: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://localhost:1883" |
Definition at line 6 of file test_package.c.
#define CLIENTID "ExampleClientSub" |
Definition at line 7 of file test_package.c.
#define PAYLOAD "Hello World!" |
Definition at line 9 of file test_package.c.
#define QOS 1 |
Definition at line 10 of file test_package.c.
#define TIMEOUT 10000L |
Definition at line 11 of file test_package.c.
#define TOPIC "MQTT Examples" |
Definition at line 8 of file test_package.c.
void connlost | ( | void * | context, |
char * | cause | ||
) |
Definition at line 39 of file test_package.c.
void delivered | ( | void * | context, |
MQTTClient_deliveryToken | dt | ||
) |
Definition at line 15 of file test_package.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 45 of file test_package.c.
int msgarrvd | ( | void * | context, |
char * | topicName, | ||
int | topicLen, | ||
MQTTClient_message * | message | ||
) |
Definition at line 21 of file test_package.c.
volatile MQTTClient_deliveryToken deliveredtoken |
Definition at line 13 of file test_package.c.