SELKIELogger
1.0.0
|
Test MQTT broker connection and subscriptions. More...
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <time.h>
#include <unistd.h>
#include <version.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerMQTT.h"
Go to the source code of this file.
Functions | |
void | signalShutdown (int signnum) |
Set safe shutdown flag. More... | |
int | main (int argc, char *argv[]) |
Variables | |
bool | shutdown = false |
Set true to start clean shutdown. | |
Test MQTT broker connection and subscriptions.
Definition in file MQTTTest.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Connects to MQTT broker, subscribing to topics given on the command line.
Topics will be printed to stdout when received, optionally dumping messages not matching subscription topics (i.e. messages matching wildcards)
[in] | argc | Argument count |
[in] | argv | Arguments |
Definition at line 56 of file MQTTTest.c.