mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 02:07:48 -04:00
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:
parent
6682dbbc5b
commit
9f6437ca6a
10 changed files with 149 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue