Macros | Functions | Variables
test_package.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MQTTClient.h"
Include dependency graph for test_package.c:

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
 

Macro Definition Documentation

#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.

Function Documentation

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.

Variable Documentation

volatile MQTTClient_deliveryToken deliveredtoken

Definition at line 13 of file test_package.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49