Euripedes Rocha
4ec9d4bad6
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 https://github.com/espressif/esp-mqtt/commit/fb42588
* Adds missing header.
- See merge request espressif/esp-mqtt!152
- See commit https://github.com/espressif/esp-mqtt/commit/8a60057
* Moves state change when stopping the client
- See merge request espressif/esp-mqtt!150
- Closes https://github.com/espressif/esp-mqtt/issues/239
- See commit https://github.com/espressif/esp-mqtt/commit/3738fcd
* Adds error code to MQTT_EVENT_SUBSCRIBED in case of failure
- See merge request espressif/esp-mqtt!143
- - Closes https://github.com/espressif/esp-mqtt/issues/233
- See commit https://github.com/espressif/esp-mqtt/commit/9af5c26
* Adds debug information on sending dup messages
- See merge request espressif/esp-mqtt!145
- See commit https://github.com/espressif/esp-mqtt/commit/47b3f9b
* ci: Fix qemu build
- See merge request espressif/esp-mqtt!147
- See commit https://github.com/espressif/esp-mqtt/commit/68e8c4f
* ci: Build and Test QEMU on v5.0
- See merge request espressif/esp-mqtt!142
- See commit https://github.com/espressif/esp-mqtt/commit/9db9ee7
* client: Add support for user events
- See merge request espressif/esp-mqtt!140
- Closes https://github.com/espressif/esp-mqtt/issues/230
- See commit https://github.com/espressif/esp-mqtt/commit/97503cc
* Adds unregister event API
- See merge request espressif/esp-mqtt!139
- Closes https://github.com/espressif/esp-idf/issues/9194
- See commit https://github.com/espressif/esp-mqtt/commit/a9a9fe7
2022-12-13 15:34:31 +00:00
Euripedes Rocha
736424c366
[MQTT] Simplifies MQTT CMakeLists file
...
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
Euripedes Rocha
ff1c405ed1
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2022-07-15 12:32:50 -03:00
Fu Hanxi
c0568611dd
docs: changes docs supported targets tables
2022-07-14 08:26:32 +08:00
Euripedes Rocha
33fccf6405
[MQTT] - Adds esp-timer as dependency and change version.
...
- Current time is now from esp_timer.
2022-06-29 11:50:32 +00:00
David Cermak
877eb62602
mqtt: Update tests to start with valid transport
2022-06-11 14:23:35 +02:00
David Cermak
1ad3e2db17
mqtt: Fix and add mqtt host test to CI
2022-06-11 14:23:30 +02:00
Djordje Nedic
facab8c5a7
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Darian Leung
5f5daaa420
freertos: Remove legacy hooks
...
This commit refactors the legacy hooks as follows:
- Removed CONFIG_FREERTOS_LEGACY_HOOKS
- FreeRTOS hooks are now enabled via:
- CONFIG_FREERTOS_USE_IDLE_HOOK
- CONFIG_FREERTOS_USE_TICK_HOOK
- Update IDF hooks documentation
2022-02-18 19:56:35 +08:00
Darian Leung
9b3796d2f1
freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions
...
Add TRY_ENTRY_CRITICAL() API to all for timeouts when entering critical sections.
The following port API were added:
- portTRY_ENTER_CRITICAL()
- portTRY_ENTER_CRITICAL_ISR()
- portTRY_ENTER_CRITICAL_SAFE()
Deprecated legacy spinlock API in favor of spinlock.h. The following API were deprecated:
- vPortCPUInitializeMutex()
- vPortCPUAcquireMutex()
- vPortCPUAcquireMutexTimeout()
- vPortCPUReleaseMutex()
Other Changes:
- Added portMUX_INITIALIZE() to replace vPortCPUInitializeMutex()
- The assembly of the critical section functions ends up being about 50 instructions longer,
thus the spinlock test pass threshold had to be increased to account for the extra runtime.
Closes https://github.com/espressif/esp-idf/issues/5301
2021-11-22 13:28:39 +08:00
Zim Kalinowski
701c4fb2e3
upgrade freertos version and history
2021-09-02 11:02:34 +08:00
Euripedes Rocha Filho
f6d23bfee1
mqtt: Adds host tests for mqtt client
2021-06-30 08:55:39 +01:00