Commit Graph

2659 Commits

Author SHA1 Message Date
liuning
626b87871d blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-12-14 19:23:08 +08:00
Rahul Tank
4e366665ae Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-13 12:56:29 +05:30
jincheng
629d445374 Added ACL link related events handler in A2DP sink GAP callback 2022-12-09 11:16:08 +08:00
wangjialiang
0f95a31589 ble_mesh: stack: Fix exceptional list parameters check issue 2022-12-05 20:26:11 +08:00
Rahul Tank
6040bba236 Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.

Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.

End user can enable it as per their use case.
2022-11-25 14:21:13 +05:30
Jin Cheng
bda3683c85 Increase BtI2STask stack depth to avoid stack overflow 2022-11-24 13:13:43 +08:00
Jin Cheng
79b4d8fe4f optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-11-24 13:13:40 +08:00
Jin Cheng
898324dc21 1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
2. provide compatibilities with devices that do not support Secure Simple Paring

Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 21:00:02 +08:00
Jin Cheng
d533bc1cdd fixed build errors with Secure Simple Paring disabled 2022-11-23 20:58:52 +08:00
Jiang Jiang Jian
2e0da2773b Merge branch 'bugfix/change_default_tx_power_on_c3_v4.3' into 'release/v4.3'
Change BLE default TX power on ESP32C3(backport v4.3)

See merge request espressif/esp-idf!21169
2022-11-23 14:28:30 +08:00
Wang Meng Yang
92a3ba8325 Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds_v4.3' into 'release/v4.3'
Fixed the issue memory access out of bounds in a2dp_source example (v4.3)

See merge request espressif/esp-idf!21146
2022-11-23 10:32:01 +08:00
Yuan Hong Hui
35d63c893c ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.3) 2022-11-23 10:25:33 +08:00
zhiweijian
bba1cd5afa Fixed ble_compatibility_test example NVS init error 2022-11-21 11:12:08 +08:00
Jin Cheng
32ac92adf8 Fixed the issue memory access out of bounds in a2dp_source example 2022-11-18 16:40:46 +08:00
Island
c10ce8f92b Merge branch 'bugfix/ble_mesh_console_memory_leak_test_forv4.3' into 'release/v4.3'
ble_mesh:example:fix memory leak(v4.3)

See merge request espressif/esp-idf!20039
2022-10-28 16:12:36 +08:00
Jiang Jiang Jian
031d4c904c Merge branch 'bugfix/crash_in_i2s_when_reconnect_to_a2dp_v4.3' into 'release/v4.3'
fixed crash in I2S when reconnect to a2dp sink (v4.3)

See merge request espressif/esp-idf!20720
2022-10-25 17:40:41 +08:00
Island
18efe0ec9b Merge branch 'bugfix/remove_get_modle_and_get_comp_api_forv4.3' into 'release/v4.3'
ble_mesh:example:change the method of get model(for v4.3)

See merge request espressif/esp-idf!20394
2022-10-24 19:42:41 +08:00
Jin Cheng
c8db15a4cd fixed crash in I2S when reconnect to a2dp sink 2022-10-21 14:11:56 +08:00
Michael (XIAO Xufeng)
14222bc998 example/deep_sleep: add example of EXT0 and using internal pullups 2022-10-19 02:36:14 +08:00
Jiang Jiang Jian
9e863ecdb8 Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_v4.3' into 'release/v4.3'
Fixed some BLE controller bugs on ESP32-C3 (backport v4.3)

See merge request espressif/esp-idf!19990
2022-09-29 13:59:20 +08:00
Jiang Jiang Jian
07bffab8d4 Merge branch 'feature/sink_support_mono_v4.3' into 'release/v4.3'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.3)

See merge request espressif/esp-idf!20079
2022-09-29 11:40:01 +08:00
Yuan Hong Hui
eba6275572 ble_mesh:example:change the method of get model 2022-09-28 15:29:03 +08:00
Island
89ecfa9470 Merge branch 'bugfix/ble_mesh_console_support_nimble_host_for_v4.3' into 'release/v4.3'
ble_mesh:ble mesh console support nimble(v4.3)

See merge request espressif/esp-idf!19605
2022-09-28 12:32:21 +08:00
zwj
157acb3086 Fixed extend adv tx power range error 2022-09-27 21:37:04 +08:00
Michael (XIAO Xufeng)
78aca699b9 sdio/example: fixed the essl return type issue 2022-09-26 19:41:30 +08:00
morris
4b6a6a2684 Merge branch 'bugfix/fix_spi_slave_example_sender_ccount_issue_v4.3' into 'release/v4.3'
spi: fix spi slave example sender ccount issue (v4.3)

See merge request espressif/esp-idf!18875
2022-09-15 15:34:02 +08:00
xiongweichao
59ea02cb4c bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-09-09 17:42:30 +08:00
Yuan Hong Hui
372f637f25 ble_mesh:example:fix memory leak 2022-09-08 16:24:18 +08:00
Gauri Patankar
e055f5ced7 esp_wifi: WPA3 SAE H2E support for station
Mandate sta threshold wpa3 for ssid after receiving transition disable bit from AP
2022-08-19 15:09:14 +05:30
Yuan Hong Hui
33ea98ffc7 ble_mesh:ble mesh console support nimble 2022-08-17 14:36:26 +08:00
jincheng
49fba45156 Fixed the failure of 'connect audio' operation in HFP examples with default SDK configuration
Due to the lack of synchronized connections, the hf_client can not create audio_connection to
hf_ag. Set default number of synchronized connection to 1.

Closes https://github.com/espressif/esp-idf/issues/9537
2022-08-17 10:15:11 +08:00
Yuan Hong Hui
190cd2f8cd ble_mesh:the memory requested by malloc has not benn released 2022-08-12 06:03:58 +00:00
Jiang Jiang Jian
a456819d78 Merge branch 'bugfix/fix_bt_sphinx_warnings_4.3' into 'release/v4.3'
components_bt: fix unstandard typedefs [backport v4.3]

See merge request espressif/esp-idf!19339
2022-08-12 14:00:35 +08:00
weitianhua
d264f30e76 component_bt: Fix build doc errors of bt
1. bluedroid: use standard function pointer define.
   2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
   3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-12 12:11:54 +08:00
wangjialiang
bcf14175c4 ble_mesh: doc: Restore missing ble mesh videos 2022-08-05 11:55:22 +08:00
Jiang Jiang Jian
bfb2fee42a Merge branch 'bugfix/wlan_fixes_backports_v4.3' into 'release/v4.3'
esp_wifi: Fix some wlan issues(backport v4.3)

See merge request espressif/esp-idf!19359
2022-08-03 21:16:39 +08:00
Kapil Gupta
77661ba436 esp_wifi: Add APIs to check BTM and RRM support of connected AP 2022-08-03 11:35:44 +05:30
Jiang Jiang Jian
5b2444695c Merge branch 'bugfix/corrected_typo_in_example_peripherals_usb_v4.3' into 'release/v4.3'
example: peripherals/usb: fix typo naming of local variables (backport v4.3)

See merge request espressif/esp-idf!19101
2022-08-03 11:33:38 +08:00
Oleg Savchenko
829a81b37f fix possible memory leak if report level not set 2022-08-02 20:39:01 +08:00
Oleg Savchenko
d2397d42ca fix write to null pointer if malloc failed 2022-08-02 20:38:51 +08:00
Jiang Jiang Jian
6c38c6b176 Merge branch 'bugfix/add_multiple_scan_mode_v4.3' into 'release/v4.3'
Bugfix: Connect example to add scan mode config

See merge request espressif/esp-idf!19124
2022-07-29 10:58:32 +08:00
xueyunfei
61b1b2ac12 Icmp: get tos parameter in icmp reply
bugfix for add ttl for ping socket
2022-07-26 09:55:39 +00:00
xueyunfei
563639ba01 udp example:Optimization udp example with recv_msg 2022-07-26 09:55:39 +00:00
xueyunfei
18ee6fdbd4 wifi example:optimization example of wifi station 2022-07-26 09:55:39 +00:00
ronghulin
a70b8e0fb8 Bugfix: Connect example to add scan mode config
Closes https://github.com/espressif/esp-idf/issues/6595
2022-07-19 15:43:35 +08:00
jiangguangming
a7ce9ba63c example: peripherals/usb: fix typo naming of local variables 2022-07-19 11:05:40 +08:00
Jiang Jiang Jian
99bfa32eb9 Merge branch 'bugfix/fix_blufi_example_softap_current_connection_equal_zero_issue_v4.3' into 'release/v4.3'
bluetooth: fix two blufi example bugs(Backport v4.3)

See merge request espressif/esp-idf!18771
2022-07-14 20:19:20 +08:00
Yuan Hong Hui
ff77e2fa69 ble_mesh:change the location of print ready 2022-07-13 18:08:47 +08:00
muhaidong
1fce807796 bluetooth: fix two blufi example bugs
1. Softap mode do not assign ip issue
2. Softap current connection always show 0
2022-07-13 17:48:03 +08:00
aditi_lonkar
f2e96e85ff esp_wifi: Fix issue of ca certificate expired. 2022-07-11 02:42:38 +00:00
jincheng
dca3686f0a lower the priority of application task of a2dp demo 2022-07-08 13:08:23 +08:00
gaoxu
7a2bad690b SPI:fix spi slave example sender ccount issue
On riscv core, core cycle counter counts the clock cycles only when core is active (not sleeping).
In spi_slave/sender example, it uses ccount (core cycle counter) to do a simple debounce.
Therefore, when using spi_slave/sender and spi_slave/receiver, program will be stuck.
This commit fix this issue by using esp_timer


(cherry picked from commit afe3bfe19f)
2022-07-05 11:45:47 +08:00
jincheng
464673fb10 avoid wrongly restart discovery 2022-06-28 13:05:13 +08:00
Jiang Jiang Jian
fdc1aa147e Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday_v4.3' into 'release/v4.3'
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday (v4.3)

See merge request espressif/esp-idf!18414
2022-06-19 23:17:43 +08:00
Mahavir Jain
d9610cfa0b Merge branch 'bugfix/esp_crt_bundle_build_issue_v4.3' into 'release/v4.3'
esp_crt_bundle: Fix build problems if MBEDTLS_CERTIFICATE_BUNDLE is disabled (v4.3)

See merge request espressif/esp-idf!18476
2022-06-17 14:15:44 +08:00
xiongweichao
3a2f98613d modified README.md 2022-06-13 16:10:40 +08:00
xiongweichao
3b3f9c1f49 add nvs initialize 2022-06-13 15:56:44 +08:00
wangmengyang
1257bd453e example/controller_hci_uart_esp32c3: fixed the GPIO pin mask for input PINs of UART1 2022-06-13 15:56:44 +08:00
wangmengyang
9e96538a86 Added example(ESP32-C3), to use Bluetooth Controller through HCI UART transport 2022-06-13 15:56:44 +08:00
Mahavir Jain
2cfae63c2b examples: add dependency on cert bundle configuration
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-06-13 11:49:00 +05:30
Shubham Kulkarni
fda52d581b esp_http_client example: Fix CI failures 2022-06-10 16:59:29 +05:30
KonstantinKondrashov
50606887b2 esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
The esp_timer was not advanced correctly.
2022-06-09 14:51:44 +00:00
Mahavir Jain
49bfb8491f Merge branch 'bugfix/esp_http_client_example_v4.3' into 'release/v4.3'
esp_http_client example: Add cert for redirect to HTTPS example (v4.3)

See merge request espressif/esp-idf!18403
2022-06-09 12:35:48 +08:00
Shubham Kulkarni
e4aa50aa87 esp_http_client example: Add cert for redirect to HTTPS example
esp_http_client_test.py: Add checks for missing example logs
2022-06-07 14:54:25 +05:30
Aditya Patwardhan
b806d19535 Update the coap client example URL and README
Closes https://github.com/espressif/esp-idf/issues/7219
2022-05-24 12:32:37 +05:30
Jiang Jiang Jian
fd551af189 Merge branch 'feature/modbus_master_fix_check_uart_set_pin_v43' into 'release/v4.3'
example/modbus_master: fix the assert for uart_set_pin (backport v4.3)

See merge request espressif/esp-idf!17625
2022-05-18 02:20:39 +08:00
Alexey Gerenkov
d06fac5c8b apptrace: Adds ESP32-C3 support 2022-05-13 16:23:46 +03:00
Alexey Gerenkov
fa6655cbcf apptrace: Refactors apptrace for better support various tracing HW 2022-05-13 08:45:31 +00:00
Kapil Gupta
b1f7ad6983 esp_example: Enable MbedTLS for DPP enrollee by default 2022-04-22 02:40:15 +00:00
Michael (XIAO Xufeng)
1ffc02dfaf Merge branch 'feature/esp32c3_usbjtag_console_blocking_v4.3' into 'release/v4.3'
usb_serial_jtag: Add blocking driver to support vfs (backport v4.3).

See merge request espressif/esp-idf!17330
2022-04-20 16:30:12 +08:00
Cao Sen Miao
671303bbd5 usb_serial_jtag: Add blocking driver to support vfs. 2022-04-19 16:21:20 +08:00
Mahavir Jain
6c27359d13 Merge branch 'bugfix/smtp_client_v4.3' into 'release/v4.3'
smtp_client: Fix heap leakage (v4.3)

See merge request espressif/esp-idf!17795
2022-04-18 14:37:01 +08:00
Michael (XIAO Xufeng)
6217fb46db Merge branch 'bugfix/fix_variable_on_stack_bug_in_seg_slave_example_v4.3' into 'release/v4.3'
spi_slave_hd: fix stack variable bug in seg_slave example (v4.3)

See merge request espressif/esp-idf!16389
2022-04-18 13:10:34 +08:00
Laukik Hase
638a1b9bf3
smtp_client: Fixed garbage characters being printed
- The R/W buffers were not cleared before reading/writing
  anything new
2022-04-18 10:33:14 +05:30
Laukik Hase
df294b7b69
smtp_client: Fix heap leakage
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-18 10:33:14 +05:30
Elbert van de Put
217d2d0775 example/modbus_master: fix the assert for uart_set_pin
Signed-off-by: aleks <aleks@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/8607
2022-04-11 11:28:09 +00:00
Shubham Kulkarni
3842d27be3 advanced_https_ota/example_test.py: Update redirect URL test to include two redirects 2022-04-11 09:48:31 +05:30
Anton Maklakov
d9be879a76 Merge branch 'feature/add_component_manager_python_dependency_v4.3' into 'release/v4.3'
Build System: Add idf-component-manager python dependency (v4.3)

See merge request espressif/esp-idf!15663
2022-04-06 16:29:42 +08:00
David Čermák
d75674579e Merge branch 'bugfix/websocket_example_echo_server_v4.3' into 'release/v4.3'
websocket: Updated Kconfig to use 'echo.websocket.events' echo server(v4.3)

See merge request espressif/esp-idf!17605
2022-04-04 18:59:38 +08:00
dizcza
1457686a94 websocket: Updated Kconfig to use 'echo.websocket.events' echo server
Updated README to show how to run websocket echo server using Flask

Merges https://github.com/espressif/esp-idf/pull/8262
2022-03-25 16:28:29 +04:00
Michael (XIAO Xufeng)
0393a5647a example: fixed the issue that config struct is not properly initialized 2022-03-25 01:08:21 +08:00
Jiang Jiang Jian
8ffddf53bc Merge branch 'bugfix/btdm_link_error_of_kconfig_v4.3' into 'release/v4.3'
Bugfix/btdm link error of kconfig v4.3

See merge request espressif/esp-idf!15466
2022-03-16 16:25:15 +08:00
Jiang Jiang Jian
70c737af4d Merge branch 'bugfix/repeated_ftm_failures_issue_v4.3' into 'release/v4.3'
Combined bugfixes related to FTM and PMF (Backport v4.3)

See merge request espressif/esp-idf!16129
2022-03-16 11:00:24 +08:00
Jiang Jiang Jian
c6a96e9a57 Merge branch 'doc/update_document_of_demo_bt_discovery_v4.3' into 'release/v4.3'
Doc/update document of demo bt discovery v4.3

See merge request espressif/esp-idf!16576
2022-03-16 10:23:47 +08:00
Jiang Jiang Jian
300b881428 Merge branch 'bugfix/hfp_disc_audio_err_v4.3' into 'release/v4.3'
bugfix/fix_err_when_ag_disc_audio_v4.3

See merge request espressif/esp-idf!17474
2022-03-16 10:22:08 +08:00
jincheng
2ef0e2d126 fix the failure of reconnect to sink 2022-03-14 11:33:38 +08:00
jincheng
1dca246310 correct the rate of data-producing
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-14 10:45:10 +08:00
baohongde
99adcfbda0 components/bt: move config BT_RESERVE_DRAM from bluedroid to ESP32 controller 2022-03-11 10:48:21 +00:00
baohongde
2f8b58d88f components/bt: Combine 3 Bluetooth controller menu 2022-03-11 10:48:21 +00:00
baohongde
6f86e1bb63 components/bt: Fix link error of Kconfig 2022-03-11 10:48:21 +00:00
Nachiket Kukade
6fd6a8b40b esp_wifi: Always connect Station in PMF mode if possible
While using esp_wifi_set_config, flag pmf_capable defaults to 0.
Users may not bother to enable it, which prevents connection to a
WPA3 AP. Or the AP may reset into WPA3 mode failing the re-connection.
To ensure better security, deprecate the pmf_capable flag and set it to
true internally.
2022-03-10 17:16:32 +05:30
Nachiket Kukade
47ccdef8c1 esp_wifi: Miscellaneous FTM bugfixes
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
2022-03-10 17:15:04 +05:30
Nachiket Kukade
3d0076a31f esp_wifi: Update wifi lib
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
   unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
   while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
   avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
   timeout issue in ASAP mode
2022-03-10 17:13:41 +05:30
Christoph Rackwitz
6e13fc803a esp_wifi: Reset event bits in ftm example to avoid repeated failures 2022-03-10 16:51:02 +05:30
aleks
f11e17f886 freemodbus: fix port enable disable sequence for tcp master and slave 2022-03-08 09:40:08 +01:00
Shubham Kulkarni
3f728f68c7 examples/esp_http_client: Use dl.espressif.com URL for performing request with Range header
esp_http_client_test.py: Add check for range request log
2022-03-03 17:52:21 +05:30
Wang Meng Yang
4bc28054ee Merge branch 'demo/opt_a2dp_demo_doc_v4.3' into 'release/v4.3'
demo/optimize a2dp demo documents (v4.3)

See merge request espressif/esp-idf!16588
2022-03-03 11:07:02 +08:00
Mahavir Jain
f02c6037d4 Merge branch 'bugfix/spiffs_example_test_v4.3' into 'release/v4.3'
examples/spiffs: increase test timeout (v4.3)

See merge request espressif/esp-idf!17266
2022-03-02 17:14:18 +08:00
Island
047adc5ebc Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt_forv4.3' into 'release/v4.3'
ble mesh:example:correct repl config prompt in ble mesh console(v4.3)

See merge request espressif/esp-idf!17184
2022-03-01 13:51:02 +08:00
Mahavir Jain
002a16c367 examples/spiffs: increase test timeout
This is to address frequent CI test failure where test most likely
timeouts during SPIFFS formatting operation.
2022-02-24 09:20:07 +05:30