b71c49c277
websocket: add configurable timeout for PONG not received
...
Closes IDF-1744
* Original commit: espressif/esp-idf@0049385850
2022-03-01 12:18:50 +04:00
f8e3ba7813
websocket client: the client now aborts the connection if send fails.
...
Closes IDF-1744
* Original commit: espressif/esp-idf@6bebfc84f3
2022-03-01 12:18:50 +04:00
7a5b2d5a7d
ws_client: fix fragmented send setting proper opcodes
...
Previous implementation violated the RFC by having both the actual opcode and WS_FIN flag set for all fragments of a message.
Fixed by setting the opcode only for the first fragment and WS_FIN for the last one
Closes IDFGH-2938
Closes https://github.com/espressif/esp-idf/issues/4974
* Original commit: espressif/esp-idf@14992e62c5
2022-03-01 12:18:50 +04:00
17281a515e
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
* Original commit: espressif/esp-idf@739eb05bb9
2022-03-01 12:18:50 +04:00
aec6a75d40
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
* Original commit: espressif/esp-idf@ffeda3003c
2022-03-01 12:18:50 +04:00
a6be8e2e3d
websocket: added missing event data
...
user_context was missing from websocket event data, added. Also added the websocket client handle to the event data.
Removed unused event data struct.
Closes: IDF-1271
* Original commit: espressif/esp-idf@7c0e3765ec
2022-03-01 12:18:50 +04:00
a48b0fafe8
Add User-Agent and additional headers to esp_websocket_client
...
Merges https://github.com/espressif/esp-idf/pull/4345
* Original commit: espressif/esp-idf@9200250f51
2022-03-01 12:18:50 +04:00
1fcc001ae8
ws_client: fix handling timeouts by websocket client.
...
tcp-transport component did not support wait forever. this update uses value of -1 to request this state.
websocket client uses timeouts in RTOS ticks. fixed recalculation to ms (including special value of -1) to use correctly tcp-transport component
Closes https://github.com/espressif/esp-idf/issues/4316
* Original commit: espressif/esp-idf@e1f982921a
2022-03-01 12:18:50 +04:00
d0121b964d
websocket_client: fix locking mechanism in ws-client task and when sending data
...
closes https://github.com/espressif/esp-idf/issues/4169
* Original commit: espressif/esp-idf@7c5011f411
2022-03-01 12:18:50 +04:00
f55d8391c9
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
* Original commit: espressif/esp-idf@abf9345b85
2022-03-01 12:18:50 +04:00
f5a26c4d32
websocket_client: fix URI parsing to include also query part in websocket connection path
...
closes https://github.com/espressif/esp-idf/issues/4090
* Original commit: espressif/esp-idf@271e6c4c9c
2022-03-01 12:18:50 +04:00
23f6a1d46e
ws_client: fixed posting to event loop with websocket timeout
...
Executing event loop `esp_event_loop_run()` with timeout causes delays in receiving events from user code. Fixed by removing the timeout to post synchronously.
closes https://github.com/espressif/esp-idf/issues/3957
* Original commit: espressif/esp-idf@50505068c4
2022-03-01 12:18:50 +04:00
2553d65e64
ws_client: added subprotocol configuration option to websocket client
...
closes https://github.com/espressif/esp-idf/issues/3893
* Original commit: espressif/esp-idf@de6ea396f1
2022-03-01 12:18:50 +04:00
67949f94f4
ws_client: fixed path config issue when ws server configured using host and path instead of uri
...
closes https://github.com/espressif/esp-idf/issues/3892
* Original commit: espressif/esp-idf@c0ba9e19fc
2022-03-01 12:18:50 +04:00
bfc88ab76c
ws_client: fixed transport config option when server address configured as host, port, transport rather then uri
...
closes https://github.com/espressif/esp-idf/issues/3891
* Original commit: espressif/esp-idf@adee25d90e
2022-03-01 12:18:50 +04:00
4d644954fe
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
* Original commit: espressif/esp-idf@003a9872b7
2022-03-01 12:18:50 +04:00
da74a4a489
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
...
* Original commit: espressif/esp-idf@afbaf74007
2022-03-01 12:18:50 +04:00
f718676083
ws_client: fix double delete issue in ws client initialization
...
* Original commit: espressif/esp-idf@9b507c45c8
2022-03-01 12:18:50 +04:00
13a40d2344
ws_client: removed dependency on internal tcp_transport header
...
* Original commit: espressif/esp-idf@d1433564ec
2022-03-01 12:18:50 +04:00
35d6f9a2c6
examples: use new component registration api
...
* Original commit: espressif/esp-idf@6771eead80
2022-03-01 12:18:50 +04:00
f3a0586663
esp_websocket_client: Add websocket client component
...
Closes https://github.com/espressif/esp-idf/issues/2829
* Original commit: espressif/esp-idf@2a2d932cfe
2022-03-01 12:18:50 +04:00
325a1933c4
fix: missing default statement in a switch in the modem_console example
2022-01-28 22:34:03 +07:00
face03e4e5
fix: add virtual destructors to ModuleIf and CommandableIf
2022-01-28 22:34:03 +07:00
2cb74cf8d0
Update(esp_modem): Bump component version
2021-12-06 12:49:09 +01:00
d879e82a42
fix(esp_modem): Update the test to exersise CBC parser
2021-12-06 11:17:24 +01:00
4f1d31f9b7
fix(esp_modem): Fix battery status parse
...
Variable `pos` was meant to hold position of first `,` (comma)
appearance in the parsed string, but due to wrong parantheses it
contained the boolean representation of not equal to `string::npos`
2021-12-06 11:17:24 +01:00
8417e232aa
fix(esp_modem): Read module name with AT commands
...
This fixes basic IDF test case which supplied dummy module name.
2021-11-25 16:24:52 +01:00
5f0832a0ad
Merge pull request #7 from david-cermak/feature/ci_test_report
...
CI: Add run host to the CI
2021-11-18 15:42:33 +01:00
5d9ad9cffd
esp_modem: Update FreeRTOS EventQueueHandle_t forward declaration
...
This commit includes freertos/event_groups.h header and removes the
forward declaration for EventGroupHandle_t.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com >
2021-11-18 16:24:35 +05:30
8465b14653
fix(esp_modem): linux port to work with lwip-2.1.2
2021-11-18 08:35:49 +01:00
96498760bf
esp_modem: New version to publish to component registry
2021-11-16 08:13:26 +01:00
cf990d1a87
Docs: Add links to GitHub pages
2021-11-16 08:11:57 +01:00
5299b425e8
esp_modem: Add missing AT commands to plain C-API
2021-11-16 08:03:30 +01:00
2c21aa1113
CI/Docs: Generate docs locally before uploading to registry
2021-11-16 07:51:24 +01:00
b9ff1e4e12
CI/Docs: Add jobs to deploy component docs
2021-11-12 16:51:21 +01:00
58887170d2
esp_modem: Update Task handle and Event Group handle to match freertos v10.4.3
...
This commit updates the default handles for Task type and Signal Group
type to match the struct type handle from freertos v10.4.3.
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com >
2021-11-08 10:46:53 +05:30
01e2a9c109
Examples: Fix print format for http_client() API
2021-11-04 11:41:11 +01:00
c8c24ed2fc
Examples: Fix build error when SIM needs no PIN
2021-11-03 13:59:24 +01:00
b380ded5fa
Examples: Use bigger 4M flash for OTA example
2021-11-03 13:59:24 +01:00
2a2d27086f
esp_modem(0.1.9): Fix CMake3.5 build with no cxx_std_17 feature
...
Older CMake (< 3.8, but still supported in IDF) doesn't support target_compile_features() for cxx_std_17.
If CMake doesn't know C++17 features, set it manually via comile options.
2021-10-04 11:35:27 +02:00
9dd1bd5ed0
esp_modem: 0.1.8: Update comonent version
2021-10-04 11:32:55 +02:00
918db0d2f1
Add pre upload script to deploy the docs before component upload
2021-10-04 11:32:55 +02:00
c1b1330680
esp_modem(Docs): Minor correction of the docs
2021-10-04 11:32:55 +02:00
fb7295e91a
Examples/console: Remove unnecessary event-base check on IP handler
2021-10-04 11:32:55 +02:00
8236b3d490
Examples: Extend CMux client default stack size for the main task
2021-10-04 11:32:55 +02:00
fb6029b66c
CMUX: Refactor the protocol decoder to multiple methods per cmux state
2021-10-04 11:32:55 +02:00
6e34954677
Factory: Rename Builder class to Creator, since it's not 100% builder pattern
2021-10-04 11:32:55 +02:00
148a9300a4
esp_modem: Formal updates per code review
2021-10-04 11:32:55 +02:00
1fb9150bcc
Docs: Update CMux collaboration diagram to resemble composite
2021-10-04 11:32:55 +02:00
a61e9e2d40
Applied astyle code formatting
2021-10-04 11:32:55 +02:00