Update MQTT demo timeout and record length (#1030)

* Update MQTT plain text demo timeout and record length

* Update Helper functions

* Update timeout comment

* Update Readme with more details
This commit is contained in:
Monika Singh 2023-07-18 12:48:12 +05:30 committed by GitHub
parent 6682dbbc5b
commit 9f6437ca6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 149 additions and 24 deletions

View file

@ -118,8 +118,9 @@
/**
* @brief Timeout for MQTT_ProcessLoop in milliseconds.
* Refer to FreeRTOS-Plus/Demo/coreMQTT_Windows_Simulator/readme.txt for more details.
*/
#define mqttexamplePROCESS_LOOP_TIMEOUT_MS ( 500U )
#define mqttexamplePROCESS_LOOP_TIMEOUT_MS ( 2000U )
/**
* @brief Keep alive time reported to the broker while establishing an MQTT connection.
@ -145,14 +146,16 @@
/**
* @brief The length of the outgoing publish records array used by the coreMQTT
* library to track QoS > 0 packet ACKS for outgoing publishes.
* This length depends on the Number of publishes & can be updated accordingly.
*/
#define mqttexampleOUTGOING_PUBLISH_RECORD_LEN ( 10U )
#define mqttexampleOUTGOING_PUBLISH_RECORD_LEN ( 15U )
/**
* @brief The length of the incoming publish records array used by the coreMQTT
* library to track QoS > 0 packet ACKS for incoming publishes.
* This length depends on the Number of publishes & can be updated accordingly.
*/
#define mqttexampleINCOMING_PUBLISH_RECORD_LEN ( 10U )
#define mqttexampleINCOMING_PUBLISH_RECORD_LEN ( 15U )
/**
* @brief Maximum number of outgoing publishes maintained in the application