coreMQTT
v1.1.1
MQTT 3.1.1 Client Library
MQTT_Disconnect
Disconnect an MQTT session.
MQTTStatus_t
MQTT_Disconnect
(
MQTTContext_t
* pContext );
Parameters
[in]
pContext
Initialized and connected MQTT context.
Returns
MQTTNoMemory
if the
MQTTContext_t.networkBuffer
is too small to hold the MQTT packet;
MQTTBadParameter
if invalid parameters are passed;
MQTTSendFailed
if transport send failed;
MQTTSuccess
otherwise.
MQTTStatus_t
MQTTStatus_t
Return codes from MQTT functions.
Definition:
core_mqtt_serializer.h:91
MQTTContext_t
A struct representing an MQTT connection.
Definition:
core_mqtt.h:163
MQTT_Disconnect
MQTTStatus_t MQTT_Disconnect(MQTTContext_t *pContext)
Disconnect an MQTT session.
Definition:
core_mqtt.c:2102
Generated by
1.8.20