windowsair
1f31710f97
feat(websocket): Add support for websocket transport layer
...
This patch adds support for websocket servers, the websocket code is
copied from corsacOTA.
2024-07-03 21:06:53 +08:00
kerms
94708c75e1
add(wifi) add wifi led status
2024-07-02 14:22:58 +08:00
kerms
4600f384dd
fix(FM_DATE) single quote in the date string
2024-06-26 15:15:37 +08:00
kerms
9b031581d6
change uart and jtag gpio pin
2024-06-22 16:39:34 +08:00
kerms
5bac7ae67b
change system api ID to 0
2024-06-22 14:57:34 +08:00
windowsair
fb32c9bdff
fix(dap): Fix DAP_SPI_WriteBits issue
...
In the previous implementation, we assumed that we were running on Keil,
so for tools such as OpenOCD, they would not be able to establish a
connection using the SPI rate.
(cherry picked from commit ef71750678aaddbb4d55eb2b428c44b3af122556)
2024-06-22 14:53:03 +08:00
windowsair
0d8d7a014f
fix(dap): Only setup SWD port when using SPI speed
...
Connection problems may occur at SPI speeds when DAP_Connect and
DAP_SWJ_Clock are called in different orders.
Let's setup SWD at SPI rates to avoid potential timing issues.
(cherry picked from commit a89be4248eb7676109183183b0360dd57e02f039)
2024-06-22 14:52:26 +08:00
kerms
2426e56191
fix(soft reset) when reset, manual write to AIRCR/SYSRESETREQ
2024-06-22 14:52:10 +08:00
kerms
a48936a90a
reformat: code cleanup and reformat some API_JSON returns
2024-06-22 14:52:02 +08:00
kerms
3386a56024
feat(wt_system api): get fm_ver and software reboot
2024-06-22 14:46:20 +08:00
kerms
b5a4b38c8d
fix(ws) memory leak due to json.in and ws not closed correctly
2024-06-22 14:32:56 +08:00
kerms
209f62866b
fix(ws) concurrent access to websocket
2024-06-22 14:28:48 +08:00
kerms
8fba1208f3
reformat(static_buffer) to memory_pool and feat:global resource management
2024-06-22 14:12:31 +08:00
kerms
3a5968f0fa
fix(USBIP): DAP_task is blocked indefinitely, revert deleted kDAPTaskHandle #1
2024-05-05 11:34:08 +08:00
kerms
35509e3164
Update issue templates
2024-05-04 22:51:27 +08:00
kerms
65ce47a62d
revert(uart bridge) reverted temporally, will be completely rewritten in the next release
2024-04-21 15:24:50 +08:00
kerms
1eef5dcecf
fix(http hdr) increase hdr tp 1024 B in case some browser send big header
2024-04-20 13:22:06 +08:00
kerms
eccb1aad49
feat(esp32s3) add default sdkconfig
2024-04-20 13:22:01 +08:00
kerms
0624c6b826
feat(esp32s3) add support for esp32s3
2024-04-19 21:22:32 +08:00
kerms
12cd38ba44
feat(chip) add back ESP32 support
2024-04-18 14:39:00 +08:00
kerms
7865d7248e
fix(wifi) back to normal reconnection mode after fast reconnection
2024-04-17 18:35:54 +08:00
kerms
e383332d9c
set(sdkcondig) set socket numebr to max(=16) and remove some config to use default
2024-04-15 14:57:09 +08:00
kerms
86a8804cca
fix(DAP) reset not working when FREERTOS FREQ < 500
2024-04-15 14:54:39 +08:00
kerms
e547a83938
fix(nvs) use wt_nvs instead of the default 'nvs' partition
2024-04-08 10:39:17 +08:00
kerms
70b026228a
feat(html) add wifi connection and scan function
2024-04-01 16:58:19 +08:00
kerms
c5f46accc3
feat(wifi) fast connect on boot and disconnection
...
- add json api get tools's ap info
- cleanup some unused code, change printf to ESP_LOG
2024-04-01 12:39:50 +08:00
kerms
2ac6d894b8
feat(wifi) add cmd and module_id to response packet
2024-03-20 10:37:12 +08:00
kerms
070abcfeee
bump esp-idf version to v5.2.1 and update workflows
2024-03-18 19:36:12 +08:00
kerms
45e7b6d90c
Merge and sync fork form 'windowsair/master'
2024-03-17 19:17:09 +08:00
kerms
5bab7fed51
feat(ws): heartbeat to prevent irregular connection loss such as wifi connection change
2024-03-17 14:42:02 +08:00
kerms
6fdfa76a14
feat(wifi) save credential on successful connection and auto connect to it
2024-03-05 16:43:50 +08:00
kerms
a4d65c367d
feat(websocket) json api
2024-03-01 14:33:04 +08:00
kerms
90782fda82
feat async job runner
...
api_json_module can now fill api_json_module_async_t and return API_JSON_ASYNC to make the function call asynchronized. Useful for long running task like wifi scan.
2024-02-20 21:00:01 +08:00
kerms
537792e298
bump esp-idf version to v5.2.0
2024-02-20 20:54:01 +08:00
windowsair
fa3e6ec92f
fix: fix compile error
2024-02-16 19:22:10 +08:00
windowsair
16f8b53a76
refactor(network): Refactor usbip and tcp process code
...
In previous versions, parsing of the usbip protocol was implemented
via a global state machine and shared with elaphureLink.
The refactored code removes these global state machines and handles them
with the corresponding protocol header commands.
2024-02-16 18:46:50 +08:00
kerms
f8b7592f13
feat wifi scan using http/json
2024-02-14 16:06:31 +08:00
windowsair
8abe565836
feat(dap): Add support for cmsis-dap v2.1.0
...
- Enhanced DAP_Info
- Added extra UART support
Extra UART for native cmsis-dap is not yet support now.
2024-02-08 19:33:59 +08:00
kerms
b00f2b2dd4
add base uri api using http post/json
2024-02-01 09:19:42 +08:00
windowsair
acfd967106
feat(usb): change usb interface name to "Wireless ESP CMSIS-DAP"
...
pyOCD identifies the debugger by USB interface name, which include
substring "CMSIS-DAP". Let's change USB interface name to adapt pyOCD.
2024-01-28 21:21:14 +08:00
windowsair
3a7ed5922f
ci: update codeql to v3
...
Use esp32 target to build code for codeql.
2024-01-28 21:05:42 +08:00
kerms
96821809ad
reformat esp32 chip and migrate skdconfig to idf-v5
2024-01-27 21:09:24 +08:00
kerms
ea55a6f576
reformat wifi
2024-01-27 18:53:09 +08:00
kerms
24aa3bed7f
remove unused includes, files and reference
2024-01-26 13:43:10 +08:00
kerms
8e3b541d26
reformat from main to components
2024-01-26 13:33:27 +08:00
kerms
5dd9b9dad8
fix address-of-packed-member warning of usb_handle
2023-12-18 21:13:58 +08:00
kerms
24b5f60b34
migrate to idfv5.1.2 (netif, wifi_event)
2023-12-18 16:48:34 +08:00
windowsair
cc8e819009
ci: Bump codeql run os to ubuntu20.04
2023-11-05 23:42:52 +08:00
windowsair
687e9531b8
ci: bump esptool to v4.6.2
2023-11-05 23:26:52 +08:00
windowsair
6ffe17fb13
ci: Update to ubuntu20.04
2023-04-15 11:59:56 +08:00