Commit Graph

588 Commits

Author SHA1 Message Date
Euripedes 56b093c7ab Revert "feat: Adds github action" 2023-06-05 03:35:56 -03:00
Euripedes 5b8a541939 Merge pull request #258 from euripedesrocha/feature/github_actions
feat: Adds github action
2023-06-05 03:26:25 -03:00
Euripedes Rocha 6c3cbdd195 feat: Adds github action
- Initial support for github actions
2023-06-01 13:55:48 +02:00
Rocha Euripedes 63ebf8b1a2 Merge branch 'cherry-pick-fa40f446' into 'master'
Merge branch 'bugfix/return_on_qos0_disconnected' into 'master'

See merge request espressif/esp-mqtt!175
2023-06-01 18:51:58 +08:00
Rocha Euripedes 89981b7277 Merge branch 'cherry-pick-88413ec3' into 'master'
Merge branch 'bugfix/cpp_compilation' into 'master'

See merge request espressif/esp-mqtt!174
2023-06-01 18:31:40 +08:00
Rocha Euripedes 5bd9724c69 Merge branch 'bugfix/return_on_qos0_disconnected' into 'master'
bug: Incorrect return on disconnect qos0 publish

See merge request espressif/esp-mqtt!172

(cherry picked from commit fa40f44695fc4a0cde14a31a01b8a03da14dd702)

58c25577 bug: Incorrect return on disconnect qos0 publish
2023-06-01 17:03:03 +08:00
Rocha Euripedes 70cbaca728 Merge branch 'bugfix/cpp_compilation' into 'master'
Fix: Compilation in C++ with multiple subscribe

See merge request espressif/esp-mqtt!171

(cherry picked from commit 88413ec3f27102daa805ae1992dd145b42d4690d)

47da99fb Fix: Compilation in C++ with multiple subscribe
2023-06-01 17:02:05 +08:00
Suren b2bd8e5f49 Merge pull request #257 from gabsuren/feature/mqtt_host_tests
feature: added host tests
2023-05-26 13:40:28 +04:00
Suren Gabrielyan 77372e81f9 feature: added host tests 2023-05-26 13:21:44 +04:00
Tomas Sebestik fe622fc77a Merge pull request #259 from espressif/fix/jira_sync_action
ci: Test for Jira sync action fix (IDFGH-10224)
2023-05-24 16:12:38 +02:00
Tomas Sebestik 490bde044f ci: Fix Jira sync action (action setting based on standard boilerplate) 2023-05-24 15:23:21 +02: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