Commit Graph

27538 Commits

Author SHA1 Message Date
luomanruo
79b2773102 change(ble): update controller log print interface 2023-09-12 17:40:50 +08:00
Aditya Patwardhan
47da0967ac Merge branch 'update/version_5_0_4' into 'release/v5.0'
versions: Update version to 5.0.4

See merge request espressif/esp-idf!25906
2023-09-12 15:54:55 +08:00
KonstantinKondrashov
f3876b60f5 fix(doc): Fix incorrect description for xts_key_length_256 efuse 2023-09-12 14:53:10 +08:00
wanglai@espressif.com
a02cb1ebc0 feat(bt/bluedroid): Add language base attr list to SDP record for BQB test 2023-09-12 13:04:33 +08:00
Linda
9fb3f19e3a docs: Updated wakeup GPIOs for ESP32-S2, ESP32-S3, ESP32-C6 and ESP32-H2 2023-09-12 11:17:07 +08:00
liqigan
4b7f77a769 change(bt/bluedroid): Optimize HIDD sending interrupt report behavior
HID device is allowed to trigger reconnection by sending an interrupt
report. When reconnection is in progress, no more interrupt report can
be sent until the procedure is accomplished.
2023-09-11 20:14:25 +08:00
Aditya Patwardhan
a4223c75a6 versions: Update version to 5.0.4 2023-09-11 10:38:15 +05:50
Sudeep Mohanty
9fe0fa3455 feat(freertos): Added SBOM manifest file for SPDX file generation
This commit adds the SBOM manifest file for the FreeRTOS-Kernel to aid
SPDX file generation.
2023-09-08 12:56:04 +02:00
cjin
e741807b5a ble: support esp32c2 wakeup overhead 2023-09-08 17:03:06 +08:00
cjin
a29eaf058e feat: Support esp32c2 BLE power save example 2023-09-08 17:03:03 +08:00
Peter Dragun
f06d3ff5bb fix(tools): fix autocomplete for --port option
Closes https://github.com/espressif/esp-idf/issues/7970
2023-09-08 09:29:20 +02:00
Frantisek Hrbata
ca31d75cc3 fix(tools): extend error message for failed python module import
Currently idf.py reports just "Please use idf.py only in an ESP-IDF shell environment".
Sometimes it may be useful to know for which module the import failed.
Also the problem does not have to be related to shell environment only, but the
python venv can be corrupted. This adds a little bit more verbose error
message.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-09-08 07:29:56 +02:00
zwl
dc417eeab9 feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:38:03 +08:00
zwl
99197d4a02 feat(ble): supported trace function and adv report flow control on esp32c2 2023-09-07 16:30:20 +08:00
muhaidong
d04b4e836b esp_wifi: update multi antenna switch docs 2023-09-07 14:43:29 +08:00
wanglai@espressif.com
60b4e1f998 feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test 2023-09-07 14:20:56 +08:00
wanglai@espressif.com
5f243e9b95 fix(bt/bluedroid): Changed HID related copyright automatically 2023-09-07 14:20:36 +08:00
Wang Mengyang
50a854ce10 ci(bt/bluedroid): Add CI build test for HFP examples with voice over HCI enabled 2023-09-07 11:37:18 +08:00
chenqingqing
fbf196a7f9 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-07 11:37:09 +08:00
Jin Cheng
54fecc5561 fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler 2023-09-07 10:59:06 +08:00
Jin Cheng
5dc39ebf5a docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call 2023-09-07 10:56:11 +08:00
Jin Cheng
963f5a40db fix(bt/bluedroid): Fixed invalid access to freed semaphore 2023-09-07 10:56:11 +08:00
Jin Cheng
fbf2d5d5d9 fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators 2023-09-07 10:56:11 +08:00
Jin Cheng
774056bf62 fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-09-07 10:56:11 +08:00
Jin Cheng
e1864ca1e8 fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback 2023-09-07 10:56:11 +08:00
Jin Cheng
e36e0f5233 fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP 2023-09-07 10:56:11 +08:00
Jin Cheng
f0ed003d91 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-09-07 10:56:11 +08:00
Jin Cheng
fb14ef7c24 fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer 2023-09-07 10:56:11 +08:00
muhaidong
2c3ae21591 esp_wifi: the antenna parameter of example is not correct 2023-09-07 10:56:06 +08:00
muhaidong
c4dffd57c3 esp_wifi: fix pre commit issue 2023-09-07 10:56:06 +08:00
xiehanxin
9c71aad75b add enum type for antenna number 2023-09-07 10:56:06 +08:00
xiehanxin
7bf89d83d5 add multiple antenna test example 2023-09-07 10:56:06 +08:00
Planck (Lu Zeyu)
9ab9e05639 feat(st7789): add data endian config
Closes https://github.com/espressif/esp-idf/issues/11416
2023-09-06 17:04:34 +08:00
Mahavir Jain
aba35cd526
fix(aes): correct the linking of the DMA descriptors
For certain data lengths, the last input descriptor was not getting appended
correctly and hence the EOF flag in the DMA descriptor link list was
set at incorrect location. This was resulting in the peripheral being
stalled expecting more data and eventually the code used to timeout
waiting for the AES completion interrupt.

Required configs for this issue:

CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_SOC_AES_SUPPORT_DMA

This observation is similar to the issue reported in:
https://github.com/espressif/esp-idf/issues/10647

To recreate this issue, start the AES-GCM DMA operation with data length
12280 bytes and this should stall the operation forever.

In this fix, we are tracing the entire descriptor list and then appending the
extra bytes descriptor at correct position (as the last node).
2023-09-06 08:30:00 +05:30
Mahavir Jain
29be69d797
fix(aes-gcm): correct the DMA completion wait condition for hardware GCM case
DMA operation completion must wait until the last DMA descriptor
ownership has been changed to hardware, that is hardware is completed
the write operation for entire data. Earlier for the hardware GCM case,
the first DMA descriptor was checked and it could have resulted in some
race condition for non interrupt (MBEDTLS_AES_USE_INTERRUPT disabled) case.
2023-09-06 08:29:57 +05:30
wanglai@espressif.com
c95c3ba38e feat(bt/bluedroid): Set SBC encoder as PTS required for BQB test.
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-09-05 01:55:37 +00:00
wanglai@espressif.com
14b1290a20 fix(bt/bluedroid): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE.
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
   send the error INVALID_CODEC_TYPE.
2023-09-05 01:55:37 +00:00
Liu Zhong Wei
8668c55512 feat(esp_lcd): add user data and init cmd 2023-09-04 13:26:18 +08:00
linruihao
7e4a64a9ab fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-09-04 11:36:29 +08:00
ding huan
1eae9ce61c ci(wifi): Test connect api at different phase 2023-09-02 21:48:59 +08:00
Shyamal Khachane
7a3d12316a fix(esp_wifi): Skip PMK cache usage if configured password is incorrect 2023-09-01 18:48:11 +05:30
wanlei
bf1a67362e fix(spi_master): polling_transmit forgot release bus lock when alloc DMA buffer failed
Close https://github.com/espressif/esp-idf/issues/11845
2023-09-01 17:30:26 +08:00
Peter Dragun
6c37f49d16 bug(tools): dependency check catch exception when package not installed 2023-08-30 17:14:10 +02:00
chenjianhua
11e8970a45 bluedroid: add GATT read multi variable API and evt 2023-08-30 15:17:56 +08:00
chenjianhua
0315b24514 bluedroid: add periodic adv sync transfer API and EVT 2023-08-30 15:17:47 +08:00
chenjianhua
630154ed2d bluedroid: support gatts show local database 2023-08-30 15:17:38 +08:00
chenjianhua
3100841f64 bluedroid: fixed GATT multi notify and robust caching 2023-08-30 15:17:30 +08:00
chenjianhua
285e86ad04 bluedroid: add config for GAP service and periodic adv sync transfer 2023-08-30 15:17:14 +08:00
chenjianhua
0b76c3615e bluedroid: add internal GATT API for PTS 2023-08-30 15:15:23 +08:00
chenjianhua
69b8b587c9 bluedroid: add config for robust caching and RPA timeout 2023-08-30 15:15:09 +08:00