Commit Graph

905 Commits

Author SHA1 Message Date
Alexey Lapshin
d4b7be4a73 bt: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Rahul Tank
8969139b06 Nimble:Change component path to relative path for remaining examples 2023-02-20 10:15:50 +05:30
Leonardo Bispo
05a5dba7a4 component path relative to IDF
Change the component path to relative to the IDF as the build will fail if the example is moved from its folder.

(cherry picked from commit 4011f5ce595d114c69c46298088440a230eed937)
Signed-off-by: Rahul Tank <rahul.tank@espressif.com>
2023-02-20 10:09:18 +05:30
Omar Chebib
d55060d184 Merge branch 'staging/rename_twdt_config_examples' into 'master'
TWDT: Use the new TWDT Kconfig options in the examples and tests

See merge request espressif/esp-idf!20363
2023-02-20 10:42:23 +08:00
Omar Chebib
5e5343d429 TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Jiang Jiang Jian
254efe402e Merge branch 'feature/wifi_kconfig_merge' into 'master'
esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig

Closes WIFI-4541 and IDF-1830

See merge request espressif/esp-idf!18998
2023-02-11 07:38:46 +08:00
Kapil Gupta
30a2558450 esp_wifi: Merge wpa_supplicant and esp_wifi Kconfig 2023-02-11 07:38:45 +08:00
Wang Meng Yang
e0e3700142 Merge branch 'feature/support_ble_privacy_by_controller' into 'master'
Support ble privacy by controller on bluedroid

See merge request espressif/esp-idf!21966
2023-02-10 14:34:36 +08:00
Rahul Tank
2538270f72 Merge branch 'feature/nimble_gatt_server' into 'master'
NimBLE: Added custom gatt server functionality

See merge request espressif/esp-idf!20910
2023-02-06 12:46:07 +08:00
Jiang Jiang Jian
b92c9f5d5c Merge branch 'bugfix/fix_assert_pcl_bleprph_example' into 'master'
Nimble: Fix runtime assertion in bleprph due to two disconnect events

See merge request espressif/esp-idf!22057
2023-02-02 20:01:35 +08:00
Sumeet Singh
3361718976 NimBLE: Added custom gatt server functionality 2023-02-02 17:07:28 +05:30
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
isha.pardikar@espressif.com
8c6cbf5ff5 Bluetooth/NimBLE : Fixed clearing connection_handle[] after disconnect event 2023-01-24 17:37:45 +05:30
Rahul Tank
4a2eb28d14 Nimble: Fix runtime assertion in bleprph due to two disconnect events 2023-01-24 15:52:39 +05:30
Rahul Tank
8bf18b76ac Merge branch 'bugfix/fix_ext_adv_compilation_issue' into 'master'
Nimble: Fix compilation issue for examples for esp32c6 and esp32h4

See merge request espressif/esp-idf!21983
2023-01-17 12:41:02 +08:00
Rahul Tank
f6ec69ab5d Merge branch 'bugfix/update_ble_l2cap_coc_example' into 'master'
Nimble: Updated ble_l2cap_coc example

See merge request espressif/esp-idf!21940
2023-01-17 12:40:49 +08:00
Rahul Tank
f2eebcb968 Nimble: Fix compilation issue for examples for esp32c6 and esp32h4 2023-01-16 13:12:14 +05:30
Shen Weilong
923378a4aa Disable bt example test 2023-01-13 15:05:34 +08:00
Shen Weilong
6e962ce8dd Modify the readme files in example/bluetooth 2023-01-13 15:05:34 +08:00
Shen Weilong
45aaeda1e3 modify bt sdkconfig to support bluedroid examples for esp32c6 2023-01-13 15:05:34 +08:00
morris
1f3507eac0 Merge branch 'feature/gdma_support_h2' into 'master'
gdma: support esp32h2

Closes IDF-6222 and IDF-6238

See merge request espressif/esp-idf!21932
2023-01-11 14:04:14 +08:00
Island
e57fb38069 Merge branch 'feature/update_ble_mesh_example_for_esp32c6' into 'master'
ble_mesh: example: update ble mesh examples for esp32c6

See merge request espressif/esp-idf!21914
2023-01-10 21:17:33 +08:00
Zhi Wei Jian
fdc92ef847 Merge branch 'feature/support_ble_write_and_notify_throughput_test_at_the_same_time' into 'master'
Support BLE throughput examples to test notify and write throughput at the same time

Closes BT-3100

See merge request espressif/esp-idf!21773
2023-01-10 21:13:22 +08:00
chenjianhua
5fea7313f8 examples: fix ble address type of adv and scan params 2023-01-10 18:50:25 +08:00
morris
d0b7f3214a gdma: correct the dma trigger of uart
GDMA trigger actually is not assigned to UART controller, but for UHCI
controller
2023-01-10 16:37:01 +08:00
wangjialiang
3cf4cabf38 ble_mesh: example: Fix esp32c3 and esp32s3 partition table overflow issue 2023-01-10 14:06:21 +08:00
Rahul Tank
42c1922469 Nimble: Updated ble_l2cap_coc example
1. Corrected format
     2. Fixed double free of memory issue in case of disconnection
     3. Updated sdkconfig.default file to have correct value for
COC_MAX_NUM configuration setting
2023-01-09 10:41:32 +05:30
wangjialiang
d173dec1b7 ble_mesh: example: update ble mesh examples for esp32c6 2023-01-05 16:56:35 +08:00
Rahul Tank
0f6373ca97 Update CMakelists to compile ble_phy app 2023-01-04 11:10:10 +08:00
shenweilong
93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +08:00
Island
3e2f414214 Merge branch 'bugfix/change_position_of_vendor_model_and_gen_onoff_model_callback' into 'master'
ble_mesh:example:change position of vendor model and generic onoff model callback

See merge request espressif/esp-idf!21172
2022-12-29 16:41:39 +08:00
Yuan Hong Hui
a90471eb81 ble_mesh:example:change position of vendor model and generic onoff model callback 2022-12-26 16:51:24 +08:00
Wang Meng Yang
7269f3c1f2 Merge branch 'bugfix/remove_Wno_format_in_bluedroid_bt_examples' into 'master'
Remove `-Wno-format` compile option for bluedroid classic bluetooth examples

Closes IDF-6436

See merge request espressif/esp-idf!21529
2022-12-23 10:22:25 +08:00
Rahul Tank
8ff7d526b0 Merge branch 'bugfix/remove_global_min_max_def' into 'master'
Nimble: Removes global min/max definition causing problems with other libraries

See merge request espressif/esp-idf!21652
2022-12-22 22:53:45 +08:00
zhiweijian
8646f086be support ble notify and write throughput test at the same time 2022-12-22 21:00:14 +08:00
xiongweichao
76734369a8 Remove compile option for bluedroid classic bluetooth examples 2022-12-21 10:57:42 +00:00
Jiang Jiang Jian
ad66203e53 Merge branch 'bugfix/nimble_remove_wno_format' into 'master'
Remove `-Wno-format` compile option for nimble examples

See merge request espressif/esp-idf!21487
2022-12-21 12:04:17 +08:00
Rahul Tank
133b2e45e3 Nimble: Removes global min/max definition causing problems with other libraries 2022-12-20 11:21:31 +05:30
isha.pardikar@espressif.com
ef38163b44 L2CAP COC example : Fixed freeing up of same memory address twice. 2022-12-19 15:33:23 +05:30
Rahul Tank
00ce75784a Nimble: Fixed compilation issues in nimble examples after removing "-Wno-format" option 2022-12-16 16:49:55 +05:30
Island
d6acd82e92 Merge branch 'bugfix/change_the_level_of_nimble_log' into 'master'
ble_mesh:example:change the level of nimble host log

See merge request espressif/esp-idf!21627
2022-12-16 14:12:41 +08:00
Island
7283a406e4 Merge branch 'bugfix/remove_-Wno-formate_in_ble_mesh_examples' into 'master'
ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples

See merge request espressif/esp-idf!21523
2022-12-15 17:54:30 +08:00
Yuan Hong Hui
c9c67dba9b ble_mesh:example:change the level of nimble host log 2022-12-15 17:39:44 +08:00
wangjialiang
2fd57ba418 ble_mesh: example: Remove -Wno-format compile option for BLE Mesh examples 2022-12-13 11:16:26 +08:00
Rahul Tank
1d9eaccde4 Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-12 18:06:55 +05:30
Zhi Wei Jian
5a09f71620 Merge branch 'bugfix/fix_ble_hid_output_report' into 'master'
Examples: fix ble hid led output report

Closes IDFGH-8627

See merge request espressif/esp-idf!21007
2022-12-12 15:35:31 +08:00
Wang Meng Yang
a78d6a1cd8 Merge branch 'bugfix/remove_-Wno-format_in_bluedroid_examples' into 'master'
Remove  `-Wno-format` compile option for bluedroid BLE examples

See merge request espressif/esp-idf!21485
2022-12-12 10:51:03 +08:00
Li Qi Gan
df5c1ffd8b Merge branch 'bugfix/fix_hid_device_vup_without_connection' into 'master'
Bugfix/Fix HID Device can not remove virtually cabled device without a connection

Closes IDFGH-8662

See merge request espressif/esp-idf!21152
2022-12-12 10:08:57 +08:00
chenjianhua
a86bc3c75a examples: fix ble hid led output report 2022-12-09 14:31:12 +08:00
Wang Meng Yang
7d7a710b60 Merge branch 'feature/report_acl_conn_cmp_stat_to_app' into 'master'
feature/report ACL link related events to application

Closes BT-2097 and BT-1863

See merge request espressif/esp-idf!19276
2022-12-09 13:10:52 +08:00
zhiweijian
ebc9c92ed6 Remove -Wno-format compile option for bluedroid BLE examples 2022-12-09 12:29:41 +08:00
liqigan
2198c3ed77 fix HID device can not remove virtually cabled device without a connection
Closes https://github.com/espressif/esp-idf/issues/10107
2022-12-07 10:36:42 +08:00
jincheng
fa621cdd86 Added ACL link related events handler in A2DP sink GAP callback 2022-12-07 02:33:55 +00:00
Jin Cheng
222344ec09 rebase a2dp_gatts_coex to latest a2dp_sink 2022-12-07 02:11:18 +00:00
xiongweichao
07621fdea8 Modified spp vfs example 2022-12-05 20:30:45 +08:00
xiongweichao
c497d7d6c1 bt: Remove SPP default send buffer size option and add parameters to configure send buffer size in esp_spp_enhance_init() 2022-11-29 10:20:47 +08:00
xiongweichao
ecf2eea1d6 bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM 2022-11-28 20:42:53 +08:00
Wang Meng Yang
e8c393ad0a Merge branch 'bugfix/fixed_a2dp_sink_example_stack_overflow' into 'master'
bugfix/Increase BtI2STask stack depth to avoid stack overflow

See merge request espressif/esp-idf!21215
2022-11-25 10:41:35 +08:00
Island
26e5d16c47 Merge branch 'bugfix/Fix_exceptional_list_params_check' into 'master'
ble_mesh: stack: Fix exceptional list parameters check issue

See merge request espressif/esp-idf!20851
2022-11-24 12:02:09 +08:00
Jiang Jiang Jian
2024e4414f Merge branch 'bugfix/fixed_HIDH_connection_failure' into 'master'
bugfix/fixed connection failure and build errors of HID host

Closes IDFGH-8555 and IDFGH-8622

See merge request espressif/esp-idf!20858
2022-11-24 11:04:40 +08:00
Jin Cheng
e38ee1d9bc Increase BtI2STask stack depth to avoid stack overflow 2022-11-24 10:33:16 +08:00
wangjialiang
766d1d1b66 ble_mesh: stack: Fix exceptional list parameters check issue 2022-11-23 19:46:20 +08:00
Jin Cheng
c98f522837 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 11:17:08 +08:00
Jin Cheng
6fed8fa4ee fixed build errors with Secure Simple Paring disabled 2022-11-23 11:16:59 +08:00
Wang Meng Yang
9124b71803 Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds' into 'master'
Fixed the issue memory access out of bounds in a2dp_source example

See merge request espressif/esp-idf!21140
2022-11-23 10:31:12 +08:00
Island
a5f72c3e34 Merge branch 'bugfix/change_log_print' into 'master'
ble_mesh:example:Add command to test the function of duplicate exceptional list

Closes BT-175

See merge request espressif/esp-idf!20035
2022-11-23 10:24:43 +08:00
Yuan Hong Hui
b278d8ca1b ble_mesh:example:Add command to test the function of duplicate exceptional list 2022-11-23 10:24:43 +08:00
Jin Cheng
82d51a5bb3 Fixed the issue memory access out of bounds in a2dp_source example 2022-11-18 15:29:06 +08:00
zwj
0e0b62792f Fixed ble_compatibility_test example NVS init error 2022-11-16 15:58:31 +08:00
zwj
6eb0d6f52d cleanup sdkconfig.defaults 2022-11-16 15:58:31 +08:00
Sudeep Mohanty
ac99c0ad6b Merge branch 'feature/freertos_remove_untested_fn_feature' into 'master'
freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option

Closes IDF-5298

See merge request espressif/esp-idf!21000
2022-11-16 10:28:42 +08:00
Jiang Jiang Jian
4fe074b3c8 Merge branch 'doc/fix_a_typo_in_gatt_server_demo' into 'master'
Fix a typo in the GATT Server walkthrough

Closes IDFGH-8646

See merge request espressif/esp-idf!20895
2022-11-15 15:08:54 +08:00
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Sudeep Mohanty
0744f4d5a5 freertos: Removed CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION kconfig option
This commit removes the unused FreeRTOS kconfig option
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION.
2022-11-09 08:14:16 +01:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
isha.pardikar@espressif.com
b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
liuning
c41ce49c7a docs: update BluFi documentation 2022-11-07 13:11:20 +08:00
liuning
785248b3c7 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-11-07 13:11:20 +08:00
Jiang Jiang Jian
8facf6fbb1 Merge branch 'feature/support_le_power_control' into 'master'
Nimble: Add LE Power control HCI Command / Event

See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
laokaiyao
2cccf3a804 dac: update API and file format aligning to the rule 2022-11-03 13:04:50 +08:00
Paul Tsupikoff
87f489915c Fix a typo in the GATT Server walkthrough
This seems the right function to be mentioned, based on the context.
2022-11-02 09:42:04 +08:00
Island
f3e98bf769 Merge branch 'bugfix/ble_mesh_console_memory_leak_test' into 'master'
ble_mesh:example:fix memory leak

Closes BT-1753

See merge request espressif/esp-idf!18671
2022-10-28 16:11:59 +08:00
Rahul Tank
fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
KonstantinKondrashov
3b4f384b69 configs: Removes leftover of CONFIG_MEMMAP_SMP 2022-10-26 19:45:42 +08:00
laokaiyao
8ef9fd4623 dac: optimize the dma stratege 2022-10-25 17:14:59 +08:00
laokaiyao
f9f9a09dfb dac: update unit-test docs and examples for driver-NG 2022-10-25 17:00:41 +08:00
Island
310a18e59f Merge branch 'bugfix/remove_get_modle_and_get_comp_api' into 'master'
ble_mesh:example:change the method of get model

See merge request espressif/esp-idf!18449
2022-10-24 19:41:59 +08:00
isha.pardikar@espressif.com
561d1cba1b NimBLE : Init deinit nimble stack in a loop 2022-10-19 17:44:28 +05:30
Wang Meng Yang
55f92ec268 Merge branch 'bt/opt_audio_datapath' into 'master'
bt/optimized a2dp_sink audio datapath

Closes IDFGH-8124 and AUD-4106

See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
Jin Cheng
0459cf3963 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-10-17 20:57:19 +08:00
Wang Meng Yang
5cb3b66594 Merge branch 'bugfix/crash_in_i2s_when_reconnect_to_a2dp' into 'master'
fixed crash in I2S when reconnect to a2dp sink

See merge request espressif/esp-idf!20428
2022-10-17 12:02:08 +08:00
Satish Solanke
34722483b3 Merge branch 'master' into 'support/Update_sdkdefaultconfig_BLE_only_flag'
# Conflicts:
#   examples/bluetooth/bluedroid/ble/ble_ancs/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_compatibility_test/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_eddystone/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_hid_device_demo/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_ibeacon/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_spp_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_spp_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_security_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_security_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gatt_server_service_table/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble/gattc_multi_connect/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/ble50_security_client/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/ble50_security_server/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/multi-adv/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/peroidic_adv/sdkconfig.defaults.esp32c2
#   examples/bluetooth/bluedroid/ble_50/peroidic_sync/sdkconfig.defaults.esp32c2
2022-10-11 10:39:15 +00:00
Roshan Bangar
aa03ffdc1b Nimble/blufi: Added an API to stop Bluetooth / Blufi 2022-10-10 04:43:21 +00:00
Jin Cheng
3f0c24862e fixed crash in I2S when reconnect to a2dp sink 2022-10-09 05:25:17 +00:00
wuzhenghui
ff8dd1e1a8 esp32c6: add spi_flash support 2022-09-26 20:32:13 +08:00
Roshan Bangar
c51d4ab142 Merge branch 'feature/periodic_adv_example' into 'master'
Nimble: support for periodic adv / sync example

See merge request espressif/esp-idf!19963
2022-09-26 14:25:04 +08:00
Roshan Bangar
10eacf0360 Nimble: Add example for periodic adv/sync 2022-09-22 10:54:47 +05:30
Isha Pardikar
fa42826c4c NimBLE: Fixed README file for BLE PHY prph example 2022-09-20 14:16:04 +05:30
Jiang Jiang Jian
09f7589ef2 Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
Fixed extend adv tx power range error

See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00