Skip to content

Commit

Permalink
Update new return codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakshit Babbar committed Oct 3, 2024
1 parent eba9592 commit 451e63c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/include/core_mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,10 @@ MQTTStatus_t MQTT_CheckConnectStatus( MQTTContext_t * pContext );
* #MQTTStatusConnected if the connection is already established
* #MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect
* before calling any other API
* MQTTPublishClearAllFailed if on a clean session connection, clearing all the
* previously copied publishes fails
* MQTTPublishRetrieveFailed if on an unclean session connection, the copied
* publishes are not retrieved successfuly for retransmission
* #MQTTSuccess otherwise.
*
* @note This API may spend more time than provided in the timeoutMS parameters in
Expand Down Expand Up @@ -798,6 +802,8 @@ MQTTStatus_t MQTT_Subscribe( MQTTContext_t * pContext,
* #MQTTStatusNotConnected if the connection is not established yet
* #MQTTStatusDisconnectPending if the user is expected to call MQTT_Disconnect
* before calling any other API
* #MQTTPublishStoreFailed if the user provided callback to copy and store the
* outgoing publish packet fails
* #MQTTSuccess otherwise.
*
* <b>Example</b>
Expand Down

0 comments on commit 451e63c

Please sign in to comment.