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