Commit Graph

882 Commits

Author SHA1 Message Date
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
zwj
e9f4a4e92d Fixed extend adv tx power range error 2022-09-16 15:45:40 +08:00
Isha Pardikar
fed3d613db NimBLE: Added example framework for BLE PHY 2022-09-15 06:39:01 +00:00
Yuan Hong Hui
9bf9e931db ble_mesh:example:fix memory leak 2022-09-08 16:07:40 +08:00
Shen Weilong
50739cd810 use nimble host by default 2022-09-08 14:38:54 +08:00
Wang Meng Yang
a026d9816a Merge branch 'feature/sink_support_mono' into 'master'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data

Closes BT-2698

See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
Yuan Hong Hui
26e28af0e6 ble_mesh:example:change the method of get model 2022-09-06 08:57:51 +00:00
Isha Pardikar
fb619d20ee NimBLE: Reorganized nimble examples structure to avoid repetition of files. 2022-09-05 17:35:46 +05:30
xiongweichao
697755dfe5 Fixed sink not being able to output mono audio because it can only decode dual channel audio data 2022-08-25 11:36:28 +08:00
xiongweichao
a3df364269 Fixed the bt_spp_initiator example that did not set the uart source clock when initializing the uart, which caused a crash 2022-08-23 15:46:07 +08:00
Island
4b9d55f792 Merge branch 'bugfix/ble_mesh_console_support_nimble_host' into 'master'
ble_mesh:example:ble mesh console support nimble

See merge request espressif/esp-idf!19183
2022-08-22 11:41:48 +08:00
Yuan Hong Hui
2a5931549b ble_mesh:example:ble mesh console support nimble 2022-08-22 11:41:48 +08:00
Jiang Jiang Jian
1c250860b0 Merge branch 'bugfix/hfp_examples_not_work_with_default_sdkconfig' into 'master'
bugfix/set default number of sco connection to 1

Closes IDFGH-8029

See merge request espressif/esp-idf!19586
2022-08-18 21:40:22 +08:00
Mahavir Jain
bc7b6c983c Merge branch 'bugfix/blufi_checksum_failure_err' into 'master'
examples: blufi: fix API usage for generating dhm secret

Closes IDF-5796 and IDFGH-7977

See merge request espressif/esp-idf!19548
2022-08-17 14:41:51 +08:00
jincheng
b87eb50ada 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:07:01 +08:00
Mahavir Jain
1e3bbd03de
examples: blufi: fix API usage for generating dhm secret
API usage for `mbedtls_dhm_calc_secret` was incorrect, fixed by
providing correct RNG function pointer. This behavior was changed in
mbedTLS-3.x update.

Tested BluFi provisioning with this fix.

Closes IDF-5796
Closes https://github.com/espressif/esp-idf/issues/9488
2022-08-16 11:36:48 +05:30
xiongweichao
3850fe14b6 bt: Fixed that i2s_channel_disable was not called before calling i2s_channel_reconfig_std_clock in the A2DP sink example, which caused reconfiguring the I2S clock to fail 2022-08-12 16:44:48 +08:00
satish.solanke
42743a7189 Update_sdkdefaultconfig_BLE_only_flag ESP32C2 2022-08-09 16:28:01 +00:00
jingli
ee3423834e kconfig: refactor xtal freq kconfig to common configuration item 2022-08-05 19:12:29 +08:00
wangjialiang
4720af95ec ble_mesh: doc: Restore missing ble mesh videos 2022-08-04 16:32:47 +08:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Fu Hanxi
17e312f87b docs: improve the installation instructions 2022-08-01 15:52:21 +08:00
Isha Pardikar
97b1211b71 Merge branch 'bugfix/nimble_l2cap_coc_cmake' into 'master'
NimBLE : Fixed nimble L2CAP COC example CMakeLists.txt
2022-07-27 13:03:14 +05:30
Isha Pardikar
d46a2af0bf Merge branch 'feature/nimble_l2cap_coc' into 'master'
NimBLE: Add example framework for  L2CAP COC

See merge request espressif/esp-idf!18483
2022-07-25 12:28:38 +08:00