Euripedes Rocha
89e5c6014f
fix: MQTT tick not starting on connect and switch to esp_timer
...
- Tick should be updated on connect
- Dependency of system timer removed to avoid issues when updating via
SNTP
Closes https://github.com/espressif/esp-mqtt/issues/225
2022-06-23 12:43:58 -03:00
David Čermák
493822dc9d
Merge branch 'feature/support_mqtt_5' into 'master'
...
mqtt: Support MQTT5 protocol
See merge request espressif/esp-mqtt!125
2022-06-14 21:40:57 +08:00
yuanjm
fdf2aeb36f
Seperate MQTT5 from MQTT 3.1.1
2022-06-14 09:37:46 +00:00
yuanjm
3d275f42b9
mqtt: Support MQTT5 protocol
2022-06-14 09:37:46 +00:00
David Čermák
0aa0a342a1
Merge branch 'bugfix/mqtt_ssl_build' into 'master'
...
mqtt_tcp: Fix build issue when `MQTT_ENABLE_SSL` is disabled
See merge request espressif/esp-mqtt!137
2022-06-14 17:31:41 +08:00
Laukik Hase
7253211a45
mqtt_tcp: Fix build issue when MQTT_SSL is disabled
2022-06-14 13:43:45 +05:30
David Čermák
a21c387d62
Merge branch 'refactor/tcp_transport' into 'master'
...
mqtt_client: Added checks for cleanly-closed connection and timeout
See merge request espressif/esp-mqtt!118
2022-06-09 15:20:24 +08:00
David Čermák
7a31a555e9
Merge branch 'bugfix/fix_esp_mqtt_client_enqueue' into 'master'
...
mqtt_client: fix esp_mqtt_client_enqueue for len=0 (GitHub PR)
See merge request espressif/esp-mqtt!135
2022-06-08 19:33:38 +08:00
David Čermák
16952ea66f
Merge branch 'bugfix/implicit_malloc_host_test' into 'master'
...
Fix implicit malloc/free inclusion
See merge request espressif/esp-mqtt!134
2022-06-08 18:52:04 +08:00
Laukik Hase
e05d873aa2
Added checks for cleanly-closed connection and timeout
...
- Related MR: https://gitlab.espressif.cn:6688/espressif/esp-idf/-/merge_requests/16394
2022-06-08 16:12:11 +05:30
David Cermak
9299f5400f
Fix implicit malloc/free inclusion
...
This fails when building on host
2022-06-08 05:16:29 +00:00
Craig Kewley
69b6493423
mqtt_client: fix esp_mqtt_client_enqueue for len=0
...
Commit 372b323 (mqtt_client: Fix mqtt send long data error, 2021-12-21)
removed the length calculation from esp_mqtt_client_enqueue_priv and
added it to esp_mqtt_client_publish. However, esp_mqtt_client_enqueue
was missed. Currently calls to esp_mqtt_client_enqueue appear to send no
data, fix this by adding the length calculation to esp_mqtt_client_enqueue.
2022-05-30 21:56:33 +01:00
David Čermák
7f765cac2c
Merge branch 'feature/optimize_mqtt_transport_list' into 'master'
...
feat(mqtt): Optimize mqtt transport list and remove unused transport
See merge request espressif/esp-mqtt!131
2022-05-23 22:19:24 +08:00
Yuan Jian Min
647e0eff32
feat(mqtt): Optimize mqtt transport list and remove unused transport
2022-05-23 22:19:24 +08:00
David Čermák
684843a309
Merge branch 'bugfix/wrong_wss_port_definition' into 'master'
...
Fix WSS default port selection through menuconfig.
See merge request espressif/esp-mqtt!132
2022-05-17 15:43:37 +08:00
Euripedes Rocha
f6caaff254
Fix WSS default port selection through menuconfig.
...
Evaluate the correct define to select default port.
- Closes https://github.com/espressif/esp-mqtt/issues/223
2022-05-17 07:16:07 +00:00
David Čermák
64f88b4412
Merge branch 'bugfix/fix_transport_config_documentation' into 'master'
...
Fix documentation of config struct
See merge request espressif/esp-mqtt!129
2022-05-03 20:09:10 +08:00
Euripedes Rocha
e31834c00f
Fix documentation of config struct
...
- Transport selection enum was incorrectly pointed as having precedence
over URI.
- Added names to unnamed enums and structs on typedefs.
- Reorganize config struct fields grouping fields with related context.
2022-05-02 13:29:39 -03:00
David Čermák
59b48a4d49
Merge branch 'bugfix/keep_alive_ping_periodic' into 'master'
...
Changes the moment we update keepalive_tick.
See merge request espressif/esp-mqtt!127
2022-04-19 22:16:19 +08:00
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
Euripedes Rocha
2c2e6f38b5
Changes the moment we update keepalive_tick.
...
In order to keep sending keep alive messages in the scenario were client
publish too often with QoS0 the keepalive is updated when the response
is received.
2022-04-07 09:14:03 -03: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