mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-06 01:52:15 +01:00
Changes the moment we update keepalive_tick.
In order to keep sending keep alive messages in the scenario were client publish too often with QoS0 the keepalive is updated when the response is received.
This commit is contained in:
@@ -9,11 +9,12 @@
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/event_groups.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
char *platform_create_id_string(void);
|
||||
int platform_random(int max);
|
||||
long long platform_tick_get_ms(void);
|
||||
int64_t platform_tick_get_ms(void);
|
||||
void ms_to_timeval(int timeout_ms, struct timeval *tv);
|
||||
|
||||
#define ESP_MEM_CHECK(TAG, a, action) if (!(a)) { \
|
||||
|
||||
Reference in New Issue
Block a user