Commit Graph
415 Commits
Author SHA1 Message Date
David Čermák 2cdcdcb4fa Merge branch 'bugfix/mqtt_fix_int_sign_mismatch' into 'master'
MQTT: Fix signature matching for some integer values

See merge request espressif/esp-mqtt!128
2022-04-12 19:35:51 +08:00
gabsuren 6b794e4708 MQTT: Fix signature matching for integer values
Closes https://github.com/espressif/esp-idf/issues/8482
2022-04-08 19:56:56 +04:00
David Čermák 5878e2e8a6 Merge branch 'module_logging_tag_lower_case' into 'master'
Make the mqtt submodule logging tags lower case

See merge request espressif/esp-mqtt!122
2022-04-04 18:54:43 +08:00
AndriiFilippov fb3184cc14 Make the mqtt submodule logging tags lower case 2022-04-04 10:33:06 +02:00
Anton Maklakov 4874bab356 Merge branch 'bugfix/unused_var' into 'master'
remove unused variable

See merge request espressif/esp-mqtt!124
2022-03-04 18:59:54 +08:00
Anton Maklakov f83d2a9111 remove unused variable 2022-03-04 07:42:25 +00:00
David Čermák d3d816ed24 Merge branch 'bugfix/ci_update_for_passing' into 'master'
ci: update images to pass jobs with current IDF

See merge request espressif/esp-mqtt!126
2022-03-04 15:41:24 +08:00
Anton Maklakov 2e508fa6ef ci: update images to pass jobs with current IDF 2022-03-04 11:36:04 +07:00
David Čermák 08ce9ed83f Merge branch 'test/ci_qemu_master' into 'master'
CI: Fix idf-env for build and test against IDFv5.0

See merge request espressif/esp-mqtt!121
2022-02-07 09:03:12 +00:00
David Cermak b66b9745f6 reduce sizes and message counts for QEMU publish test 2022-02-03 10:39:27 +01:00
David Cermak 3a5334de6b ci: Test with QEMU against the latest IDF 2022-02-03 10:39:19 +01:00
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