coreMQTT v2.1.0
MQTT 3.1.1 Client Library
 
Loading...
Searching...
No Matches
MQTT_GetPacketId
uint16_t MQTT_GetPacketId( MQTTContext_t * pContext );
uint16_t MQTT_GetPacketId(MQTTContext_t *pContext)
Get a packet ID that is valid according to the MQTT 3.1.1 spec.
Definition: core_mqtt.c:3104
A struct representing an MQTT connection.
Definition: core_mqtt.h:162

Get a packet ID that is valid according to the MQTT 3.1.1 spec.

Parameters
[in]pContextInitialized MQTT context.
Returns
A non-zero number.