mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 09:17:44 -04:00
Because we would like to show an example of how the coreMQTT library is used without an actual timer query function, the keep-alive demo is updated to used a mocked function that always returns 0. As such, MQTT_ReceiveLoop must be passed a timeout of 0 so that it runs for exactly 1 iteration. Therefore, MQTT_ReceiveLoop is called repeatedly until an acknowledgement packet from the broker is received or the maximum iterations are reached. |
||
---|---|---|
.. | ||
Common | ||
MQTT_Basic_TLS | ||
MQTT_Keep_Alive | ||
MQTT_Multitask | ||
MQTT_Mutual_Auth | ||
MQTT_Plain_Text | ||
MQTT_Serializer |