Rocha Euripedes
4b28192d00
Merge branch 'docs/outbox_doxygen' into 'master'
...
Adds missing documentation to outbox configuration.
See merge request espressif/esp-mqtt!190
2023-08-31 22:22:04 +08:00
Rocha Euripedes
c355e0b5ae
docs: Adds missing documentation to outbox configuration.
2023-08-31 22:22:04 +08:00
Rocha Euripedes
301bd9e028
Merge branch 'fix/big_messages' into 'master'
...
fix: Added missing update to message data
See merge request espressif/esp-mqtt!189
2023-08-25 15:38:48 +08:00
Euripedes Rocha
cc41d1b852
fix: Added missing update to message data
...
When handling big messages the refactoring introduced a regression when
handling big messages, messages larger than the message buffer.
2023-08-24 09:52:00 +02:00
Rocha Euripedes
1ca73479cb
Merge branch 'mqtt5_fixing_typo' into 'master'
...
PR: fixing typos in `mqtt5_error_reason_code`
See merge request espressif/esp-mqtt!188
2023-08-18 14:43:10 +08:00
Euripedes Rocha
90b4a4538e
feat: Add enum definition with typo to keep backwards compatibility
...
Added initial enum definitions with deprecated attribute.
Should be removed with a new version that can introduce a breaking
change.
2023-08-17 14:58:49 +02:00
Wang Kai
dc775bb52e
fixing typos in mqtt5_error_reason_code
2023-07-24 23:23:32 +08:00
Rocha Euripedes
fe32d8f224
Merge branch 'docs/clarify_keepalive_timeout' into 'master'
...
docs: Clarify keepalive timeout
See merge request espressif/esp-mqtt!186
2023-07-11 05:34:46 +08:00
Rocha Euripedes
cb1e6cf218
docs: Clarify keepalive timeout
...
Adds information on the behavior of the PINGREQ message timeout and some
reasoning behind the choice.
2023-07-11 05:34:46 +08:00
Rocha Euripedes
cd81773bd1
Merge branch 'fix/format_log_messages' into 'master'
...
fix: LOG format strings
See merge request espressif/esp-mqtt!187
2023-07-10 17:28:55 +08:00
Rocha Euripedes
395aa141c8
Merge branch 'fix/stop_only_if_started' into 'master'
...
Fix: Stop client only if it's running.
See merge request espressif/esp-mqtt!183
2023-07-10 15:55:33 +08:00
Rocha Euripedes
8d98103013
Merge branch 'fix/account_for_failure_in_make_publish' into 'master'
...
fix: Error on publish message creation was ignored.
See merge request espressif/esp-mqtt!185
2023-06-30 20:42:28 +08:00
Euripedes Rocha
a3b04f2d0a
fix: LOG format strings
...
Fix log format strings and remove no-format warning configuration.
2023-06-30 10:17:32 +02:00
Euripedes Rocha
585e3ba2e0
fix: Error on publish message creation was ignored.
...
In the case of make_publish failure the client would just continue and
the error was ignored and not propagated to caller.
2023-06-27 15:13:54 +02:00
Euripedes Rocha
36eec6f625
Fix: Stop client only if it's running.
...
Check for client run instead of lock to call esp_mqtt_client_stop
when destroying the client.
2023-06-21 09:39:42 +02:00
Rocha Euripedes
effd1e6705
Merge branch 'bugfix/connection_buffer_allocation' into 'master'
...
Fix: Allocation for connection buffer was incorrectly done.
See merge request espressif/esp-mqtt!182
2023-06-21 14:57:11 +08:00
Euripedes Rocha
6c849c62ef
Fix: Allocation for connection buffer was incorrectly done.
...
By mistake calloc parameters were incorrect.
2023-06-21 08:24:46 +02:00
Rocha Euripedes
ee3ea29d52
Merge branch 'fix/host_test' into 'master'
...
Adds mqtt host tests to Ci
See merge request espressif/esp-mqtt!181
2023-06-20 13:27:02 +08:00
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