Commit Graph
654 Commits
Author SHA1 Message Date
David Čermák 0eda78e9b7 Merge branch 'feature/include_alternative_for_esp_system' into 'master'
Replaced esp_system.h inclusion with esp_random.h and esp_mac.h

See merge request espressif/esp-mqtt!119
2022-01-28 07:21:01 +00:00
David Cermak b7b858cd7f ci: Run tests against IDF v5.0 only
* Supported build only test with ci-evn-5.0
* Disable temporarily publish-connect test on QEMU with qemu-v5.0:1-20210826
2022-01-28 08:09:27 +01:00
Sudeep Mohanty 1a96ea3efa Replaced esp_system.h inclusion with esp_random.h and esp_mac.h
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2022-01-17 15:33:11 +01:00
David Čermák 985078affa Merge branch 'bugfix/ci_image_update' into 'master'
Isolate IDF env for v4.4 and v5.0(master)

See merge request espressif/esp-mqtt!111
ESP-MQTT_FOR_IDF_4.x
2022-01-17 14:00:56 +00:00
David Cermak 4c5a65c79e ci: Isolate IDF env for v4.4 and v5.0(master) 2022-01-17 13:55:06 +01:00
David Čermák b021fc8e30 Merge branch 'bugfix/remove_legacy_freertos_types_usage' into 'master'
Client: Remove usage of legacy FreeRTOS types

See merge request espressif/esp-mqtt!120
2022-01-17 11:32:20 +00:00
David Cermak c28a56ddb0 ci: Fix build issues with IDF-4.4 against master
IDF env docker image (v4.4-1) became incompatible with IDF master (v5.0)
2022-01-17 10:22:27 +01:00
Darian Leung 6ef98d6510 Client: Remove usage of legacy FreeRTOS types 2022-01-13 00:34:53 +08:00
David Čermák 026253d802 Merge branch 'bugfix/fix_mqtt_send_long_data_error' into 'master'
mqtt_client: Fix mqtt send long data error

See merge request espressif/esp-mqtt!117
2021-12-22 02:15:33 +00:00
yuanjm 372b323535 mqtt_client: Fix mqtt send long data error
Closes https://github.com/espressif/esp-mqtt/issues/214
2021-12-21 15:31:56 +08:00
David Čermák 383e7e5f0f Merge branch 'bugfix/fix_enqueue_api' into 'master'
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
2021-12-06 12:01:07 +00:00
yuanjm df8dc92870 Client: Fix use esp_mqtt_client_enqueue API to send data, data dup flag will be set 1 2021-11-26 15:52:04 +08:00
David Čermák b86d42c130 Merge branch 'feature/mqtt_client_with_null_id' into 'master'
Adds the possibilty of client with empty id

See merge request espressif/esp-mqtt!114
2021-11-03 09:58:39 +00:00
David Cermak 08c4d62bf4 CI: Fix standard gitlab key 2021-11-03 09:30:08 +01:00
Euripedes Rocha 09287a1156 Removes redundant field on mqtt state
Client connection_info was unnecessarilly repeated. Removed from
mqtt_state and kept on mqtt_client.
2021-11-01 18:17:29 +01:00
Euripedes Rocha 1fd50dd2cb Adds a config flag to allow an empty client id
This commit covers a use case where the user can select to send an
empty user id.
2021-11-01 18:17:29 +01:00
David Čermák 36de30e46d Merge branch 'bugfix/send_diconnect_msg' into 'master'
Client: Disconnect/Reconnect improvements

See merge request espressif/esp-mqtt!113
2021-10-21 08:34:15 +00:00
David Cermak 320b058e28 CI: Adjust jobs for testing IDFs, cleanup
Removes CI jobs for static analysis and reports as they are not primarily used
2021-10-21 08:39:59 +02:00
David Cermak 3f05b1aedc Client: Fix reconnect/disconnect if auto_reconnect=off
Closes https://github.com/espressif/esp-mqtt/issues/206
2021-10-06 17:46:32 +02:00
David Cermak 86e40f8615 Send disconnect message if client asked to disconnect
https://github.com/espressif/esp-mqtt/issues/208
2021-10-06 17:46:32 +02:00
David Čermák 5ec3702881 Merge branch 'feature/add_suback_payload_flags_to_events' into 'master'
Events: Support qos/dup flags and suback payload in mqtt events (GitHub PR)

See merge request espressif/esp-mqtt!112
2021-10-04 10:53:17 +00:00
Bert Melis de47f1c341 add payload to MQTT_EVENT_SUBSCRIBE
+ documentation
+ cleanup logging

Closes https://github.com/espressif/esp-mqtt/issues/200
Merges https://github.com/espressif/esp-mqtt/pull/203
2021-10-04 10:38:02 +02:00
Bert Melis e1d5a9402f add qos and dup to MQTT_EVENT_DATA 2021-09-23 18:09:39 +02:00
David Čermák 89894bd0c6 Merge branch 'feature/configurable_retransmit' into 'master'
Add configurable retransmit (GitHub PR)

See merge request espressif/esp-mqtt!110
2021-09-15 18:10:50 +00:00
David Čermák 1d10608409 Merge branch 'feature/set_config_error_reporting' into 'master'
Reports config conflicts error to the user

See merge request espressif/esp-mqtt!102
2021-09-15 16:46:35 +00:00
David Čermák d7b00da517 Merge branch 'bugfix/mqtt_check_certbundle' into 'master'
Fix build issue if cert bundle disabled (GitHub PR)

See merge request espressif/esp-mqtt!109
2021-09-15 16:46:13 +00:00
Umer Ilyas 1b009c840b Config: Add configurable retransmit timeout
sometime user want to configure retransmit timeout due to network or other requirement

Merges https://github.com/espressif/esp-mqtt/pull/199
2021-09-15 18:43:23 +02:00
Euripedes Rocha 88f4b8ed50 Reports config conflicts error to the user
- Configuration conflicts were verified, logged but not reported to the
  user.
2021-09-15 15:09:23 +08:00
David Cermak 5b3c81ee48 Config: Fix build issue if WS/WSS transport disabled
Closes https://github.com/espressif/esp-idf/issues/7535
2021-09-10 09:15:41 +02:00
David Cermak 1b71980575 Config: Add error message if certbunde is not enabled
Merges https://github.com/espressif/esp-mqtt/pull/198
2021-09-07 15:42:11 +02:00
fractal-def 4a89bff610 Check CONFIG_MBEDTLS_CERTIFICATE_BUNDLE is set
Fixes a compilation error where `esp_transport_ssl_crt_bundle_attach` is undefined in this scenario.
2021-08-10 15:02:35 -06:00
David Čermák 026ea95338 Merge branch 'remove_outbox_cleanup_function' into 'master'
Removes unnecessary outbox_cleanup

See merge request espressif/esp-mqtt!108
2021-07-09 16:13:48 +00:00
David Čermák c11c314f44 Merge branch 'bugfix/report_enqueue_error' into 'master'
Fix: Return an error when fail to enqueue

See merge request espressif/esp-mqtt!103
2021-07-09 16:12:55 +00:00
Euripedes Rocha ebef896b00 Removes unnecessary outbox_cleanup
The states that were cleaned by this function, CONFIRMED, are no longer reachable.
Itens were marked with this status previously in PUBCOMP and PUBREL
receive handlers.
2021-07-01 14:40:45 +01:00
Euripedes Rocha 7471177fe7 Fix: Return an error when fail to enqueue
The functions that enqueue messages didn't had a return for the
handler, with this the error was only logged instead of returned which
may cause the user to have an ID for a message that was not published.
2021-07-01 09:29:58 +01:00
David Čermák e24852a4dc Merge branch 'bugfix/qemu_image_esp_env' into 'master'
CI: Use qemu image based on esp-env:v4.4-1

See merge request espressif/esp-mqtt!107
2021-06-28 08:16:56 +00:00
David Cermak 231b274962 CI: Use qemu image based on esp-env:v4.4-1 2021-06-28 08:15:10 +02:00
David Čermák f10321a53b Merge branch 'bugfix/remove_unnecessary_parenteses' into 'master'
Remove unnecessary parentheses.

See merge request espressif/esp-mqtt!101
2021-06-24 17:22:30 +00:00
Euripedes Rocha db13533904 Remove unnecessary parentheses.
- Removed extra parentheses on definition of certificate bundle attach.
2021-06-24 18:35:26 +02:00
David Čermák 831d25cb56 Merge branch 'update/qemu_test_IDFv4.3' into 'master'
CI: Update QEMU image and test against IDF v4.4-dev (plus minor fixes)

See merge request espressif/esp-mqtt!104
2021-06-24 16:34:31 +00:00
David Cermak a7e5accc7e CI: Temporariy update QEMU image with python 3.7.0
This will be removed once we updated QEMU image, based on the new CI
environment docker image.
2021-06-24 16:34:22 +02:00
David Cermak 90f0bf8dd4 Updated docker images to work with latest IDFv4.4 2021-06-24 07:40:43 +02:00
David Cermak 1a94efe8b9 outbox: Cleanup all items when connection closes 2021-06-24 06:31:29 +02:00
David Čermák c4b7324bd6 Merge branch 'feature/remove_unnecessary_queue_requests' into 'master'
Removes unnecessary calls to outbox_set_pending

See merge request espressif/esp-mqtt!105
2021-06-23 06:46:06 +00:00
David Čermák a4d5ee0f12 Merge branch 'feature/make_abort_connection_void' into 'master'
MQTT: Makes abort connection function void.

See merge request espressif/esp-mqtt!106
2021-06-23 06:45:15 +00:00
Euripedes Rocha 67553aba45 MQTT: Makes abort connection function void.
The function only returned ESP_OK and the call was always ignored.
2021-06-18 17:18:51 +01:00
Euripedes Rocha 36a3990404 Removes unnecessary calls to outbox_set_pending
The call of this function is unnecessary for PUBACK and PUBCOMP,
also the item is deleted on the call of is_valid_mqtt_msg and the
function allways fail.
2021-06-18 14:11:21 +01:00
David Cermak 2e15c9a5fe Fix IDF supported features: cert-bundle from v4.4 2021-06-17 12:33:34 +02:00
David Cermak 626dc3645b CI: Add build test for IDF v4.3 2021-06-17 12:33:34 +02:00
David Cermak c7ae67b7f0 CI: Update QEMU image and test against IDF master(v4.4-dev)
Also using test-apps instead of weekend tests.
2021-06-17 12:33:18 +02:00