Commit Graph

1070 Commits

Author SHA1 Message Date
alanmaxwell
5a43831006 fix(wifi): Fix bug using CONFIG_WIFI_ENABLED macro 2023-11-03 21:18:18 +08:00
Jiang Jiang Jian
04ead4c281 Merge branch 'feat/add_support_for_host_only_mode_v5.2' into 'release/v5.2'
Feat/add support for host only mode v5.2

See merge request espressif/esp-idf!26881
2023-11-03 20:57:33 +08:00
Jiang Jiang Jian
5171308939 Merge branch 'fix/exception_was_unhandled_for_bt_spp_vfs_acceptor_v5.2' into 'release/v5.2'
fix(bt/bluedroid): fix LoadProhibited error in spp vfs acceptor example (backport v5.2)

See merge request espressif/esp-idf!26860
2023-11-03 20:49:32 +08:00
gongyantao
22108bbeb4 fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example 2023-11-02 11:47:21 +08:00
Jin Cheng
59e504ef27 feat(bt/bluedroid): Added bt_discovery based host only example 2023-11-02 11:10:35 +08:00
zhanghaipeng
1ea656f3d9 fix(bt/bluedroid): Fix max BLE gattc notify number to improve compatibility 2023-10-31 19:44:36 +08:00
zhanghaipeng
855f95e588 fix(bt/bluedroid): Optimize compatibility with Android 10 and later devices 2023-10-31 19:42:23 +08:00
zhanghaipeng
1276247696 feat(bt/bluedroid): Support hid device control point 2023-10-31 19:42:13 +08:00
zhanghaipeng
cb1765de81 fix(bt/bluedroid): Optimize compatibility with IOS and MACOS devices 2023-10-31 19:42:01 +08:00
Darian Leung
13f3a226bb change(examples): Update example configurations for FreeRTOS v10.5.1
This commit updates the sdkconfig for some examples when building with the
v10.5.1 kernel. The updates fixes the following:

Place FreeRTOS functions into flash

- Some examples use nearly 100% of available IRAM, thus any small increase in
IRAM in other components (e.g., FreeRTOS) will lead to a build error. As a
result, 'CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH' has been enabled in those
examples to save some IRAM.
- Some examples consume too much flash memory, leading to the 'factory'
parition overflowing. IN those examples,
'CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE' has been enabled to use a larger
'factory' partition.
2023-10-21 04:39:16 +08:00
alanmaxwell
cd784eb0f1 fix(ci): disable WiFi IRAM option for bleprph_wifi_coex example 2023-10-20 11:02:05 +08:00
Shen Wei Long
4c9d181076 Merge branch 'ci/update_bt_examples_build_rules' into 'master'
ci: update bluetooth examples build rules

Closes IDFCI-1820 and IDF-8368

See merge request espressif/esp-idf!26271
2023-10-20 10:50:06 +08:00
Wang Meng Yang
5557ef4036 Merge branch 'fix/remove_esp_hf_ag_devices_status_indchage_in_example' into 'master'
fix(bt/bluedroid): Send device status of AG to HF with a different api

Closes BT-3437

See merge request espressif/esp-idf!26350
2023-10-20 09:45:59 +08:00
Chen Yudong
45bc939462 ci: update bluetooth examples build rules
fix some bluetooth examples supported targets
2023-10-18 21:58:28 +08:00
gongyantao
013e609cea fix(bt/bluedroid): Send device status of AG to HF with a different api
1: replace api esp_hf_ag_devices_status_indchange with esp_hf_ag_ciev_report in bluetooth
   hfp_ag example to send device status of AG to HF unit.
2: remove the unused codes
2023-10-18 19:27:06 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
Fu Hanxi
4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
Liu Linyan
fdec35827a fix(ble_mesh): Enable relay by default for the specific dev role 2023-10-11 06:59:42 +00:00
Rahul Tank
26ba685133 Merge branch 'feature/walkthrough_for_coc_ble_prph' into 'master'
doc (nimble): Added the tutorial for coc_bleprph example.

See merge request espressif/esp-idf!26290
2023-10-10 14:57:15 +08:00
Zhi Wei Jian
5306b3308f Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
feat: add config to disable ble hci uart flow control

Closes CBLE50Y23-50

See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Abhinav Kudnar
e26f2ab510 doc (nimble): Added the tutorial for coc_bleprph example. 2023-09-29 16:34:42 +05:30
Jiang Jiang Jian
1f25202bb1 Merge branch 'test/bqb_test_bt_classic_hfp' into 'master'
feat(bt/hfp): Add support for HFP BQB auto test

Closes BT-3338, BT-3400, BT-3402, and BT-3404

See merge request espressif/esp-idf!25551
2023-09-26 15:00:11 +08:00
Rahul Tank
7022c93b9d Merge branch 'feature/walkthrough_for_spp_server' into 'master'
doc(nimble): Added the tutorial for spp_server example.

See merge request espressif/esp-idf!26159
2023-09-26 12:43:45 +08:00
Rahul Tank
b953afe030 Merge branch 'feature/walkthrough_for_spp_client' into 'master'
doc(nimble): Added the tutorial for spp_client example.

See merge request espressif/esp-idf!26030
2023-09-25 19:08:34 +08:00
Rahul Tank
a231b6fb36 Merge branch 'feature/walkthrough_for_coc_ble_cent' into 'master'
doc (nimble): Added the tutorial for coc_blecent example.

See merge request espressif/esp-idf!26028
2023-09-25 19:07:14 +08:00
Wang Meng Yang
f0b4a69fa3 Merge branch 'bugfix/fix_spp_acceptor_example' into 'master'
Fix(bt/bluedroid): Fix the mistaken deletion of bluedriod enable in bt_spp_acceptor example

See merge request espressif/esp-idf!26052
2023-09-25 17:50:58 +08:00
zhiweijian
150900eabb feat: add config to disable ble hci uart flow control 2023-09-25 14:26:59 +08:00
wanglai@espressif.com
12abb32a6e fix(bt/bluedroid): Modify the operator name to English in hfp_ag example 2023-09-25 11:59:57 +08:00
wanglai@espressif.com
5875f1160e feat(bt/bluedroid): Add supprot for specific indicator sending from AG to Client 2023-09-25 11:41:18 +08:00
wanglai@espressif.com
5600da1cfe feat(bt/bluedroid): Modify AT+CNUM response api and HFP AG example 2023-09-25 11:41:18 +08:00
Abhinav Kudnar
cbd4fc1b35 doc (nimble): Added the tutorial for coc_blecent example. 2023-09-22 18:20:16 +05:30
darshan
326ced0b35 doc(nimble): Added the tutorial for spp_server example. 2023-09-22 15:39:42 +05:30
liqigan
e271e27bd0 fix(bt/bluedroid): Fix the mistaken deletion of bluedriod enable in bt_spp_acceptor example 2023-09-22 06:08:26 +00:00
Liu Linyan
ec9e9ff376 fix(ble_mesh): Check if role needed to be set based on idf version 2023-09-22 02:55:48 +00:00
Ivan Grokhotkov
fc4f091e7a Merge branch 'feature/examples_use_manifest_for_deps' into 'master'
feat(examples): add local components via idf_component.yml

See merge request espressif/esp-idf!25228
2023-09-20 20:14:14 +08:00
darshan
a79910cb21 doc(nimble): Added the tutorial for spp_client example. 2023-09-20 11:32:06 +05:30
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Wang Meng Yang
0cb0c49597 Merge branch 'bugfix/a2dp_media_ctrl' into 'master'
Bugfix/a2dp media ctrl

Closes BTQABR2023-42

See merge request espressif/esp-idf!25300
2023-09-19 14:27:06 +08:00
Rahul Tank
cd2ddd86a7 Merge branch 'bugfix/update_ble_phy_example' into 'master'
fix(nimble): Updated BLE Phy example

Closes BLERP-17

See merge request espressif/esp-idf!25908
2023-09-18 15:35:04 +08:00
wangjialiang
8eed3a2467 fix(ble_mesh): Miscellaneous update for ble mesh 2023-09-16 15:58:14 +08:00
Rahul Tank
5a0aa4bd8e fix(nimble): Updated BLE Phy example
The existing example has some issues which are now fixed.

1. Original example had legacy_pdu set which was not causing
   the PHY to actually change. Fixed this
2. Added a way to initiate connection directly on 2M or Coded Phy.
2023-09-15 14:28:59 +05:30
Rahul Tank
90f3855ac8 Merge branch 'feature/walkthrough_for_blehr' into 'master'
doc(nimble): Added the tutorial for blehr example.

See merge request espressif/esp-idf!25835
2023-09-12 19:27:08 +08:00
baohongde
d905993e1e remove(bluedroid): Delete media stop command and audio stopped state 2023-09-11 08:25:00 +00:00
Liu Linyan
5bab168b0e feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
Liu Linyan
fd451f5856 feat(ble_mesh): Misc updates for BLE Mesh examples 2023-09-08 21:37:33 +08:00
Liu Linyan
0e63bfcddc feat(ble_mesh): Remove ble_mesh_console example 2023-09-08 21:37:33 +08:00
Liu Linyan
bf51fb965b feat(ble_mesh): Bluetooth Mesh folder and file misc updates 2023-09-08 21:37:33 +08:00
darshan
31168c0022 doc(nimble): Added the tutorial for blehr example. 2023-09-07 12:36:26 +05:30
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
Rahul Tank
f1afeccef7 Merge branch 'feature/walkthrough_for_ble_multi_adv' into 'master'
doc (nimble): Added the tutorial for ble_multi_adv example.

See merge request espressif/esp-idf!25744
2023-09-06 17:12:47 +08:00
cjin
fd22414fba feat: Support esp32c2 BLE power save example 2023-09-05 20:40:04 +08:00
Wang Mengyang
68dc3c16e0 ci(bt/bluedroid): Add CI build test for HFP examples with voice over HCI enabled 2023-09-05 08:14:56 +08:00
chenqingqing
75efaa6465 feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent 2023-09-04 20:29:03 +08:00
chenqingqing
55cdf8434b fix(bt/bluedroid): Fixed the issue of NULL address for btc_hf_ag 2023-09-04 19:30:37 +08:00
Abhinav Kudnar
9bdb59a479 doc (nimble): Added the tutorial for ble_multi_adv example. 2023-09-04 16:27:33 +05:30
Wang Meng Yang
78af508654 Merge branch 'feature/add_new_bluedroid_init' into 'master'
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API

Closes BTQABR2023-32

See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Wang Meng Yang
6598c6ecd7 Merge branch 'bugfix/hf_ag_report_event_with_null_bdaddr' into 'master'
Bugfix/fixed bugs of HFP in BlueDroid

Closes BTQABR2023-71, BTQABR2023-73, BTQABR2023-74, BTQABR2023-78, BTQABR2023-81, BTQABR2023-82, and BTQABR2023-69

See merge request espressif/esp-idf!25493
2023-09-04 11:21:15 +08:00
Roshan Bangar
af9a9076d6 feat(nimble): Added support for dynamic services
Added support for dynamic services
2023-09-01 17:40:42 +05:30
Zhang Hai Peng
3dca0d7d2e Merge branch 'docs/update_ble_comment' into 'master'
docs(bt): Update comment in ble

See merge request espressif/esp-idf!25477
2023-09-01 16:08:49 +08:00
Island
d750b3bfb6 Merge branch 'feat/support_per_adv_adi' into 'master'
feat(bt/bluedroid): Support periodic adi

Closes BLEQABR23-372

See merge request espressif/esp-idf!25546
2023-09-01 15:37:13 +08:00
liqigan
0df585dc35 feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization 2023-08-31 12:28:38 +00:00
zhanghaipeng
79c2764d1e docs(bt): Update comment in ble 2023-08-31 16:43:32 +08:00
Jin Cheng
2668df265e fix(bt/bluedroid): Fixed invalid access to freed semaphore 2023-08-30 17:27:13 +08:00
Jin Cheng
6d301d11bc fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters 2023-08-30 17:27:03 +08:00
Jin Cheng
ccfcc6a153 fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG 2023-08-30 17:24:38 +08:00
zhanghaipeng
ca2c295cca feat(bt/bluedroid): Support periodic adv adi feature 2023-08-30 14:27:30 +08:00
Zhi Wei Jian
09f5f66661 Merge branch 'bugfix/fix_ble_examples_malloc' into 'master'
BLE examples malloc related code optimization

See merge request espressif/esp-idf!23638
2023-08-28 11:14:18 +08:00
Abhinav Kudnar
1afe32294f doc (nimble): Added the tutorial for bleprph example. 2023-08-24 10:34:24 +05:30
Rahul Tank
82cceabc6e Merge branch 'feature/walkthrough_for_blecent' into 'master'
doc(nimble): Added the tutorial for blecent example.

See merge request espressif/esp-idf!25378
2023-08-23 19:46:38 +08:00
zwj
334a8f2459 BLE examples malloc related code optimization 2023-08-23 15:34:28 +08:00
darshan
6a38d80498 doc(nimble): Added tutorial for the blecent example. 2023-08-22 12:26:30 +05:30
Roshan Bangar
67b956f503 feat(nimble): Added periodic Adv Feature Updates in BLE 5.3 2023-08-22 10:18:10 +05:30
Rahul Tank
09dd6237ae fix(nimble): Add API to send pcl set rssi vsc 2023-08-17 12:37:00 +05:30
Island
1f3e3f8f6a Merge branch 'bugfix/fix_current_issue_after_ble_init' into 'master'
Fix phy enable/disable for ESP32C6/H2/C2

See merge request espressif/esp-idf!25080
2023-08-14 13:11:19 +08:00
Wang Meng Yang
c2c402f830 Merge branch 'bugfix/fix_variable_type' into 'master'
fix(bt): Fix argument type of ESP_LOGI for spp examples about format error

Closes IDFGH-10580

See merge request espressif/esp-idf!25218
2023-08-11 10:47:07 +08:00
chenqingqing
a68c698c67 fix(bt): Fix argument type of ESP_LOGI for spp examples about format error
Closes https://github.com/espressif/esp-idf/pull/11819
2023-08-10 10:32:32 +08:00
cjin
5a8e51f24c ble: move phy enabled/disable to controller enable/disable 2023-08-10 10:14:29 +08:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
Rahul Tank
8148ba6b22 Merge branch 'feature/walkthrough_for_ble_periodic_adv_and_ble_periodic_sync' into 'master'
doc (nimble): Added the tutorial for ble_periodic_adv and ble_periodic_sync_examples.

See merge request espressif/esp-idf!24695
2023-08-01 21:43:54 +08:00
Darian
84eedefca2 Merge branch 'refactor/freertos_port_types_usage' into 'master'
FreeRTOS: Remove usage of portXXX_TYPE

See merge request espressif/esp-idf!25107
2023-08-01 19:57:32 +08:00
Mahavir Jain
53ff7d43db Merge branch 'ci/fix_test_switch_ota' into 'master'
fix(app_update): Fix CI test_switch_ota by increasing deepsleep

See merge request espressif/esp-idf!24801
2023-08-01 16:49:25 +08:00
Darian Leung
6fc935e584 refactor(freertos): Refactor usage of portBASE_TYPE to BaseType_t
portBASE_TYPE is an internal macro defined by the porting layer. This commit
changes all references to BaseType_t which is the official type exposed by
FreeRTOS.
2023-07-31 17:10:34 +02:00
isha.pardikar@espressif.com
8b2b272aa2 NimBLE: Fixed crash when L2CAP COC sends large amount of data. 2023-07-25 10:41:24 +05:30
Abhinav Kudnar
52d0807fba (doc) nimble: Added the tutorial for ble_periodic_adv and ble_periodic_syncexamples. 2023-07-21 19:04:56 +05:30
KonstantinKondrashov
f07fcbed8d fix(examples): Fix example build errors caused by the deep_sleep funcs are returnable 2023-07-21 13:58:20 +08:00
wangjialiang
db23ef400c feat(ble_mesh: example: esp32c6/h2): update config file to support duplicate scan. 2023-07-21 02:02:21 +00:00
Rahul Tank
9a7106c6a1 Merge branch 'doc/update_kconfig_example_ext_adv_usage' into 'master'
doc(nimble): Update Kconfig help section for Example Ext Adv

See merge request espressif/esp-idf!24869
2023-07-19 14:28:18 +08:00
Rahul Tank
f907c22ea8 docs(nimble): Update Kconfig help section for Example Ext Adv 2023-07-18 16:07:24 +05:30
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
Xiong Wei Chao
12d6268095 Merge branch 'docs/update_bluetooth_power_save_readme' into 'master'
Docs: update bluetooth power save readme

Closes FCS-1258

See merge request espressif/esp-idf!24562
2023-07-17 12:14:39 +08:00
xiongweichao
e1be273e63 docs(bt/example): Updated bluetooth power save readme 2023-07-11 11:14:31 +08:00
Rahul Tank
b926bf5048 fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-10 15:50:01 +05:30
Gong Yan Tao
4dcab6c2ed Merge branch 'doc/add_timing_diagram_for_bt_l2cap_server_and_client' into 'master'
docs(examples/bluetooth): Add the sequence diagram for L2CAP connection and the discription for the diagram

Closes FCS-1237

See merge request espressif/esp-idf!24507
2023-07-08 12:29:49 +08:00
gongyantao
b84950db53 docs(examples/bluetooth): Add the sequence diagram of L2CAP connection and the discription for the sequence diagram
1: add the sequence diagram for the bluetooth example projects,bt_l2cap_server and bt_l2cap_client, which implenment the L2CAP connection.
2: add the discription for the sequence diagram.
2023-07-07 20:12:05 +08:00
Rahul Tank
64a01af42d Merge branch 'feature/services_proximity' into 'master'
NimBLE : Added proximity sensor as a service

See merge request espressif/esp-idf!24357
2023-07-07 16:51:22 +08:00
Song Ruo Jing
ea48030514 Merge branch 'refactor/rtcio_caps_responsibility' into 'master'
refactor(driver/rtcio): Re-wrap RTCIO APIs with more accurate soc_caps

Closes IDF-7406

See merge request espressif/esp-idf!24522
2023-07-07 14:25:47 +08:00
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
5222ba7312 Merge branch 'feature/walkthrough_for_nimble_examples' into 'master'
doc (nimble): Added Walkthrough tutorial for phy_cent example

Closes IDFGH-9638

See merge request espressif/esp-idf!22811
2023-07-06 20:09:45 +08:00
Jin Chen
d918b5226c Merge branch 'ble_dev/support_esp32h2_modem_clock_selection' into 'master'
ble: support esp32h2 modem clock selection

Closes EBLE50Y23-129

See merge request espressif/esp-idf!24387
2023-07-06 13:58:11 +08:00