Euripedes Rocha
1cd8682047
change(mqtt): Update esp_mqtt submodule
...
git log --oneline aa6f889fb4f6f743b3a550aa587713aabbdca1fc..cac1552e62b0474c162547b7cce345d7cd1aecfe
Detailed description of the changes:
* fix: clang analyzer unknown pragma warning
- See merge request espressif/esp-mqtt!215
- See commit https://github.com/espressif/esp-mqtt/commit/6bb5a5b
* fix: gcc analyzer unknown pragma warning
- See merge request espressif/esp-mqtt!214
- See commit https://github.com/espressif/esp-mqtt/commit/b527203
* feat: Moves deletion of expired messages to run at all states
- Closes IDFGH-12831
- Closes https://github.com/espressif/esp-mqtt/issues/278
- See commit https://github.com/espressif/esp-mqtt/commit/32dada4
* fix: Handling of state in the outbox for enqueued QoS 0 messages
- Closes IDFGH-12829
- Closes https://github.com/espressif/esp-mqtt/issues/276
- See commit https://github.com/espressif/esp-mqtt/commit/739cb2d
* fix: Instalation of gcovr in host tests was broken
- See merge request espressif/esp-mqtt!211
- See commit https://github.com/espressif/esp-mqtt/commit/6643c49
* Allow to publish using only topic alias on MQTT5
- Closes IDFGH-12735
- Fix: Allow to publish using only topic alias on MQTT5 (espressif/esp-mqtt@0071aca )
* refactor: replaced heap mock with Linux-compatible heap component
- See merge request espressif/esp-mqtt!208
- See commit https://github.com/espressif/esp-mqtt/commit/8b0b43e
* fix: gcc -fanalyzer warnings
- See merge request espressif/esp-mqtt!209
- See commit https://github.com/espressif/esp-mqtt/commit/8bc3bff
* fix: Use catch from component manager
- See merge request espressif/esp-mqtt!210
- See commit https://github.com/espressif/esp-mqtt/commit/53e0cc7
* fix: Fix host test for github ci.
- Closes IDF-8883
- See commit https://github.com/espressif/esp-mqtt/commit/b43d93c
2024-06-17 13:06:35 +08:00
Ondrej Kosta
d15a9c2c48
feat(esp_eth): a new folder structure of the driver and other improvements
...
Fixed memory leak in emac_esp_new_dma function.
Polished ESP EMAC cache management.
Added emac_periph definitions based on SoC features and improved(generalized) ESP EMAC GPIO
initialization.
Added ESP EMAC GPIO reservation.
Added check for frame error condition indicated by EMAC DMA and created a target test.
2024-05-14 08:23:31 +02:00
Euripedes Rocha
8849425d71
change(mqtt): Update esp-mqtt submodule
...
git log --oneline e6afdb4025fe018ae0add44e3c45249ea1974774..aa6f889fb4f6f743b3a550aa587713aabbdca1fc
Detailed description of the changes:
* fix: regard reason codes greater than 0x80 as failures.
- See merge request espressif/esp-mqtt!205
- See commit https://github.com/espressif/esp-mqtt/commit/e7b9aa5
* PR: Return on allocation failure
- See merge request espressif/esp-mqtt!204
- set last_retransmit to now when first connected (espressif/esp-mqtt@c06f154 )
- add return to faile_message, avoid segment fault (espressif/esp-mqtt@37478a9 )
* Minor warning of unused variable
- See merge request espressif/esp-mqtt!203
- fix: Minor warning of unused variable (espressif/esp-mqtt@726e5f2 )
* Cover the case for SOC without MAC address
- See merge request espressif/esp-mqtt!202
- fix: Cover the case for SOC without MAC address (espressif/esp-mqtt@5e3abd4 )
* Make state and size atomic
- See merge request espressif/esp-mqtt!199
- feat: Make state and size atomic (espressif/esp-mqtt@891380b )
* fix: Adjust the log level on few messages to avoid cluthering the logs
- See merge request espressif/esp-mqtt!201
- See commit https://github.com/espressif/esp-mqtt/commit/5c17fc4
* fix: Make automatic client_id soc dependent
- See merge request espressif/esp-mqtt!200
- See commit https://github.com/espressif/esp-mqtt/commit/657a2ae
* Clarify data that users need to take care of lifetime.
- See merge request espressif/esp-mqtt!197
- docs: Clarify data that users need to take care of lifetime. (espressif/esp-mqtt@371f594 )
* Update mqtt_client.h
- See merge request espressif/esp-mqtt!198
- add const char * to esp_mqtt_client_subscribe() generic macros (espressif/esp-mqtt@acdb66d )
* client: Report failure on timeout in mid-message timeout (GitHub PR)
- See merge request espressif/esp-mqtt!165
- Merges https://github.com/espressif/esp-mqtt/pull/232
- client: Report failure on timeout in mid-message timeout (espressif/esp-mqtt@ddde502 )
* fix: Move buffer initialization to set config
- See merge request espressif/esp-mqtt!194
- Closes https://github.com/espressif/esp-mqtt/issues/267
- See commit https://github.com/espressif/esp-mqtt/commit/ea0df31
* Fix check for message creation when processing publish
- See merge request espressif/esp-mqtt!195
- fix: Deliver publish verifies if message was created only for QoS >0
(espressif/esp-mqtt@6780056 )
2024-04-15 15:04:08 +08:00
Chen Yudong
a72d5f4b41
ci: update protocol/ethernet pytest markers
2024-02-01 22:47:18 +08:00
Euripedes Rocha
6fd3667ab1
change(mqtt): Update submodule to e6afdb
...
Update submodule:
git log --oneline
05b347643f6679cc60a50a9664b86a24ebf3ae10..e6afdb4025fe018ae0add44e3c45249ea1974774
Detailed description of the changes:
* fix: using return value of asprintf now
- See merge request espressif/esp-mqtt!192
- See commit https://github.com/espressif/esp-mqtt/commit/c0b40b1
* fix: Uses caps allocation for data buffer instead of item struct
- See merge request espressif/esp-mqtt!193
- See commit https://github.com/espressif/esp-mqtt/commit/00ee059
2023-09-25 08:14:02 +02:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Euripedes Rocha
8af82c87b2
feat(mqtt): Stop cmake process if submodule is missing
...
Closes https://github.com/espressif/esp-idf/issues/12202
2023-09-14 08:38:55 +02:00
Euripedes Rocha
8c72daafa8
feat(mqtt): Updates submodule to 05b3476
...
* Update submodule:
git log --oneline 301bd9e0282eb993523b84d6c56d2559346aa071..05b347643f6679cc60a50a9664b86a24ebf3ae10
Detailed description of the changes:
* Fix: Mock test should include idf_additions.h
- See merge request espressif/esp-mqtt!191
- fix: Mock tests include idf_additions.h (espressif/esp-mqtt@f35aaa1 )
* Adds missing documentation to outbox configuration.
- See merge request espressif/esp-mqtt!190
- docs: Adds missing documentation to outbox configuration. (espressif/esp-mqtt@c355e0b )
2023-09-04 15:33:34 +02:00
Euripedes Rocha
e29c0c9554
feat(mqtt): Update submodule reference to 301bd9e0
...
git log --oneline dffabb067fb3c39f486033d2e47eb4b1416f0c82..301bd9e0282eb993523b84d6c56d2559346aa071
Detailed description of the changes:
* fix: Added missing update to message data
- See merge request espressif/esp-mqtt!189
- See commit https://github.com/espressif/esp-mqtt/commit/cc41d1b
* PR: fixing typos in `mqtt5_error_reason_code`
- See merge request espressif/esp-mqtt!188
- feat: Add enum definition with typo to keep backwards compatibility (espressif/esp-mqtt@90b4a45 )
- fixing typos in `mqtt5_error_reason_code` (espressif/esp-mqtt@dc775bb )
* docs: Clarify keepalive timeout
- See merge request espressif/esp-mqtt!186
- See commit https://github.com/espressif/esp-mqtt/commit/cb1e6cf
* fix: LOG format strings
- See merge request espressif/esp-mqtt!187
- See commit https://github.com/espressif/esp-mqtt/commit/a3b04f2
* Fix: Stop client only if it's running.
- See merge request espressif/esp-mqtt!183
- See commit https://github.com/espressif/esp-mqtt/commit/36eec6f
* fix: Error on publish message creation was ignored.
- See merge request espressif/esp-mqtt!185
- See commit https://github.com/espressif/esp-mqtt/commit/585e3ba
* Fix: Allocation for connection buffer was incorrectly done.
- See merge request espressif/esp-mqtt!182
- See commit https://github.com/espressif/esp-mqtt/commit/6c849c6
* Adds mqtt host tests to Ci
- See merge request espressif/esp-mqtt!181
- See commit https://github.com/espressif/esp-mqtt/commit/4050df4
* Fix: Outbox was leaked in case of initialization failure
- See merge request espressif/esp-mqtt!180
- See commit https://github.com/espressif/esp-mqtt/commit/5d491a4
* feat: Add option to bind interface of use
- See merge request espressif/esp-mqtt!179
- Closes https://github.com/espressif/esp-mqtt/issues/253
- See commit https://github.com/espressif/esp-mqtt/commit/363fbf7
* Add outbox size control feature
- See merge request espressif/esp-mqtt!141
- feat: Introduces outbox limit (espressif/esp-mqtt@372ab7b )
- Removes unused outbox functions. (espressif/esp-mqtt@21a5491 )
- refactor: Group access to output buffer in mqtt_connection_t (espressif/esp-mqtt@122875b )
* Add custom transport configuration
- See merge request espressif/esp-mqtt!169
- feat: Add custom transport configuration (espressif/esp-mqtt@a5c1b44 )
* Removes leftover calls to event_handler
- See merge request espressif/esp-mqtt!178
- See commit https://github.com/espressif/esp-mqtt/commit/a492935
* PR: Added support to set server common name.
- See merge request espressif/esp-mqtt!173
- Added support to set server common name. (espressif/esp-mqtt@6195762 )
* Merge branch 'bugfix/return_on_qos0_disconnected' into 'master'
- See merge request espressif/esp-mqtt!175
- See commit https://github.com/espressif/esp-mqtt/commit/5bd9724
* Merge branch 'bugfix/cpp_compilation' into 'master'
- See merge request espressif/esp-mqtt!174
- See commit https://github.com/espressif/esp-mqtt/commit/70cbaca
* bug: Incorrect return on disconnect qos0 publish
- See merge request espressif/esp-mqtt!172
* Fix: Compilation in C++ with multiple subscribe
- See merge request espressif/esp-mqtt!171
* ci: Fix qemu build against 5.1
- See merge request espressif/esp-mqtt!170
- See commit https://github.com/espressif/esp-mqtt/commit/94defb8
* Minor cleanups on mqtt client
- See merge request espressif/esp-mqtt!168
- Removes pending message count (espressif/esp-mqtt@da6d38a )
- Bugfix: Dispatch transport error on all write operations (espressif/esp-mqtt@5729048 )
- Merge enqueue functions (espressif/esp-mqtt@72833c7 )
* Adds a configuration for outbox data destination
- See merge request espressif/esp-mqtt!166
- feat: Adds a configuration for outbox data destination (espressif/esp-mqtt@2c71f9e )
* CI: Add configuration for ttfw
- See merge request espressif/esp-mqtt!167
- See commit https://github.com/espressif/esp-mqtt/commit/d71dcf3
* mqtt5: Fix flow control will increase count when send fragmented packet
- See merge request espressif/esp-mqtt!164
- Closes https://github.com/espressif/esp-mqtt/issues/255
- See commit https://github.com/espressif/esp-mqtt/commit/5cce2c4
* Add license information to queue
- See merge request espressif/esp-mqtt!163
- See commit https://github.com/espressif/esp-mqtt/commit/36f0faa
* MQTTv5: Fixes and additions from GitHub PRs
- See merge request espressif/esp-mqtt!162
- Merges https://github.com/espressif/esp-mqtt/pull/250
- fix: Allow MQTT v5 zero length payload (espressif/esp-mqtt@65a4fda )
- feature: Include subscribe_id in esp_mqtt5_event_property_t (espressif/esp-mqtt@1011e63 )
* Feature: Enable SUBSCRIBE to multiple topics
- See merge request espressif/esp-mqtt!156
- See commit https://github.com/espressif/esp-mqtt/commit/3210255
* Adds Kconfig option to configure poll read timeout
- See merge request espressif/esp-mqtt!159
- Closes: https://github.com/espressif/esp-mqtt/issues/245
- See commit https://github.com/espressif/esp-mqtt/commit/2fa945d
* Fix formatting when using printf nano
- See merge request espressif/esp-mqtt!160
- See commit https://github.com/espressif/esp-mqtt/commit/e9b865e
* mqtt5: Fix flow control will regard the DUP packet and not consider PUBCOMP packet
- See merge request espressif/esp-mqtt!158
- Closes https://github.com/espressif/esp-mqtt/issues/243
- See commit https://github.com/espressif/esp-mqtt/commit/ed76036
* Remove possible null pointer dereferences
- See merge request espressif/esp-mqtt!157
- Bugfix: Remove Remove possible null pointer dereferences (espressif/esp-mqtt@f80772b )
2023-08-28 06:20:59 +00:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Euripedes Rocha
d73ed34072
fix(test/mqtt): Removes no-format from test_apps build
...
Allows warnings on mismatching format strings.
2023-06-30 11:31:38 +02:00
Euripedes Rocha
1acfc9b5e0
ci: Migrateunit test for mqtt test to unit test app
...
- Split mqtt and mqtt5 tests
- Move common test code to a common component
- Add necessary python scripts
2023-03-24 10:32:43 +01:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Euripedes Rocha
5afa3d347c
[MQTT] - Moves compile definition out of idf
...
- MQTT build process is to be managed in esp-mqtt repository
- Componenf directory points directly to submodule, usage must be
unchanged
2023-01-06 06:30:26 +00:00
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
Song Ruo Jing
e13a4ad963
ci: Disable some unit-test-apps for esp32c6 to pass ci build stage
2022-11-28 11:58:30 +08:00
Armando
aba9f80cd2
partition: use esp_partition_munmap instead of spi_flash_munmap
2022-11-09 20:15:17 +08:00
Martin Vychodil
c9c7573f71
Storage: Partition APIs moved to the new component 'esp_partition'
...
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01: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
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
yuanjm
66e0171c42
test: Add mqtt5 unit-test
2022-07-28 06:24:43 +00:00
yuanjm
5a7b17ff7d
mqtt: Add mqtt5 Kconfig
2022-07-28 06:24:43 +00:00
David Cermak
5c383d7b73
esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
...
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02: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 Čermák
a6980a6b6a
Merge branch 'bugfix/mqtt_host_test' into 'master'
...
MQTT: Fix compilation of networking host tests
Closes IDF-4286
See merge request espressif/esp-idf!18099
2022-06-13 13:13:00 +08:00
David Cermak
877eb62602
mqtt: Update tests to start with valid transport
2022-06-11 14:23:35 +02:00
David Cermak
0aea4bf50d
mqtt: Fix client_enqueue(len=0), Improve transport memory
...
* Update submodule: git log --oneline 64f88b4412ea6649dbf207a07370c2617160d044..a21c387d6280260894981c22494017c893d505b9
Detailed description of the changes:
* mqtt_client: Added checks for cleanly-closed connection and timeout
- See merge request espressif/esp-mqtt!118
- Added checks for cleanly-closed connection and timeout (espressif/esp-mqtt@e05d873 )
* mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR)
- See merge request espressif/esp-mqtt!135
- mqtt_client: fix esp_mqtt_client_enqueue for len=0 (espressif/esp-mqtt@69b6493 )
* Fix implicit malloc/free inclusion
- See merge request espressif/esp-mqtt!134
- See commit https://github.com/espressif/esp-mqtt/commit/9299f54
* feat(mqtt): Optimize mqtt transport list and remove unused transport
- See merge request espressif/esp-mqtt!131
- See commit https://github.com/espressif/esp-mqtt/commit/647e0ef
* Fix WSS default port selection through menuconfig.
- See merge request espressif/esp-mqtt!132
- - Closes https://github.com/espressif/esp-mqtt/issues/223
- See commit https://github.com/espressif/esp-mqtt/commit/f6caaff
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
David Cermak
5e19b9c951
esp-netif: Make dependency on esp-eth optional
...
* esp-netif to optionally depend on esp-eth (only for l2tap config)
* esp_eth.h now includes the original ethernet header and the
ethernet-netif glue layer
* Updated examples and test to explicitely use esp-eth dependency if
needed
2022-06-09 07:55:40 +00: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
David Cermak
58cf25193d
mqtt: Fix incorrect reads on error; Update ping processing
...
* Update submodule: git log --oneline 4874bab35659bd2301e65fd849f6559d7380d4f1..64f88b4412ea6649dbf207a07370c2617160d044
Detailed description of the changes:
* Fix documentation of config struct
- See merge request espressif/esp-mqtt!129
- See commit https://github.com/espressif/esp-mqtt/commit/e31834c
* Changes the moment we update keepalive_tick.
- See merge request espressif/esp-mqtt!127
- See commit https://github.com/espressif/esp-mqtt/commit/2c2e6f3
* MQTT: Fix signature matching for some integer values
- See merge request espressif/esp-mqtt!128
- Closes https://github.com/espressif/esp-idf/issues/8482
- MQTT: Fix signature matching for integer values (espressif/esp-mqtt@6b794e4 )
* Make the mqtt submodule logging tags lower case
- See merge request espressif/esp-mqtt!122
- See commit https://github.com/espressif/esp-mqtt/commit/fb3184c
Closes https://github.com/espressif/esp-idf/issues/8482
Closes https://github.com/espressif/esp-idf/issues/8550
2022-05-16 20:23:26 +02:00
Ivan Grokhotkov
47659be5b8
build system: remove lwip from common requirements
...
lwip was added to common requirements list to provide "sys/socket.h"
header to all components without additional requirements specified.
However, lwip pulls in a lot of dependencies on other components.
This commit removes lwip from common requirements to reduce the number
of components in G1-only apps.
To compensate for this removal, the following changes are made:
- newlib (which is a common requirement) has a public dependency on
lwip if lwip is present in the build. This ensures that sys/socket.h
is available as long as lwip component is included into the build.
- lwip is now a public requirement of esp-tls since esp_tls.h includes
sys/socket.h header.
- lwip is now a public requirement o esp_http_client because
sys/socket.h is included from esp_http_client.h
- lwip is now a private requirement of esp_wifi for "smartconfig_ack"
- lwip is now a private requirement of mqtt for socket functions
- lwip is now a public requirement of tcp_transport because
esp_transport_tcp.h includes sys/socket.h header.
- mbedtls checks if lwip component is present in the build. If yes,
net_sockets.c is added to the build, along with the dependency on
lwip. Previously lwip was a public requirement of mbedtls
unconditionally.
system/g1_components test app is updated to reflect the changes
Default public dependencies of a component before and after this
change, except common requirements:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
- vfs (public dependency of lwip)
- esp_wifi (public dependency of lwip)
- esp_event (public dependency of esp_wifi)
- esp_netif (public dependency of esp_event)
- esp_eth (public dependency of esp_netif)
- esp_phy (public dependency of esp_wifi)
After:
- esp_timer (public dependency of freertos)
- bootloader_support (public dependency of esp_hw_support)
Altogether, the following components have been always added as
public requirements to all other components, and are not added now
([breaking-change]):
- lwip
- vfs
- esp_wifi
- esp_event
- esp_netif
- esp_eth
- esp_phy
Application components now need to explicitly declare dependencies on
these components.
2022-05-02 20:47:17 +02:00
Anton Maklakov
e27f1331e4
components: correct printf() placeholder for time_t
...
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Anton Maklakov
e1ee578281
Merge branch 'bugfix/fix_mqtt_warnings' into 'master'
...
esp-mqtt: fix warnings (clang)
See merge request espressif/esp-idf!17357
2022-03-11 16:02:48 +08:00
Mahavir Jain
99e7059cbe
Merge branch 'bugfix/kconfig_defaults' into 'master'
...
kconfig: Changed default values of `bool` configs
Closes IDF-4747
See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
Anton Maklakov
b4ebc77975
esp-mqtt: fix warnings
2022-03-08 11:30:56 +07:00
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
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
David Cermak
8da2e4088c
esp_eth: Update esp32's EMAC API to decouple driver and vendor config
2022-02-14 16:17:29 +00:00
David Cermak
2d4cd7772e
mqtt: Fix sending log data; dup flag after queue
...
* Fix sending mqtt message longer than Tx buffer size
* Fix enqueue API to send data with correct dup flag
* Update submodule: git log --oneline b86d42c130ac64a916ce6cf299d99f9756692394..985078affa8a2d2b56b87c8e6455252850f895c6
Detailed description of the changes:
* Isolate IDF env for v4.4 and v5.0(master)
- See merge request espressif/esp-mqtt!111
- ci: Isolate IDF env for v4.4 and v5.0(master) (espressif/esp-mqtt@4c5a65c )
* Client: Remove usage of legacy FreeRTOS types
- See merge request espressif/esp-mqtt!120
- ci: Fix build issues with IDF-4.4 against master (espressif/esp-mqtt@c28a56d )
- See commit https://github.com/espressif/esp-mqtt/commit/6ef98d6
* mqtt_client: Fix mqtt send long data error
- See merge request espressif/esp-mqtt!117
- Closes https://github.com/espressif/esp-mqtt/issues/214
- See commit https://github.com/espressif/esp-mqtt/commit/372b323
* Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1
- See merge request espressif/esp-mqtt!116
- See commit https://github.com/espressif/esp-mqtt/commit/df8dc92
2022-01-20 12:58:55 +01:00
David Cermak
c9794ad08f
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
...
Closes https://github.com/espressif/esp-mqtt/issues/217
2022-01-17 10:47:59 +01:00
Mahavir Jain
e7db313c63
mqtt: replace nghttp with http_parser references
2022-01-11 10:26:25 +05:30
Jakob Hasse
16514f93f0
refactor (test_utils)!: separate file for memory check functions
...
Memory check (leaks and heap tracing) functions for unit tests
now have a separate file now and are renamed for more consistency.
BREAKING CHANGE: renamed memory check function names which may be used
in unit tests outside IDF.
2021-12-08 11:06:00 +08:00
David Cermak
cd085992c6
MQTT: Fix disconnect/reconnect, Adds empty client id, ...
...
Updated MQTT submodule: git log --oneline 89894bd0c611b1392967fe90bb49682eba858383...b86d42c130ac64a916ce6cf299d99f9756692394
* Added support for client with empty id
* Fixed user requested disconnect to correctly send MQTT disconnection message
* Fixed reconnection request with disabled autoreconnect
* Added qos and dup flags to data events
* Added Support for suback massage payload in mqtt events
Detailed description of the changes (89894bd0c6...b86d42c130
):
* Adds the possibility of client with empty id
- See merge request esp-mqtt!114
- esp_mqtt commit 09287a1156
- esp_mqtt commit 1fd50dd2cb
- Related IDF-4124
* Client: Disconnect/Reconnect improvements
- See merge request esp-mqtt!113
- esp_mqtt commit 3f05b1aedc
- esp_mqtt commit 86e40f8615
- Related https://github.com/espressif/esp-mqtt/issues/206
- Related https://github.com/espressif/esp-mqtt/issues/208
* Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR)
- See merge request esp-mqtt!112
- esp_mqtt commit de47f1c341
- esp_mqtt commit e1d5a9402f
- Related https://github.com/espressif/esp-mqtt/issues/200
- Related https://github.com/espressif/esp-mqtt/pull/203
2021-11-26 13:57:32 +01:00
David Cermak
3b0dcf8901
MQTT: Add more tests
2021-11-26 13:34:56 +01:00
David Cermak
acf0caa04a
MQTT: Add more unit tests with actual broker
2021-11-26 11:45:32 +01:00