Euripedes Rocha
0d8f2a6d53
fix(websocket): Move client to different state when disconnecting
...
If Websocket client is set to not reconnect, we move to Unknown state to
clean up the task after dispatching disconnected event.
2024-08-19 12:52:37 +02:00
Euripedes Rocha
aecf6f80bf
feat(websocket): Make example to use certificate bundle
...
To easy maintenance, makes the example on websocket client to use
certificate bundle by default.
2024-08-16 16:17:10 +02:00
Suren Gabrielyan
e583848695
Merge pull request #616 from huming2207/master
...
fix(websocket): don't fetch transport from the list if external transport is set
2024-07-22 11:34:26 +04:00
Suren Gabrielyan
5ccc018a98
fix(websocket): fix of websocket host example
2024-07-19 15:50:07 +04:00
Jackson Ming Hu
9d4d5d2d49
fix(websocket): don't get transport from the list if external transport is used
2024-07-16 16:53:40 +10:00
Suren Gabrielyan
906e447193
Merge pull request #573 from huming2207/feature/ws-transport-handle
...
feat(websocket): allow using external TCP transport handle (IDFGH-12825)
2024-07-12 16:50:33 +04:00
Suren Gabrielyan
15ae280bbe
Merge pull request #608 from johanstokking/feature/websocket/tls_keepalive_ifname
...
feat(websocket): adding support for `if_name` when using WSS transport
2024-07-10 12:37:27 +04:00
Suren Gabrielyan
e6f9fe2385
Merge pull request #583 from DCSBL/ws-client-common-name
...
feat(websocket_client): Add option to set and use cert_common_name in Websocket client (IDFGH-12926)
2024-07-10 12:29:52 +04:00
Duco Sebel
3a6720ded6
feat(websocket): Add option to set and use cert_common_name in Websocket client
2024-07-10 09:19:48 +02:00
Johan Stokking
333a68936a
feat(websocket): adding support for if_name when using WSS transport
2024-07-05 13:34:03 +02:00
Erki Aring
bd9f062709
feat(websocket): allow updating reconnect timeout for retry backoffs
2024-07-02 21:07:50 +03:00
Jackson Ming Hu
83ea2876fc
feat(websocket): allow using external tcp transport handle
2024-06-21 14:47:03 +10:00
Suren Gabrielyan
6393fcd79a
fix(websocket): Fix locking issues of esp_websocket_client_send_with_exact_opcode API
...
Extended examples to cover more cases
Added new config CONFIG_ESP_WS_CLIENT_ENABLE_DYNAMIC_BUFFER for testing
2024-05-17 12:37:10 +04:00
Suren Gabrielyan
c728eae5ea
feat(websocket): adding support for keep_alive_enable when using WSS transport
2024-04-22 10:57:36 +04:00
Suren
1750a3fda9
Merge pull request #535 from gabsuren/websocket_update
...
bump(websocket): 1.2.2 -> 1.2.3
2024-03-27 17:35:52 +04:00
Suren Gabrielyan
fcc61e0929
fix(websocket): fix of websocket host build
2024-03-26 19:00:03 +04:00
Suren Gabrielyan
a65d81c954
bump(websocket): 1.2.2 -> 1.2.3
...
1.2.3
Features
- Expanded example to demonstrate the transfer over TLS (0d0630ed76 )
Bug Fixes
- fix esp_event dependency management (1fb02a9a60 )
- Skip warn on zero timeout and auto reconnect is disabled (5b467cbf5c )
- Fixed to use int return value in Tx functions (9c54b72e1f )
- Fixed Tx functions with DYNAMIC_BUFFER (16174470ee )
- added dependency checks, sdkconfig.defaults and refined README.md (312982e4aa )
- Close websocket and dispatch event if server does not close within a reasonable amount of time. (d85311880d )
- Continue waiting for TCP connection to be closed (2b092e0db4 )
Updated
- docs(websocket): Added README for websocket host example (2f7c58259d )
2024-03-22 14:37:13 +04:00
Richard Allen
1fb02a9a60
fix(websocket): fix esp_event dependency management
...
Move esp_event from PRIV_REQUIRES to REQUIRES, as it is
included by esp_websocket_client.h, so any code including
that header also requires esp_event.
This resolves the following build error for files not
explicitly requiring esp_event:
ninja: build stopped: subcommand failed.
Compilation failed because esp_websocket_client.h (in "espressif__esp_websocket_client" component) includes esp_event.h, provided by esp_event component(s).
However, esp_event component(s) is in the private requirements list of "espressif__esp_websocket_client".
To fix this, move esp_event from PRIV_REQUIRES into REQUIRES list of idf_component_register call in ...\managed_components\espressif__esp_websocket_client\CMakeLists.txt.
ninja failed with exit code 1, output of the command is in...
2024-03-08 10:10:48 -06:00
Johan Stokking
5b467cbf5c
fix(websocket): Skip warn on zero timeout and auto reconnect is disabled
2024-03-06 22:20:48 +01:00
David Cermak
9c54b72e1f
fix(websocket): Fixed to use int return value in Tx functions
2024-02-28 12:48:06 +01:00
David Cermak
16174470ee
fix(websocket): Fixed Tx functions with DYNAMIC_BUFFER
2024-02-28 12:47:59 +01:00
Suren Gabrielyan
0d0630ed76
feat(websocket): Expanded example to demonstrate the transfer over TLS
2024-02-23 12:08:41 +04:00
david-cermak
38a3631a27
Merge pull request #495 from eht-datarespons/master
...
fix(websocket): Continue waiting for TCP connection to be closed (IDFGH-11965)
2024-02-08 14:37:44 +01:00
Suren Gabrielyan
312982e4aa
fix(websocket): added dependency checks, sdkconfig.defaults and refined README.md
2024-02-05 13:22:39 +04:00
Eldar Hauge Torkelsen
d85311880d
fix(websocket): Close websocket and dispatch event if server does not close within a reasonable amount of time.
2024-01-29 08:01:39 +01:00
Suren
5ba7cfab8e
Merge pull request #496 from gabsuren/readme_websocket_linux
...
docs(websocket): Added README for websocket host example (IDF-9115)
2024-01-26 20:31:15 +04:00
Suren Gabrielyan
2f7c58259d
docs(websocket): Added README for websocket host example
2024-01-26 20:29:28 +04:00
Eldar Hauge Torkelsen
2b092e0db4
fix(websocket): Continue waiting for TCP connection to be closed
...
Prevents an issue where WEBSOCKET_EVENT_CLOSED is not sent after
websocket is closed.
2024-01-23 14:58:27 +01:00
Suren Gabrielyan
eb7699388c
bump(websocket): 1.2.1 -> 1.2.2
...
1.2.2
Bug Fixes
- continuation after FIN in websocket client (#460 ) (774d1c75e6 )
- Re-applie refs to common comps idf_component.yml (9fe44a4504 )
2024-01-16 12:17:25 +04:00
feedc0de
774d1c75e6
fix: continuation after FIN in websocket client ( #460 )
2023-12-19 17:00:17 +01:00
david-cermak
909e8d9494
Merge pull request #441 from david-cermak/fix/apply_examples_idf_component_refs
...
fix(common): Re-applied refs to common comps idf_component.yml
2023-11-28 17:44:13 +01:00
Suren Gabrielyan
c6448c3bd1
bump(websocket): 1.2.0 -> 1.2.1
...
1.2.1
Bug Fixes
- consider failure if return value of `esp_websocket_client_send_with_exact_opcode` less than 0 (f523b4d )
- fix of return value for `esp_websocket_client_send_with_opcode` API (ba33588 )
2023-11-28 16:42:55 +04:00
Suren Gabrielyan
f523b4dc84
fix(websocket): consider failure if return value of esp_websocket_client_send_with_exact_opcode less than 0
2023-11-28 16:40:10 +04:00
Suren Gabrielyan
ba33588008
fix(websocket): fix of return value for esp_websocket_client_send_with_opcode API
2023-11-28 12:37:31 +04:00
David Cermak
9fe44a4504
fix(common): Re-applie refs to common comps idf_component.yml
...
This reverts commit 74fc228cdf .
This reverts commit b176d3abbb .
This reverts commit f9e0281a04 .
2023-11-28 09:32:52 +01:00
David Cermak
f52a38ba34
bump(websocket): 1.1.0 -> 1.2.0
...
1.2.0
Features
- Added new API `esp_websocket_client_append_header` (39e9725 )
- Added new APIs to support fragmented messages transmission (fae80e2 )
Bug Fixes
- Reference common component from IDF (74fc228 )
- Revert referencing protocol_examples_common from IDF (b176d3a )
- reference protocol_examples_common from IDF (025ede1 )
- specify override_path in example manifests (d5e7898 )
- Return status code correctly on esp_websocket_client_send_with_opcode (ac8f1de )
- Fix pytest exclusion, gitignore, and changelog checks (2696221 )
2023-11-28 07:42:49 +01:00
David Cermak
74fc228cdf
fix(common): Reference common component from IDF
2023-11-28 07:42:28 +01:00
David Cermak
b176d3abbb
fix(websocket): Revert referencing protocol_examples_common from IDF
...
This reverts commit 025ede12e8 .
2023-11-28 07:23:32 +01:00
Ivan Grokhotkov
025ede12e8
fix(esp_websocket_client): reference protocol_examples_common from IDF
...
This makes the 'target' example usable from the component registry.
'linux' example still has a bunch of EXTRA_COMPONENT_DIRS, but at
least we can delete the protocol_examples_common copy.
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
d5e789883f
fix(esp_websocket_client): specify override_path in example manifests
2023-11-09 15:32:05 +01:00
david-cermak
d7d249013f
Merge pull request #401 from gabsuren/PR_393
...
fix(websocket): Return status code correctly on esp_websocket_client (IDFGH-11290)
2023-10-24 16:32:19 +02:00
Sojan James
ac8f1de187
fix(websocket): Return status code correctly on esp_websocket_client_send_with_opcode
2023-10-24 17:23:57 +04:00
Abhik Roy
269622170e
fix(common): Fix pytest exclusion, gitignore, and changelog checks
2023-10-20 17:28:48 +02:00
Suren Gabrielyan
39e972544f
feat(websocket): Added new API esp_websocket_client_append_header
2023-10-16 12:27:29 +04:00
Suren Gabrielyan
fae80e2f3f
feat(websocket): Added new APIs to support fragmented messages transmission
...
Intoduced new APIs`esp_websocket_client_send_text_partial`,
`esp_websocket_client_send_bin_partial`
`esp_websocket_client_send_cont_mgs`
`esp_websocket_client_send_fin`
`esp_websocket_client_send_with_exact_opcode`
2023-10-03 18:43:58 +04:00
Suren Gabrielyan
38d50eede0
bump(websocket): 1.0.1 -> 1.1.0
...
1.1.0
Features
- Added linux port for websocket (a22391a )
Bug Fixes
- added idf_component.yml for examples (d273e10 )
2023-08-22 14:26:12 +04:00
Suren Gabrielyan
d273e10819
fix(common): added idf_component.yml for examples
2023-08-22 13:55:10 +04:00
Suren
5143f5ac01
Merge pull request #310 from gabsuren/feat/websocket_linux_port_component
...
feat(websocket): Added linux port for websocket (IDF-7097)
2023-07-27 11:07:06 +04:00
Suren Gabrielyan
b880fc0367
bump(websocket): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- esp_websocket_client client allow sending 0 byte packets (b5177cb )
- Cleaned up printf/format warnings (-Wno-format) (e085826 )
- Added unit tests to CI + minor fix to pass it (c974c14 )
- Reintroduce missing CHANGELOGs (200cbb3 , #235 )
Updated
- docs(common): updated component and example links (f48d9b2 )
- docs(common): improving documentation (ca3fce0 )
- Fix weird error message spacings (8bb207e )
2023-07-25 13:55:59 +04:00
Suren Gabrielyan
a22391ae2c
feat(websocket): Added linux port for websocket
2023-07-18 14:18:39 +04:00