|
|
@ -659,6 +659,9 @@ static void prvMQTTSubscribeWithBackoffRetries( MQTTContext_t * pxMQTTContext )
|
|
|
|
xResult = MQTT_ProcessLoop( pxMQTTContext, mqttexamplePROCESS_LOOP_TIMEOUT_MS );
|
|
|
|
xResult = MQTT_ProcessLoop( pxMQTTContext, mqttexamplePROCESS_LOOP_TIMEOUT_MS );
|
|
|
|
configASSERT( xResult == MQTTSuccess );
|
|
|
|
configASSERT( xResult == MQTTSuccess );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Reset flag before checking suback responses. */
|
|
|
|
|
|
|
|
xFailedSubscribeToTopic = false;
|
|
|
|
|
|
|
|
|
|
|
|
/* Check if recent subscription request has been rejected. #xTopicFilterContext is updated
|
|
|
|
/* Check if recent subscription request has been rejected. #xTopicFilterContext is updated
|
|
|
|
* in the event callback to reflect the status of the SUBACK sent by the broker. It represents
|
|
|
|
* in the event callback to reflect the status of the SUBACK sent by the broker. It represents
|
|
|
|
* either the QoS level granted by the server upon subscription, or acknowledgement of
|
|
|
|
* either the QoS level granted by the server upon subscription, or acknowledgement of
|
|
|
|