#include "MQTTClient.h"
#include "MQTTClientPersistence.h"
#include "pubsub_opts.h"
#include <stdio.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <sys/time.h>
Go to the source code of this file.
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
int messageArrived |
( |
void * |
context, |
|
|
char * |
topicName, |
|
|
int |
topicLen, |
|
|
MQTTClient_message * |
m |
|
) |
| |
Initial value:=
{
1, 0, 0, 0, "\n", 100,
NULL, NULL, 1, 0, 0,
MQTTVERSION_DEFAULT, NULL,
"paho-cs-pub", 0, 0, NULL, NULL,
"localhost",
"1883", NULL, 10,
NULL, NULL, 0, 0,
0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
0, {NULL, NULL},
}
#define MQTTVERSION_DEFAULT
Definition at line 43 of file paho_cs_pub.c.