Commit Graph
585 Commits
Author SHA1 Message Date
david-cermak afbcaeb4d7 Deploying to gh-pages from @ espressif/esp-mqtt@ed628098a1 🚀 2023-06-13 08:09:16 +00:00
david-cermak abf889663e Deploying to gh-pages from @ espressif/esp-mqtt@6438676b66 🚀 2023-06-13 08:07:30 +00:00
david-cermak 52778974ee Deploying to gh-pages from @ espressif/esp-mqtt@a89af4bf8d 🚀 2023-06-08 07:22:08 +00:00
david-cermak 1324a032ad Deploying to gh-pages from @ espressif/esp-mqtt@ffd7d4df6c 🚀 2023-06-08 06:40:24 +00:00
euripedesrocha 8c5bbf186a Deploying to gh-pages from @ espressif/esp-mqtt@5b8a541939 🚀 2023-06-05 06:29:12 +00:00
david-cermak e2b6897f91 Deploying to gh-pages from @ espressif/esp-mqtt@63ebf8b1a2 🚀 2023-06-01 11:00:51 +00:00
david-cermak b487413d4c Deploying to gh-pages from @ espressif/esp-mqtt@89981b7277 🚀 2023-06-01 10:48:46 +00:00
gabsuren 03c1c70145 Deploying to gh-pages from @ espressif/esp-mqtt@b2bd8e5f49 🚀 2023-05-26 09:43:18 +00:00
Rocha Euripedes 0e4cec9497 Merge branch 'ci/fix_qemu_build' into 'master'
ci: Fix qemu build against 5.1

See merge request espressif/esp-mqtt!170
2023-05-04 16:01:19 +08:00
David Cermak 94defb867e ci: Fix qemu build against 5.1
Also adds build against v5.1 and master separetely
2023-05-03 15:48:41 +02:00
Rocha Euripedes 14b11ad07e Merge branch 'merge_enqueue' into 'master'
Minor cleanups on mqtt client

See merge request espressif/esp-mqtt!168
2023-04-21 15:11:48 +08:00
Euripedes Rocha da6d38a17e Removes pending message count
The information was used only to log remaining messages on debug log.
It was checked on writing but updated prior to every call making the
verification meaningless.
2023-04-21 08:40:12 +02:00
Euripedes Rocha 5729048683 Bugfix: Dispatch transport error on all write operations
- During connect the error wasn't dispatched.
- Merged esp_mqtt_write with mqtt_write_data since the only difference
  was the error dispatched.
2023-04-20 09:29:33 +02:00
Euripedes Rocha 72833c7f8a Merge enqueue functions
- enqueue and oversized enqueue did the same work with small differences
  this clean up the extra unnecessary function
2023-04-20 09:29:33 +02:00
Rocha Euripedes 0b315a01b1 Merge branch 'feature/outbox_memory_selection' into 'master'
Adds a configuration for outbox data destination

See merge request espressif/esp-mqtt!166
2023-04-13 15:20:43 +08:00
Euripedes Rocha 2c71f9e69b feat: Adds a configuration for outbox data destination
Allow user to move outbox data to external SPI RAM.
2023-04-12 08:43:40 +00:00
Rocha Euripedes 6bcd906b8a Merge branch 'ci/fix_qemu_test' into 'master'
CI: Add configuration for ttfw

See merge request espressif/esp-mqtt!167
2023-04-12 16:43:06 +08:00
Euripedes Rocha d71dcf372a CI: Add configuration for ttfw
File was removed from idf. Adding it here to fix CI before we move the
tests to pytest embedded
2023-04-12 08:49:23 +02:00
Rocha Euripedes 9c1826d152 Merge branch 'bugfix/fix_mqtt5_flow_control' into 'master'
mqtt5: Fix flow control will increase count when send fragmented packet

See merge request espressif/esp-mqtt!164
2023-03-29 20:36:13 +08:00
yuanjianmin 5cce2c4f35 mqtt5: Fix flow control will increase count when send fragmented packet
Closes https://github.com/espressif/esp-mqtt/issues/255
2023-03-17 16:55:25 +08:00
David Čermák 9f2db7b4b6 Merge branch 'bugfix/queue_license' into 'master'
Add license information to queue

See merge request espressif/esp-mqtt!163
2023-03-09 14:37:30 +08:00
Euripedes Rocha 36f0faa80d Add license information to queue
File was copied from BSD header without the license information.
2023-03-02 08:02:57 +01:00
Rocha Euripedes 7089fac9c0 Merge branch 'prs/mqtt5_fixes' into 'master'
MQTTv5: Fixes and additions from GitHub PRs

See merge request espressif/esp-mqtt!162
2023-02-28 16:25:53 +08:00
Nebojsa Cvetkovic 65a4fdaff5 fix: Allow MQTT v5 zero length payload
Merges https://github.com/espressif/esp-mqtt/pull/250
2023-02-27 12:46:22 +01:00
Nebojsa Cvetkovic 1011e63cbe feature: Include subscribe_id in esp_mqtt5_event_property_t 2023-02-09 18:44:47 +00:00
Rocha Euripedes 5a156f56b4 Merge branch 'feature/multiple_subscribe' into 'master'
Feature:  Enable SUBSCRIBE to multiple topics

See merge request espressif/esp-mqtt!156
2023-02-08 15:35:31 +08:00
Euripedes Rocha 32102558d3 Feature: Enable SUBSCRIBE to multiple topics
- Adds an api for multiple topics on SUBSCRIBE message.

Apply 2 suggestion(s) to 1 file(s)

Removing headers

y
2023-02-03 14:19:24 +01:00
Rocha Euripedes 5adbe11aaf Merge branch 'feature/config_read_poll' into 'master'
Adds Kconfig option to configure poll read timeout

See merge request espressif/esp-mqtt!159
2023-02-02 20:52:02 +08:00
Rocha Euripedes 2fa945d0b8 Adds Kconfig option to configure poll read timeout
A new Kconfig option was added to allow users to configure poll read
timeout.

Closes: https://github.com/espressif/esp-mqtt/issues/245
2023-02-02 20:52:02 +08:00
Rocha Euripedes 86d21e4902 Merge branch 'bugfix/nano_printf_format' into 'master'
Fix formatting when using printf nano

See merge request espressif/esp-mqtt!160
2023-02-02 20:24:24 +08:00
Rocha Euripedes e9b865eb9d Fix formatting when using printf nano 2023-02-02 20:24:24 +08:00
Rocha Euripedes acab02f2c5 Merge branch 'bugfix/fix_mqtt5_flow_control' into 'master'
mqtt5: Fix flow control will regard the DUP packet and not consider PUBCOMP packet

See merge request espressif/esp-mqtt!158
2023-01-18 16:03:31 +08:00
yuanjianmin ed76036744 mqtt5: Fix flow control will regard the DUP packet and not consider PUBCOMP packet
Closes https://github.com/espressif/esp-mqtt/issues/243
2023-01-18 14:16:28 +08:00
Rocha Euripedes c96f6f804c Merge branch 'bugfix/coverity_fix' into 'master'
Remove possible null pointer dereferences

See merge request espressif/esp-mqtt!157
2023-01-04 20:26:27 +08:00
David Čermák dffabb067f Merge branch 'feature/esp_mqtt_as_managed_component' into 'master'
Moves mqtt build files to esp-mqtt and adds a component file

See merge request espressif/esp-mqtt!149
2022-12-17 01:46:11 +08:00
Euripedes Rocha 159b1638b2 Reorganize mqtt build structure
- Integrate build definitions from idf
- Changes CMakeLists to allow import
- Added host test from idf
- Added test code from idf
2022-12-16 08:52:54 +01:00
Euripedes Rocha f27cb47c0f [MQTT] Simplifies MQTT CMakeLists file
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-12-16 08:38:48 +01:00
Ivan Grokhotkov ee9b52b7d2 build system: re-add -Wno-format as private flag for some components 2022-12-16 08:38:48 +01:00
yuanjm 01d0f34654 test: Add mqtt5 unit-test 2022-12-16 08:38:48 +01:00
yuanjm 0b98c63247 mqtt: Add mqtt5 Kconfig 2022-12-16 08:38:48 +01:00
David Cermak 94ecca2073 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-12-16 08:38:48 +01:00
Euripedes Rocha 1e598b071b [MQTT] - Updates esp_mqtt configuration struct
- Layered config struct
- Fix examples.
2022-12-16 08:38:48 +01:00
Fu Hanxi d4ee31f627 docs: changes docs supported targets tables 2022-12-16 08:38:48 +01:00
Euripedes Rocha 411ea65ec7 [MQTT] - Adds esp-timer as dependency and change version.
- Current time is now from esp_timer.
2022-12-16 08:38:48 +01:00
David Cermak bc30b9a8e3 mqtt: Update tests to start with valid transport 2022-12-16 08:38:48 +01:00
David Cermak d372bbf09e 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-12-16 08:38:48 +01:00
David Cermak 610db7b934 mqtt: Fix and add mqtt host test to CI 2022-12-16 08:38:48 +01:00
David Cermak 62c5545f2d 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-12-16 08:38:48 +01:00
Djordje Nedic b80d4d468c 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-12-16 08:38:48 +01:00
David Cermak 5539c83c0a 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-12-16 08:38:48 +01:00