Euripedes Rocha
4050df4caf
Adds mqtt host tests to Ci
...
- New job to run host tests
- Fix leak in case of usage of interface name
- Fix host tests to expect a call to `transport_destroy` and add an
extra case
2023-06-19 10:34:18 +02:00
Rocha Euripedes
aee82c7ba8
Merge branch 'bugfix/outbox_init_failure' into 'master'
...
Fix: Outbox was leaked in case of initialization failure
See merge request espressif/esp-mqtt!180
2023-06-14 21:46:04 +08:00
Rocha Euripedes
5896e259ad
Merge branch 'feat/bind_interface' into 'master'
...
feat: Add option to bind interface of use
See merge request espressif/esp-mqtt!179
2023-06-14 21:43:34 +08:00
Euripedes Rocha
363fbf7dab
feat: Add option to bind interface of use
...
Enable user to set which interface should be used for client network,
allowing client to be binded to the interface selected by user forcing
it to go through the selected interface.
Closes https://github.com/espressif/esp-mqtt/issues/253
2023-06-14 14:48:44 +02:00
Euripedes Rocha
5d491a45ce
Fix: Outbox was leaked in case of initialization failure
...
If the the list allocation fail, outbox must be freed.
2023-06-14 13:36:42 +02:00
Rocha Euripedes
63cfec799c
Merge branch 'feature/configurable_max_outbox' into 'master'
...
Add outbox size control feature
See merge request espressif/esp-mqtt!141
2023-06-14 01:02:34 +08:00
Euripedes Rocha
372ab7b374
feat: Introduces outbox limit
...
A memory limit for the outbox can be configured.
User will not be able to publish or enqueue if the new message goes
beyond the configured limit.
2023-06-13 15:59:55 +02:00
Euripedes Rocha
21a5491d53
Removes unused outbox functions.
2023-06-13 11:56:11 +02:00
Euripedes Rocha
122875bf8a
refactor: Group access to output buffer in mqtt_connection_t
...
- Moves mqtt_connect_info to mqtt_connection_t.
- Removes outbound_message in favor of accessing it trough connection.
2023-06-13 11:56:05 +02:00
Rocha Euripedes
ed628098a1
Merge branch 'feature/custom_transport' into 'master'
...
Add custom transport configuration
See merge request espressif/esp-mqtt!169
2023-06-13 14:30:24 +08:00
Rocha Euripedes
6438676b66
Merge branch 'fix/removed_unused_handler_field' into 'master'
...
Removes leftover calls to event_handler
See merge request espressif/esp-mqtt!178
2023-06-13 14:29:49 +08:00
Euripedes Rocha
a492935951
Removes leftover calls to event_handler
...
The possibility to add a callback as custom handler was removed from
the client in favor of esp_event. These removes the older alternative
that wasn't possible to use.
2023-06-09 10:44:50 +02:00
Rocha Euripedes
a89af4bf8d
Merge branch 'cfg-common-name' into 'master'
...
PR: Added support to set server common name.
See merge request espressif/esp-mqtt!173
2023-06-08 15:08:22 +08:00
Niklas Gürtler
6195762d28
Added support to set server common name.
2023-06-08 08:46:41 +02:00
Euripedes Rocha
a5c1b441dc
feat: Add custom transport configuration
...
Today there is no way to add a new transport without applying
modifications to the transport list. This impose limitations on the
client usage. Adding the custom configuration we enable user defined
transports.
2023-06-08 06:38:53 +00:00
Euripedes Rocha
ffd7d4df6c
Fix: Prevent sync verififcation from running on master
...
Removes the verification in case the pipeline is running on master.
2023-06-08 08:15:38 +02:00
Euripedes Rocha
4c2ed1676f
CI: Add check for Gitlab/Github remotes in sync
...
To avoid merging on Gitlab with Github remote out of sync while we are
moving to Github development.
2023-06-08 08:15:38 +02: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