|
MQTT-C
|
The response to a subscription request. More...
#include <mqtt.h>
Data Fields | |
| uint16_t | packet_id |
| The published messages packet ID. | |
| const uint8_t * | return_codes |
| size_t | num_return_codes |
Related Functions | |
(Note that these are not member functions.) | |
| ssize_t | mqtt_unpack_suback_response (struct mqtt_response *mqtt_response, const uint8_t *buf) |
Deserialize a SUBACK packet from buf. More... | |
The response to a subscription request.
|
related |
Deserialize a SUBACK packet from buf.
MQTT_CONTROL_SUBACK.| [out] | mqtt_response | the response that is initialized from the contents of buf. |
| [in] | buf | the buffer with the incoming data. |
| size_t mqtt_response_suback::num_return_codes |
The number of return codes.
| const uint8_t* mqtt_response_suback::return_codes |
Array of return codes corresponding to the requested subscribe topics.
1.8.13