Skip to content

Commit

Permalink
mqtt: Fix keepalive with esp-timer; clean close SM (v4.4)
Browse files Browse the repository at this point in the history
* Fixes keepalive calculation to use esp-timer (previously used system
timer that might get updated by  NTP sync and failing keepalive
mechanism)
* Fixes start() -> stop() -> start() client's transitions, due to
wrong state of stopped client (could endup in WAIT_RECONNECT state and
thus never allowed to be started again)
* Update submodule: git log --oneline 60983d1dd54196b1e3f399c6f928d77256ec742a..bb9c8af9d552b608dd3aabf9617bde757a538ebe

Detailed description of the changes:
* Backport Moves state change when stopping the client
  - See merge request espressif/esp-mqtt!151
  - Closes espressif/esp-mqtt#239
  - Moves state change when stopping the client (espressif/esp-mqtt@af58f5f)
* fix: MQTT tick not starting on connect and switch to esp_timer
  - See merge request espressif/esp-mqtt!146
  - Closes #9492
  - See commit espressif/esp-mqtt@166741f
* ci: Fix CI build using public IDF images
  - See merge request espressif/esp-mqtt!148
  - See commit espressif/esp-mqtt@530fe3a

Closes #9492
  • Loading branch information
david-cermak committed Oct 26, 2022
1 parent 755ce10 commit 1459711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mqtt/esp-mqtt

0 comments on commit 1459711

Please sign in to comment.