coreMQTT
v2.3.1+
MQTT 3.1.1 Client Library
Loading...
Searching...
No Matches
MQTT_Ping
MQTTStatus_t
MQTT_Ping
(
MQTTContext_t
* pContext );
MQTT_Ping
MQTTStatus_t MQTT_Ping(MQTTContext_t *pContext)
Sends an MQTT PINGREQ to broker.
Definition:
core_mqtt.c:3211
MQTTStatus_t
MQTTStatus_t
Return codes from MQTT functions.
Definition:
core_mqtt_serializer.h:87
MQTTContext_t
A struct representing an MQTT connection.
Definition:
core_mqtt.h:233
Sends an MQTT PINGREQ to broker.
Parameters
[in]
pContext
Initialized and connected MQTT context.
Returns
MQTTNoMemory
if pBuffer is too small to hold the MQTT packet;
MQTTBadParameter
if invalid parameters are passed;
MQTTSendFailed
if transport write failed;
MQTTStatusNotConnected
if the connection is not established yet
MQTTStatusDisconnectPending
if the user is expected to call MQTT_Disconnect before calling any other API
MQTTSuccess
otherwise.
Generated by
1.9.6