UWB-Tracking
Loading...
Searching...
No Matches
Functions
mqtt-client.cpp File Reference
#include "mqtt-client.h"

Functions

void subscribe_callback (char *topic, byte *payload, unsigned int length)
 Callback function for MQTT subscriptions, called when a message arrives. simply prints the message to the terminal. More...
 

Function Documentation

◆ subscribe_callback()

void subscribe_callback ( char *  topic,
byte *  payload,
unsigned int  length 
)

Callback function for MQTT subscriptions, called when a message arrives. simply prints the message to the terminal.

Parameters
topicThe topic where the message is received.
payloadPointer to the first byte of the payload.
lengthThe length of the message.