#include <include/net/mqtt_helper.h>
Handler invoked for events that are received from the MQTT stack. This callback handler can be used to filter incoming MQTT events before they are processed by the MQTT helper library.
- Parameters
-
client | Pointer to the MQTT client instance. |
event | Pointer to the MQTT event. |
- Return values
-
0 | if the event is handled by the caller. No further processing of the MQTT event will be carried out by the MQTT helper library. |
1 | if the MQTT helper library should continue to process the event after the handler returns. |