|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
MQTT streaming processor for the payload data of a PUBLISH message. More...
Classes | |
| struct | MqttPayloadParserState |
Macros | |
| #define | MQTT_PAYLOAD_PARSER_START -1 |
| #define | MQTT_PAYLOAD_PARSER_END -2 |
| #define | MQTT_PAYLOAD_LENGTH 1024 |
Typedefs | |
| typedef Delegate< int(MqttPayloadParserState &state, mqtt_message_t *message, const char *buffer, int length)> | MqttPayloadParser |
Functions | |
| int | defaultPayloadParser (MqttPayloadParserState &state, mqtt_message_t *message, const char *buffer, int length) |
MQTT streaming processor for the payload data of a PUBLISH message.
| typedef Delegate<int(MqttPayloadParserState& state, mqtt_message_t* message, const char* buffer, int length)> MqttPayloadParser |
A payload parser must return 0 on success