Commit Graph

25970 Commits

Author SHA1 Message Date
zwj
0733694f1f Update bt lib for ESP32
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:26:17 +08:00
zwj
e7ee437bcf Update bt lib for ESP32-C3 and ESP32-S3
- Add config to set duplicate scan list refresh period
- overwrite the oldest device infor if the list is full
- Fixed duplicate scan period is not accurate
2022-12-19 20:24:26 +08:00
chenjianhua
e95d7202ce update bt lib for ESP32-C3 and ESP32-S3
1 fixed privacy error for directed adv
2 fixed multi periodic adv sync failed in air
2022-12-19 20:23:34 +08:00
zwj
c656e7ec07 Fixed some memory was not released after bluetooth controller initialization failed on ESP32-C3 and ESP32-S3 2022-12-19 20:22:58 +08:00
chenjianhua
0b8f0e5456 update bt-lib for ESP32
1 change default TX power to 9 dBm
2 fixed disconnect reason 0x1f (unspecified error)
3 fixed connection timeout due to terminate ind has not been acknowledged
2022-12-19 20:19:59 +08:00
zwj
5fff471b50 Fixed some memory was not released after bluetooth controller initialization failed on ESP32 2022-12-19 20:19:28 +08:00
chenjianhua
938d912daa bluedroid: fix ble connection update with same params 2022-12-19 20:17:00 +08:00
chenjianhua
e8fef195a2 examples: fix ble hid led output report 2022-12-19 20:17:00 +08:00
chenjianhua
c97df72bb2 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-19 20:17:00 +08:00
chenjianhua
4b7702c0a4 bluedroid: correct the length of att read by type pdu 2022-12-19 20:17:00 +08:00
Jiang Jiang Jian
dfa9a81233 Merge branch 'feature/add_periodic_helper_macros_v5.0' into 'release/v5.0'
Nimble: Add helper macros to set interval min / max for periodic adv (v5.0)

See merge request espressif/esp-idf!21620
2022-12-19 19:33:27 +08:00
Jiang Jiang Jian
4ace4e6bec Merge branch 'bugfix/skip_sae_during_wps_v5.0' into 'release/v5.0'
esp_wifi: Add changes to skip SAE handshake during WPS connection

See merge request espressif/esp-idf!21677
2022-12-19 19:33:04 +08:00
zhangyanjiao
bf8167ed42 fix typos in docs 2022-12-19 14:20:29 +08:00
Krzysztof Budzynski
c43c41967c fix typos error 2022-12-19 14:20:16 +08:00
zhangyanjiao
270940dda0 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
Sarvesh Bodakhe
869d8c4fd8 esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished

Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-19 14:19:14 +08:00
chenjianxing
a01847c24f esp_wifi: fix multicast pkts drop issue for some AP when DTIM period > 1
Closes WIFI-5076
2022-12-19 14:18:27 +08:00
Jessy Chen
6818b3012d esp_wifi: upload more wifi pkt info in rx callback for espnow & csi 2022-12-19 14:16:48 +08:00
Kapil Gupta
096aa4b84d esp_exmaples: Update ESP32C2 chip in Readme 2022-12-19 14:15:24 +08:00
Kapil Gupta
2accc311a2 WiFi: Add WPS softAP registrar example and events 2022-12-19 14:09:05 +08:00
muhaidong
81f39c8d09 esp_wifi: fix softap beacon memory leak issue
1. fix softap beacon memory leak issue.
2. fix esp wifi sta get ap info does not return connected ssid issue.
3. update inactive timer when recv ps-poll or success send data.
4. decrease test memory leak threshold.
2022-12-19 14:07:22 +08:00
Jiang Jiang Jian
8281933297 Merge branch 'bugfix/bdsa_security_issues_v5.0' into 'release/v5.0'
esp_wifi:BDSA related patch updates

See merge request espressif/esp-idf!21676
2022-12-19 13:52:30 +08:00
xiongweichao
32a50118a4 Assert when malloc user_data fail 2022-12-19 11:32:19 +08:00
xiongweichao
474cf2cf64 Modified spp vfs example 2022-12-19 11:32:14 +08:00
xiongweichao
29b718bdf5 Fixed memory leak when SPP initialization failed 2022-12-19 11:32:09 +08:00
xiongweichao
3f5aaf11db Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register() 2022-12-19 11:32:01 +08:00
Kapil Gupta
51dfbafce2 esp_wifi: Add changes to skip SAE handshake during WPS connection 2022-12-19 09:00:24 +05:30
Jiang Jiang Jian
c881f2dd6f Merge branch 'bugfix/flush_pmk_for_akm_change_v5.0' into 'release/v5.0'
esp_wifi: Flush PMK caching if bss akm has changed(backport v5.0)

See merge request espressif/esp-idf!21646
2022-12-19 10:47:29 +08:00
Jiang Jiang Jian
10bb4c8279 Merge branch 'bugfix/update_esp_rom_gpio_header_v5.0' into 'release/v5.0'
esp_rom: update rom gpio.h (backport v5.0)

See merge request espressif/esp-idf!21621
2022-12-19 10:47:24 +08:00
Jiang Jiang Jian
31a58dbb4e Merge branch 'bugfix/a2dp_error_code_v5.0' into 'release/v5.0'
bt: Update A2DP version to v1.4(v5.0)

See merge request espressif/esp-idf!21622
2022-12-19 10:46:58 +08:00
Shreyas Sheth
e566e0b597 esp_wifi:BDSA related patch updates 2022-12-19 02:14:26 +05:30
David Cermak
d2791b32fd esp_netif: Post IP event for PPP netifs unconditionally
IP update notification for "point to point" interfaces is performed
via the same callback function as for any other interfaces (dhcp_cb,
although it's not DHCP related). In P2P interfaces we have to assure
that we always get a notification, so we can set the interface up.
This was omitted when getting the same IP address for the second
time, causing the PPPoS interface (in esp-modem applications) failing
to reconnect if disconnected.

Closes https://github.com/espressif/esp-idf/issues/10308
Closes https://github.com/espressif/esp-protocols/issues/188
2022-12-16 18:32:55 +01:00
Chip Weinberger
12f8e55d7c
[Panic] also print to secondary USB Serial/JTAG Console 2022-12-16 14:40:00 +01:00
morris
6d22959461 doc: recommend turn on psram xip feature for bounbe buffer mode 2022-12-16 17:48:28 +08:00
Liu Zhongwei
07d65333c3 rgb_lcd: support multi-fb with bounce buffer 2022-12-16 17:48:28 +08:00
morris
e207c60805 Merge branch 'bugfix/no_more_public_adc2_dma_on_c3_s3_v5.0' into 'release/v5.0'
adc: no longer support adc2 continuous mode on esp32c3 and esp32s3 (v5.0)

See merge request espressif/esp-idf!21645
2022-12-16 17:46:31 +08:00
Mahavir Jain
88c3e0b4d4
docs: Fix Secure DL mode documentation about flash read being unsupported
Simple flash read command is not supported if Secure DL mode is enabled on the target.
Remove reference of this from the relevant docs part.

Related: https://github.com/espressif/esptool/issues/810
Related: ESPTOOL-567
Closes IDF-6468
2022-12-16 11:51:52 +05:30
Island
8866d09830 Merge branch 'bugfix/change_the_level_of_nimble_log_forv5.0' into 'release/v5.0'
ble_mesh:example:change the level of nimble host log(v5.0)

See merge request espressif/esp-idf!21628
2022-12-16 14:12:51 +08:00
morris
ac5898c848 Merge branch 'bugfix/fix_mspi_timing_tuning_psram_timing_issue_v5.0' into 'release/v5.0'
mspi_tuning: fix psram timing tuning bug (v5.0)

See merge request espressif/esp-idf!21624
2022-12-16 14:05:59 +08:00
Armando
bb074904b4 adc: no longer support adc2 oneshot mode on esp32c3
Due to HW limitation, we don't support this anymore. On c3, ADC2 under oneshot mode is not stable.

However, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Armando
1c373cf293 adc: no longer support adc2 continuous mode on esp32c3 and esp32s3
Due to HW limitation, we don't support this anymore. On s3 and c3, ADC2 under continuous  mode is not stable.

However, you can enable CONFIG_ADC_CONTINUOUS_FORCE_USE_ADC2_ON_C3_S3 to force use
ADC2.

Refer to errata to know more details:
https://www.espressif.com/sites/default/files/documentation/esp32-s3_errata_en.pdf
https://www.espressif.com/sites/default/files/documentation/esp32-c3_errata_en.pdf
2022-12-16 12:07:38 +08:00
Armando
6fd80903de adc: added a soc macro indicating digital controller supported unit 2022-12-16 12:07:38 +08:00
Kapil Gupta
39ed5dc39d esp_wifi: Flush PMK caching if bss akm has changed 2022-12-16 08:33:28 +05:30
Yuan Hong Hui
eff97476eb ble_mesh:example:change the level of nimble host log 2022-12-15 17:57:12 +08:00
Armando
2369fa4d66 mspi_tuning: fix psram timing tuning bug
Prior to this commit, when calling:
- spi_timing_enter_mspi_low_speed_mode()
- spi_timing_enter_mspi_high_speed_mode()

psram timing is not tuned. This will lead to a stall during early
startup. This bug is on S3, for 80MHz DDR PSRAM

This commit will add psram timing tuning, in these two functions.
2022-12-15 17:04:23 +08:00
xiongweichao
71bd180095 bt: Update HFP version to v1.8 2022-12-15 16:57:56 +08:00
xiongweichao
e5794669de bt: Update A2DP version to v1.4 2022-12-15 16:57:51 +08:00
xiongweichao
9bd1484386 bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code 2022-12-15 16:57:46 +08:00
jiangguangming
5f7d8bfd6b esp_rom: update rom gpio.h 2022-12-15 16:27:57 +08:00
Rahul Tank
1623ad0a25 Nimble: Add helper macros to set interval min / max for periodic adv 2022-12-15 13:41:24 +05:30