-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mqtt: Set state on stoping; Add error code to Subscribed event
* Update submodule: git log --oneline ae53d799da294f03ef65c33e88fa33648e638134..fde00340f19b9f5ae81fff02ccfa9926f0e33687 Detailed description of the changes: * Fix the default configuration for event queue - See merge request espressif/esp-mqtt!153 - See commit espressif/esp-mqtt@fb42588 * Adds missing header. - See merge request espressif/esp-mqtt!152 - See commit espressif/esp-mqtt@8a60057 * Moves state change when stopping the client - See merge request espressif/esp-mqtt!150 - Closes espressif/esp-mqtt#239 - See commit espressif/esp-mqtt@3738fcd * Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure - See merge request espressif/esp-mqtt!143 - - Closes espressif/esp-mqtt#233 - See commit espressif/esp-mqtt@9af5c26 * Adds debug information on sending dup messages - See merge request espressif/esp-mqtt!145 - See commit espressif/esp-mqtt@47b3f9b * ci: Fix qemu build - See merge request espressif/esp-mqtt!147 - See commit espressif/esp-mqtt@68e8c4f * ci: Build and Test QEMU on v5.0 - See merge request espressif/esp-mqtt!142 - See commit espressif/esp-mqtt@9db9ee7 * client: Add support for user events - See merge request espressif/esp-mqtt!140 - Closes espressif/esp-mqtt#230 - See commit espressif/esp-mqtt@97503cc * Adds unregister event API - See merge request espressif/esp-mqtt!139 - Closes #9194 - See commit espressif/esp-mqtt@a9a9fe7
- Loading branch information
1 parent
c01f71c
commit 4ec9d4b
Showing
6 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule esp-mqtt
updated
5 files
+18 −15 | .gitlab-ci.yml | |
+31 −3 | include/mqtt_client.h | |
+4 −0 | lib/include/mqtt_client_priv.h | |
+5 −0 | lib/include/mqtt_config.h | |
+112 −29 | mqtt_client.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
idf_component_get_property(original_heap_dir heap COMPONENT_OVERRIDEN_DIR) | ||
|
||
idf_component_register(SRCS heap_mock.c | ||
INCLUDE_DIRS "${original_heap_dir}/include") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#include "esp_heap_caps.h" | ||
#include <stdint.h> | ||
#include <stdlib.h> | ||
|
||
|
||
|
||
void *heap_caps_calloc(size_t n, size_t size, uint32_t caps) { | ||
(void)caps; | ||
return calloc(n, size); | ||
|
||
} |