From e846274e59d5394c5bf5aa99ffc6ac9d2de40f2b Mon Sep 17 00:00:00 2001 From: David Cermak Date: Mon, 21 Sep 2020 15:12:22 +0200 Subject: [PATCH] MQTT: Update submodule reference: config, error handle, minor fixes Updates esp-mqtt reference to include fixes below related mainly to: * configuration update (disable keepalive, network timeout) * minor fixes (size_t for all sizes, unbalanced lock, api for outbox-size) * extended error handle to include socket's errno Closes https://github.com/espressif/esp-idf/issues/5906 Config: Added config value to disable keepalive mechanism esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/8562437c8a50754998f7b5484773851fd1c42388 Related https://github.com/espressif/esp-mqtt/issues/179 Added esp_mqtt_client_get_outbox_size API esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/0a1d9d0300335ca98dd1fed8d2ec2411145877b0 Related https://github.com/espressif/esp-mqtt/pull/178 mqtt_outbox: Removed unused retry_count field from outbox_item_t esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/673086e13a7ff141929ddc9739da3d197f8a5720 config: Fixed typo for configuring OUTBOX_EXPIRED_TIMEOUT_MS esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/259baaec9671ea3c32afa3c27a1196fce5646974 Fixed missing MQTT_API_UNLOCK in esp_mqtt_client_stop error path esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/845c2a3a1e112af5dbe5f3a9ee8f6adb92a03757 Related https://github.com/espressif/esp-mqtt/issues/173 Related https://github.com/espressif/esp-mqtt/pull/174 Extended mqtt error handle to capture transport's socket errno (IDF v4.3+) esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/23c8e1ecf5681d60032f8405990116a589290b57 Config: Added configuration value to set network timeout esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/a03228ac4639eeb324af99dcded44a1f4113d3c3 Related https://github.com/espressif/esp-mqtt/pull/166 Used size_t for all lengths to allow for other architectures esp-mqtt commit: https://github.com/espressif/esp-mqtt/commit/b9db8d90204c7f9a23165630fd74ad621516c0c7 --- components/mqtt/esp-mqtt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mqtt/esp-mqtt b/components/mqtt/esp-mqtt index 01594bf118..da850b0add 160000 --- a/components/mqtt/esp-mqtt +++ b/components/mqtt/esp-mqtt @@ -1 +1 @@ -Subproject commit 01594bf118ae502b5a0ead040446f2be75d26223 +Subproject commit da850b0add1e71b3659bfac5d797cc834dc3e89b