Get the size of an MQTT DISCONNECT packet.
MQTTStatus_t MQTT_GetDisconnectPacketSize(size_t *pPacketSize)
Get the size of an MQTT DISCONNECT packet.
Definition: core_mqtt_serializer.c:2325
MQTTStatus_t
Return codes from MQTT functions.
Definition: core_mqtt_serializer.h:99
- Parameters
-
[out] | pPacketSize | The size of the MQTT DISCONNECT packet. |
- Returns
- MQTTSuccess, or MQTTBadParameter if
pPacketSize
is NULL.
Example
size_t packetSize = 0;
assert( packetSize == 2 );
@ MQTTSuccess
Definition: core_mqtt_serializer.h:100