Commit Graph

920 Commits

Author SHA1 Message Date
satish.solanke
b250e598dc fix(Bluedroid) : Fix the memory corruption issue 2023-08-08 12:16:55 +00:00
isha.pardikar@espressif.com
9178a78142 NimBLE: Added support of encrypted advertising data 2023-08-08 15:37:51 +05:30
isha.pardikar@espressif.com
e0b5ab3cef fix(nimble): Added checks before accessing event pointers 2023-08-08 04:58:20 +00:00
Chen Jian Hua
f5d9986246 Merge branch 'bugfix/fix_bleqabr23_178' into 'master'
fix(bt/bluedroid): Fix address check when using NRPA as random device address

See merge request espressif/esp-idf!25074
2023-08-07 20:38:32 +08:00
Chen Jian Hua
ad149a6a80 Merge branch 'feature/support_high_duty_adv_interval' into 'master'
feat(bt/bluedroid): Support high duty adv interval setting

See merge request espressif/esp-idf!25108
2023-08-07 20:38:17 +08:00
Wang Meng Yang
3da60ec6e7 Merge branch 'bugfix/remove_deprecated_err_code' into 'master'
fix(bt): Removed an incorrectly defined HCI error code in Bluedroid

See merge request espressif/esp-idf!25162
2023-08-04 17:26:47 +08:00
Jin Cheng
99eb6bf3ec fix(bt): Increased SDP maximum connections to avoid connection exhausted 2023-08-03 16:52:50 +08:00
Jin Cheng
79bb7b6c8a fix(bt): Removed an incorrectly defined HCI error code 2023-08-03 12:15:03 +08:00
chenjianhua
e43e4b83fc feat(bt/bluedroid): Support high duty adv interval setting 2023-08-03 11:14:38 +08:00
Rahul Tank
a43c37ff75 fix (nimble): Add check to set length only if data is valid in periodic adv 2023-08-02 12:34:26 +05:30
Rahul Tank
9dafd9f778 feat(mesh): Add support for Duplicate Exception list update VSC for
Nimble
2023-08-01 19:27:29 +05:30
Rahul Tank
8ce1c45d6d fix (nimble): Fix warnings generated in GCC13 2023-07-31 18:37:01 +05:30
chenjianhua
7083222a2f fix(bt/bluedroid): Fix address check when using NRPA as random device address 2023-07-30 19:53:16 +08:00
Wang Meng Yang
27ad736356 Merge branch 'test/bqb_test_btdm_sync_20230711' into 'master'
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support

See merge request espressif/esp-idf!24782
2023-07-26 10:54:15 +08:00
Zhang Hai Peng
2c3454ea8b Merge branch 'bugfix/set_addr_resolution_enable_while_advertising' into 'master'
Bugfix/Fix bug with address resolution enabling during non-connected activities

See merge request espressif/esp-idf!24923
2023-07-26 10:36:41 +08:00
Zhang Hai Peng
47ae2c2c3a Merge branch 'bugfix/support_periodic_adv_len_0' into 'master'
fix(bt): Fix ble periodic advertising data length 0 error

See merge request espressif/esp-idf!24853
2023-07-26 10:34:37 +08:00
zhanghaipeng
9a9ce20e41 fix(bt): Fix bug with address resolution enabling during non-connected activities 2023-07-25 21:53:04 +08:00
wanglai@espressif.com
c9d77f7028 fix(bt/bqb): Modify BQB related configurations 2023-07-25 14:17:28 +08:00
wanglai@espressif.com
d1443a91fa feat(bt): Add BQB enabling and rfcomm msc command sending support
1: add the CONFIG_BT_BQB_ENABLED for some functions of bqb test.
2: add bqb_rfc_send_msc_cmd function to send rfcomm msc command with
   only address arg input.
2023-07-19 11:59:07 +08:00
zhanghaipeng
f83664929a fix(bt): Fix ble periodic advertising data length 0 error
- Fixed issues about data length 0 when set ext adv data,ext scan rsp data and periodic adv data
2023-07-18 21:33:56 +08:00
Rahul Tank
bbfb44a0fe fix(nimble): Update connection type in reattempt connection code
Added change to set connection type correctly and clear array when it is
    full in reattempt connection flow
2023-07-18 16:21:09 +05:30
Shen Weilong
e9e6372690 feat(ble): Added ble examples for multiple connections 2023-07-18 12:05:11 +08:00
chenjianhua
4e140bd2f9 fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:12:57 +08:00
Rahul Tank
027c43e148 fix(nimble): Increase BLE_HOST_SEM_COUNT to allow more semaphore allocation 2023-07-11 17:14:12 +05:30
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
isha.pardikar@espressif.com
85661d38e6 feat (NimBLE): Add proximity sensor as a service 2023-07-06 17:59:54 +05:30
Rahul Tank
78c33778a9 Merge branch 'bugfix/refactor_nimble_header' into 'master'
refactor (nimble): Refactor nimble header files

Closes DOC-5615

See merge request espressif/esp-idf!24432
2023-07-06 20:17:35 +08:00
Jiang Jiang Jian
5354759735 Merge branch 'feature/update_avrcp_v1.5' into 'master'
bt: Update AVRCP version to v1.5

Closes BT-3283 and BT-2945

See merge request espressif/esp-idf!23959
2023-07-05 19:38:01 +08:00
Rahul Tank
b0b722da33 Merge branch 'bufix/fix_assert_while_stack_deinit' into 'master'
NimBLE :  Fix assert due to controller event while stack deinit

Closes IDFGH-10527

See merge request espressif/esp-idf!24520
2023-07-05 16:24:27 +08:00
Rahul Tank
3c902677d8 refactor(nimble): Refactor header files
Refactor header files to separate out APIs developed by Espressif for
   documentation purpose
2023-07-05 13:50:33 +05:30
Rahul Tank
1268530ace Merge branch 'feature/add_support_pcl_vsc' into 'master'
fix(Nimble): Add VSC / VSE handling code and structure for PCL Set RSSI

See merge request espressif/esp-idf!24181
2023-07-05 15:33:43 +08:00
Chen Jian Hua
f71b23e767 Merge branch 'bugfix/bluedroid_ble_adv_length_0_error' into 'master'
bluedroid: fix ble adv length 0 error

See merge request espressif/esp-idf!24496
2023-07-04 11:00:43 +08:00
Roshan Bangar
de0798c460 fix(nimble): Fix assert due to controller event while stack deinit 2023-07-03 04:57:20 +00:00
xiongweichao
e86b367f21 change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-03 03:57:26 +00:00
Wang Meng Yang
fe04d6dad9 Merge branch 'bugfix/fix_some_bt_controller_bug' into 'master'
component_bt:Fixed some bluetooth bugs

Closes AUD-3566 and ESPCS-871

See merge request espressif/esp-idf!19247
2023-06-30 20:57:26 +08:00
Rahul Tank
7f8ecb218a Nimble: Add APIs to handle vs HCI commands and events 2023-06-30 12:26:56 +05:30
zhanghaipeng
e74b07f717 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-06-30 12:03:45 +08:00
chenjianhua
e748546365 bluedroid: fixed gatt tcb free when disconnecting 2023-06-29 18:03:49 +08:00
Sumeet Singh
4d3e48ad1f Merge branch 'feature/exposed_gap_service_macros_to_menuconfig' into 'master'
NimBLE: Exposed macros used by GAP service to menuconfig

See merge request espressif/esp-idf!23876
2023-06-28 18:34:30 +08:00
Wang Meng Yang
52071f4e44 Merge branch 'bugfix/sdp_32_and_128_bit_UUID' into 'master'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID

Closes IDFGH-10312

See merge request espressif/esp-idf!24173
2023-06-28 11:34:51 +08:00
Sumeet Singh
9de43c3bef NimBLE: Exposed macros used by GAP service to menuconfig 2023-06-27 12:56:55 +05:30
Ilia Lutchenko
418ffd147b btc_sdp: add_raw_sdp: fix 32 and 128-bit uuid configuration
Added proper conversion of 4 and 16-byte UUIDs values to binary streams.
UUIDs now set with SDP_AddAttribute() instead of
SDP_AddServiceClassIdList().
2023-06-26 10:05:50 +02:00
Jiang Jiang Jian
d68898785a Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit' into 'master'
bugfix/Fixed the issue of alarm leak

See merge request espressif/esp-idf!24350
2023-06-26 10:21:32 +08:00
xiongweichao
3fd18692a2 components/bt: Fix crash due to NULL point 2023-06-25 16:18:30 +08:00
Jin Cheng
ec8a34628f Fixed the issue of alarm leak in hf-ag 2023-06-21 15:24:05 +08:00
Jin Cheng
68c9a492ac Fixed the issue of alarm leak in A2DP 2023-06-21 15:24:05 +08:00
Gong Yan Tao
d2fb7240a7 Merge branch 'docs/update_esp_hid_host' into 'master'
[docs] fix documents for Bluetooth HID Host API reference

Closes BT-3328

See merge request espressif/esp-idf!17602
2023-06-21 15:01:32 +08:00
wangmengyang
d4ac2380e7 component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-21 12:02:58 +08:00
Jiang Jiang Jian
7cea35193b Merge branch 'bugfix/fix_bluedroid_host_build_warning_when_log_is_disabled' into 'master'
Fixed bluedroid host build warning when log is disabled

See merge request espressif/esp-idf!24003
2023-06-20 15:51:11 +08:00
Rahul Tank
db5a2638dd Merge branch 'bugfix/expose_clear_all_wl_api' into 'master'
Nimble: Expose API to clear all addresses in whitelist out of stack

See merge request espressif/esp-idf!24084
2023-06-19 23:18:13 +08:00
Wang Meng Yang
0a8610ab7b Merge branch 'bugfix/hfp_packet_type_err' into 'master'
Revised (e)SCO configuration parameter sets

Closes FCS-1239

See merge request espressif/esp-idf!24166
2023-06-19 13:40:21 +08:00
Jin Cheng
4b46ecf6f2 Revised (e)SCO configuration parameter sets 2023-06-16 18:05:41 +08:00
gongyantao
028f7779f5 resolve the conflicts 2023-06-16 15:20:25 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Wang Meng Yang
126b98d889 Merge branch 'bugfix/fix_idfgh_10045' into 'master'
Bluedroid: fixed compile warning when optimize for performance

See merge request espressif/esp-idf!24161
2023-06-14 12:22:06 +08:00
Wang Meng Yang
40d1d7f43b Merge branch 'bugfix/fix_bleqabr23_213' into 'master'
Bluedroid: fixed default extended connection params

See merge request espressif/esp-idf!24025
2023-06-14 12:21:51 +08:00
chenjianhua
0634bb904e bluedroid: fixed compile warning when optimize for performance 2023-06-11 16:06:07 +08:00
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Rahul Tank
6f021ba5f3 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-07 16:29:22 +05:30
Roshan Bangar
27dc6d95f6 NimBLE : Sync porting files 2023-06-07 13:03:53 +05:30
chenjianhua
e039b788df Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit c8a380500a.
2023-06-02 16:28:29 +08:00
chenjianhua
5ee2ad7552 bluedroid: fixed default extended connection params 2023-06-01 17:37:49 +08:00
zhiweijian
ddb8368aad Fixed bluedroid host build warning when log is disabled 2023-05-31 17:00:09 +08:00
Rahul Tank
9901bdf3da Nimble: Fixed setting macro values based on selected configuration 2023-05-25 17:12:57 +05:30
Rahul Tank
72968880ec Nimble: Fixes for memory leak / optimization 2023-05-23 11:56:23 +05:30
Rahul Tank
ed30c4a106 Nimble: Removed the extra status field in the enh read transmit power level 2023-05-22 10:17:01 +05:30
isha.pardikar@espressif.com
aceaa87ea0 NimBLE: Fixed mismatch of number of completed packtes in host flow control 2023-05-18 12:56:47 +05:30
Rahul Tank
713e4391f8 Nimble: Add debug code to print HCI events information 2023-05-12 15:17:53 +05:30
Rahul Tank
f4f8d4eaa2 Merge branch 'bugfix/fix_compilation_error_optimization' into 'master'
Nimble: Fix compilation issues seen while enabling -O2 optimization

Closes IDFGH-10023

See merge request espressif/esp-idf!23590
2023-05-12 15:05:22 +08:00
Roshan Bangar
03cad657f3 Merge branch 'bugfix/macro_changes_in_nimble-1.5' into 'master'
NimBLE : Update macro name changes in nimble-1.5

See merge request espressif/esp-idf!23682
2023-05-12 15:01:26 +08:00
Zhi Wei Jian
c0ab96b65d Merge branch 'bugfix/fix_some_bluedroid_bugs' into 'master'
Fixed some bluedroid bugs

See merge request espressif/esp-idf!23616
2023-05-10 20:44:15 +08:00
Roshan Bangar
f0fa24c176 NimBLE : Update macro name changes in nimble-1.5 2023-05-10 16:02:07 +05:30
Wang Meng Yang
e156fcec8a Merge branch 'bugfix/hfp_ag_idx_invalid_master' into 'master'
bt: Fixed out of bounds access due to variable length array

Closes IDFGH-9979

See merge request espressif/esp-idf!23481
2023-05-09 19:51:42 +08:00
Rahul Tank
732c921c65 Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-09 04:57:28 +00:00
chenjianhua
b87f96e115 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-06 15:26:45 +08:00
chenjianhua
7593466dc6 bluedroid: fix ble adv data construct for device name 2023-05-06 15:26:45 +08:00
chenjianhua
f7ff6b127e bluedroid: fix ble smp key distribution setting 2023-05-06 15:26:45 +08:00
xiongweichao
a7519e17c8 bt: Deleted some redundant variables in HFP_AG 2023-05-04 15:36:23 +08:00
Rahul Tank
1f92c349a2 Nimble: Add support to send power control event in registered callback 2023-05-02 12:14:23 +05:30
Rahul Tank
329eec289b Merge branch 'feature/services_health_therm' into 'master'
NimBLE: Added health thermometer profile

See merge request espressif/esp-idf!23065
2023-05-02 13:28:08 +08:00
isha.pardikar@espressif.com
8c3ba9e2dc NimBLE: Added health thermometer profile 2023-04-28 17:20:16 +05:30
Jiang Jiang Jian
cac7a5c9cb Merge branch 'bugfix/fix_bleqabr23_28' into 'master'
Bluedroid: report disconnect event after BLE link closed

See merge request espressif/esp-idf!23156
2023-04-28 17:59:29 +08:00
Jiang Jiang Jian
b0d595d057 Merge branch 'bugfix/hf_cind_ind_index' into 'master'
bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator

Closes IDFGH-4674

See merge request espressif/esp-idf!23431
2023-04-28 17:48:14 +08:00
Wang Meng Yang
00687a1fb6 Merge branch 'bugfix/fix_ble_battery_profile_error' into 'master'
Fixed battery profile wrong condition in bluedroid host

Closes IDFGH-9937

See merge request espressif/esp-idf!23358
2023-04-28 14:50:03 +08:00
Chen Jian Hua
b2906d412d Merge branch 'feature/support_periodic_adv_sync_trans' into 'master'
Bluedroid: add periodic adv sync transfer API and EVT

See merge request espressif/esp-idf!22146
2023-04-27 14:19:43 +08:00
Chen Jian Hua
809bd5a52c Merge branch 'feature/support_gatt_read_multi_variable' into 'master'
Bluedroid: add GATT read multi variable API and EVT

See merge request espressif/esp-idf!21990
2023-04-27 14:18:22 +08:00
xiongweichao
f04b663ac4 bt: Fixed the inconsistency between the indicator event received by the HF application layer and the actually received indicator.
Closes https://github.com/espressif/esp-idf/issues/6486
2023-04-27 10:06:18 +08:00
Rahul Tank
10e93dc1f4 Nimble:Added change to expose addr resolution API outside stack 2023-04-26 17:47:47 +05:30
Zhi Wei Jian
0b5b9520ba Merge branch 'bugfix/fix_own_addr_is_rap_random_err' into 'master'
Fixed no error report when own address type is rpa_random and no random address setting

Closes BLEQABR23-159

See merge request espressif/esp-idf!23363
2023-04-26 20:15:53 +08:00
xiongweichao
481034060a bt: Fixed the problem of out-of-bounds access caused by the variable-length array introduced in 3268075231
Closes https://github.com/espressif/esp-idf/issues/11264
2023-04-26 19:31:07 +08:00
xiongweichao
de24e9b86e bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT 2023-04-26 17:51:16 +08:00
chenjianhua
0f7446f93f bluedroid: support gatts show local database 2023-04-23 17:22:04 +08:00
zwj
7d1e7d2766 Fixed no error report when own address type is rpa_random and no random address setting 2023-04-23 16:15:39 +08:00
zhiweijian
1d548ae1f2 Fixed battery profile wrong condition 2023-04-23 11:15:57 +08:00
Zhi Wei Jian
bc216802c6 Merge branch 'bugfix/fix_bleqabr23_98' into 'master'
Bluedroid: fix GATTC cache address saving

Closes BLEQABR23-98 and BLEQABR23-34

See merge request espressif/esp-idf!22970
2023-04-17 10:54:31 +08:00
chenjianhua
c8a380500a bluedroid: report disconnect event after BLE link closed 2023-04-12 11:13:15 +08:00
Jiang Jiang Jian
18af256a84 Merge branch 'bugfix/fix_bleqabr23_138' into 'master'
Bluedroid: report status after clearing the BLE white list

See merge request espressif/esp-idf!23094
2023-04-11 09:59:24 +08:00
chenjianhua
7ceba49fda bluedroid: fix GATTC cache address save 2023-04-10 14:33:31 +08:00
Jin Cheng
b4f6e585d4 fix a2dp source crash when connect to Bose speaker 2023-04-10 05:11:04 +00:00
chenjianhua
3a7dea67eb bluedroid: report status after clearing the BLE white list 2023-04-10 12:12:32 +08:00
Jin Cheng
a7a2e5d407 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-04-06 14:13:05 +08:00
isha.pardikar@espressif.com
810f719ee1 NimBLE : Fixed config options in esp_nimble_cfg.h 2023-03-31 16:21:44 +05:30
Wang Meng Yang
70a355dbc1 Merge branch 'doc/update_doc_of_esp_bt_gap_set_cod' into 'master'
bt: Optimized the document for GAP API: esp_bt_gap_set_cod

Closes IDFGH-8668

See merge request espressif/esp-idf!22887
2023-03-30 12:12:02 +08:00
Jin Cheng
cb68c7cba1 Optimized the document for GAP API:
`esp_bt_gap_set_cod`
2023-03-29 15:41:14 +08:00
Rahul Tank
ff88044a44 Merge branch 'bugfix/warning_cur_len' into 'master'
NimBLE: Fixed warning cur_len unused

See merge request espressif/esp-idf!22855
2023-03-24 19:09:50 +08:00
Rahul Tank
9179456c48 Add Power control specific soc capability 2023-03-24 10:56:03 +05:30
isha.pardikar@espressif.com
e987b80d90 NimBLE: Fixed warning cur_len unused 2023-03-24 10:48:07 +05:30
Isha Pardikar
d6f49becff Merge branch 'feature/services' into 'master'
NimBLE : Added heart rate measurement as a service

See merge request espressif/esp-idf!22781
2023-03-24 13:13:34 +08:00
Jiang Jiang Jian
b6fda9723e Merge branch 'bugfix/fix_att_rsp_timeout' into 'master'
Fixed bluedroid host ATT Ignore wrong response error

Closes BLEQABR23-30 and BT-3224

See merge request espressif/esp-idf!22688
2023-03-23 17:10:54 +08:00
isha.pardikar@espressif.com
fc0aa4d083 NimBLE : Added heart rate measurement as a service 2023-03-23 11:04:00 +05:30
Jiang Jiang Jian
defae704e4 Merge branch 'bugfix/delay_report_memory_leak' into 'master'
bugfix: fixed memory leak in AVDT delay report

Closes BTQABR2023-12

See merge request espressif/esp-idf!22870
2023-03-23 10:55:47 +08:00
Jin Cheng
439d285c4a Fixed memory leak in AVDT delay report 2023-03-22 15:30:06 +08:00
Jin Cheng
1d32c85f18 Fixed the index out of bounds of hfp_ag BTC control block 2023-03-22 13:17:33 +08:00
zhiweijian
7ad9e885e4 If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED 2023-03-20 15:54:32 +08:00
isha.pardikar@espressif.com
e985cc521b NimBLE: Added support for writing data more than BLE_ATT_ATTR_MAX_LEN 2023-03-17 15:25:08 +05:30
Rahul Tank
2fed59af2f Nimble: Added debug relate flag around debug code 2023-03-14 16:57:40 +05:30
zhiweijian
588626d64e Fixed ATT Ignore wrong response error 2023-03-14 08:49:19 +00:00
Jiang Jiang Jian
251e0c5fc7 Merge branch 'bugfix/fix_adv_scan_state_conflict' into 'master'
Bluedroid: fix adv and scan state conflict

See merge request espressif/esp-idf!22685
2023-03-13 10:52:40 +08:00
Roshan Bangar
de7a7b41b7 NimBLE : Correct macro usage 2023-03-10 11:05:41 +05:30
Rahul Tank
8fc0343e5a Merge branch 'bugfix/modify_configuration_for_ble_5' into 'master'
Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips

See merge request espressif/esp-idf!22409
2023-03-10 12:35:39 +08:00
Jiang Jiang Jian
1f05281913 Merge branch 'bugfix/fix_hidh_connection_bug' into 'master'
Bugfix/Fix HID Host bug when handling the two consecutive connection request

Closes IDFGH-9100

See merge request espressif/esp-idf!21988
2023-03-10 03:48:48 +08:00
Wang Meng Yang
9c1897028a Merge branch 'bugfix/avrcp_psth_cmd_rsp' into 'master'
bt:Added a parameter to tell the user the result of the pass through command implementation

Closes BT-2233

See merge request espressif/esp-idf!22474
2023-03-09 17:48:15 +08:00
Jiang Jiang Jian
e63f609501 Merge branch 'bugfix/fix_fast_packets_handling' into 'master'
Nimble: Retry buffer allocation, if previous allocation fails

Closes BT-2473 and IDFGH-9487

See merge request espressif/esp-idf!22586
2023-03-09 17:44:54 +08:00
chenjianhua
7bbfd28d44 bluedroid: fix adv and scan state conflict 2023-03-09 16:36:54 +08:00
liqigan
20c9efed4d fix HID Host bug when handling the two consecutive connection request
Closes https://github.com/espressif/esp-idf/issues/10504
2023-03-09 14:25:25 +08:00
Zim Kalinowski
05037957c7 Merge branch 'docs/broken_links_2' into 'master'
docs: fix broken links

See merge request espressif/esp-idf!22611
2023-03-08 18:12:24 +08:00
Rahul Tank
eb304455d5 Nimble: Added change to give time to allocate buffers, in case previous
allocation fails

Closes https://github.com/espressif/esp-idf/issues/10849
2023-03-08 12:31:41 +05:30
Rahul Tank
d89736babf Nimble: Update example configuration to enable ext adv feature only for BLE5.0 supported chips 2023-03-08 11:59:43 +05:30
Marius Vikhammer
24e0d91cd0 docs: fix broken links 2023-03-06 17:29:10 +08:00
Shen Weilong
f39648040e BLE: Add ble support for esp32h2 2023-03-06 10:43:17 +08:00
xiongweichao
3b5939396d bt:Added a parameter to tell the user the result of the pass through command implementation 2023-02-22 15:37:54 +08:00
Alexey Lapshin
d4b7be4a73 bt: fix gcc-12 compile errors 2023-02-22 05:33:03 +00:00
Jiang Jiang Jian
0591695a81 Merge branch 'bugfix/bluedroid_le_coc_compile_error' into 'master'
bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs

Closes BT-2862

See merge request espressif/esp-idf!22321
2023-02-20 13:23:51 +08:00
Roshan Bangar
baf4240776 NimBLE: Use dynamic buffers instead of static memory. 2023-02-15 04:55:26 +00:00
Roshan Bangar
ba1119a725 Nimble: Migrate to nimble 1.5 2023-02-15 04:55:26 +00:00
Jin Cheng
eac73d8f58 Fixed build errors when sniff subrating is enabled. 2023-02-11 08:29:09 +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
wangmengyang
3279b4d41d bt: fix Bluedroid compile errors after enable CONFIG_ESP_SYSTEM_USE_EH_FRAME on RISC-V SoCs
This root cause is incorrect source code separation by conditonal MACROs for BLE L2CAP COC related functions
2023-02-10 21:51:08 +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
78baa6c98c Nimble: Modified code to have fragmentation of packet equal to MAX PKT SIZE in case
controller supports larger buffer size
2023-02-03 10:20:49 +05:30
Chen Jian Hua
732df630cd Merge branch 'feature/add_params_in_gatt_conn_evt' into 'master'
Bluedroid: add params for GATT connect event

Closes BLEQABR23-1

See merge request espressif/esp-idf!22183
2023-02-03 10:29:36 +08:00
Jiang Jiang Jian
fb1902773f Merge branch 'bugfix/sdp_event_status_overwritten_by_handle' into 'master'
bt: Fixed SDP BTA_SDP_REMOVE_RECORD_USER_EVT event status overridden by handle

Closes IDFGH-9219

See merge request espressif/esp-idf!22153
2023-02-02 19:54:45 +08:00
AlbertWDev
18a1b4c9b9 bt: fix SDP event status overwritten by handle 2023-02-01 10:53:42 +01:00
chenjianhua
4b44305103 bluedroid: add params in GATT connect event 2023-02-01 12:08:33 +08:00
Rahul Tank
826495a145 Nimble: Added return value (success / failure ) to nimble_port_init 2023-01-31 12:01:02 +05:30
chenjianhua
0976a1d7f6 bluedroid: add periodic adv sync transfer API and EVT 2023-01-30 14:32:04 +08:00
zwl
38c5f239be Enabled PCL feature on ESP32C6 BT Controller 2023-01-16 12:28:44 +08:00
chenjianhua
708ca0181c bluedroid: support get bluetooth device name 2023-01-13 10:39:57 +08:00
chenjianhua
e1888dbb96 bluedroid: add GATT read multi variable API and evt 2023-01-10 20:44:23 +08:00
chenjianhua
175be1c42c bluedroid: support ble privacy by controller 2023-01-10 18:50:11 +08:00
Zhi Wei Jian
c08cd91da3 Merge branch 'bugfix/fix_bluedroid_bug_for_pts' into 'master'
Bluedroid: fixed GATT multi notify and robust caching

Closes BT-3142

See merge request espressif/esp-idf!21871
2023-01-10 10:49:21 +08:00
chenjianhua
70bb6c7388 bluedroid: fixed GATT multi notify and robust caching 2023-01-06 20:13:58 +08:00
Wang Meng Yang
068fec4714 Merge branch 'bugfix/access_nullptr_when_ble_disconn' into 'master'
Bugfix/Fixed crash caused by accessing nullptr in `btm_acl_disconnected`

See merge request espressif/esp-idf!21877
2023-01-04 20:43:58 +08:00
Jin Cheng
2e9a180f43 Fixed crash caused by accessing nullptr in btm_acl_disconnected 2023-01-04 11:47:05 +08:00
Shen Weilong
e41b35b089 1. Update libbt
2. Release the controller's .bss and .data memory
3. Modify the kconfig in nimble host
2023-01-04 11:17:07 +08:00
shenweilong
93fc1bd05f support ble on esp32c6 2023-01-04 11:10:10 +08:00
Sumeet Singh
79fbb4add7 NimBLE: Fix incomplete clearing of peer_dev_rec 2022-12-30 17:26:00 +05:30
Rahul Tank
133b2e45e3 Nimble: Removes global min/max definition causing problems with other libraries 2022-12-20 11:21:31 +05:30
Rahul Tank
f3012849e8 Merge branch 'feature/add_periodic_helper_macros' into 'master'
Nimble: Add helper macros to set interval min / max for periodic adv

See merge request espressif/esp-idf!21575
2022-12-14 22:07:00 +08:00
Rahul Tank
4e43694b7c Nimble: Add helper macros to set interval min / max for periodic adv 2022-12-13 13:44:30 +05:30
Rahul Tank
af953e48de Merge branch 'doc/update_nimble_mesh_example_information' into 'master'
Nimble: Update Mesh example documentation

See merge request espressif/esp-idf!21539
2022-12-13 15:24:42 +08:00
Wang Meng Yang
1ac3595bde Merge branch 'bugfix/a2dp_error_code' into 'master'
bt: Update A2DP version to v1.4

Closes BT-2918, BT-2919, and BT-2932

See merge request espressif/esp-idf!21142
2022-12-13 14:56:18 +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
6d676019c1 Merge branch 'bugfix/fix_gatt_char_perm_key_size' into 'master'
Bluedroid: fix encrypt keysize of GATT characteristic permission

Closes BT-2992

See merge request espressif/esp-idf!21250
2022-12-12 16:23:59 +08:00
Zhi Wei Jian
250f2c4a89 Merge branch 'bugfix/fix_ble_conn_param_update' into 'master'
Bluedroid: fix ble connection update with same params

Closes BT-2943

See merge request espressif/esp-idf!21309
2022-12-12 15:18:26 +08:00
Jiang Jiang Jian
706a2c779f Merge branch 'bugfix/correct_the_default_SR_mode' into 'master'
bugfix/correct the SR_mode selection when konw nothing about Peripheral

See merge request espressif/esp-idf!21355
2022-12-12 14:57:16 +08:00
Wang Meng Yang
84e48db373 Merge branch 'feature/support_ble_53_feature_for_pts' into 'master'
Bluedroid: support ble host features for PTS

See merge request espressif/esp-idf!21253
2022-12-12 14:33:37 +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
Rahul Tank
7b08933d09 Merge branch 'feature/nimble_support_ble_max_conn_num' into 'master'
Nimble:  Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3

See merge request espressif/esp-idf!21498
2022-12-09 21:35:19 +08:00
chenjianhua
5a0bc5c1fd bluedroid: fix ble connection update with same params 2022-12-09 14:40:57 +08:00
chenjianhua
2afe5cdc76 bluedroid: add config for GAP service and periodic adv sync transfer 2022-12-09 13:28:31 +08:00
chenjianhua
702e06e09e bluedroid: add internal GATT API for PTS 2022-12-09 13:28:31 +08:00
chenjianhua
fa06476806 bluedroid: add config for robust caching and RPA timeout 2022-12-09 13:28:31 +08:00
chenjianhua
238d1375a8 bluedroid: support GATT robust caching feature 2022-12-09 13:28:31 +08:00
chenjianhua
f4cd0b687d bluedroid: support GATT services database hash calculate 2022-12-09 13:28:31 +08:00
chenjianhua
4a487a6a5c bluedroid: support periodic advertising sync transfer cmd 2022-12-09 13:28:31 +08:00
chenjianhua
6f0d34d323 bluedroid: support LE L2CAP credit based connection 2022-12-09 13:28:31 +08:00
chenjianhua
2048322429 bluedroid: support oob pairing for smp secure connection 2022-12-09 13:28:31 +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
Rahul Tank
4bf8886042 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-08 17:23:15 +05:30
Jin Cheng
f2f6aef019 correct the SR_mode selection when konw nothing about Peripheral 2022-12-07 09:47:03 +00:00
Wang Meng Yang
c9b4f1995a Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption' into 'master'
Reduce the stack consumption of BTU_TASK

Closes BT-3022 and BT-2950

See merge request espressif/esp-idf!21433
2022-12-07 11:13: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
228bf596dc Added reporting for ACL link related events to application 2022-12-07 02:33:55 +00:00
Wang Meng Yang
7b1bbd59eb Merge branch 'bugfix/spp_vfs_memory_leak' into 'master'
Component_bt/fix esp_spp_vfs_register memory leak

Closes BT-2344

See merge request espressif/esp-idf!17909
2022-12-06 20:14:51 +08:00
Shen Wei Long
67507baf37 Merge branch 'feature/add_comments_for_bt_connections_master' into 'master'
Explain how much memory that will be used by each connection/advertiser.

See merge request espressif/esp-idf!21321
2022-12-06 16:55:26 +08:00
xiongweichao
9d56c4c215 Assert when malloc user_data fail 2022-12-05 20:30:45 +08:00
xiongweichao
6bce9b7029 Fixed memory leak when SPP initialization failed 2022-12-05 20:30:45 +08:00
xiongweichao
4a702a2011 Added esp_spp_vfs_unregister() to free memory allocated by esp_spp_vfs_register() 2022-12-05 20:30:43 +08:00
zwj
e5a45f00e4 Reduce the stack consumption of BTU_TASK 2022-12-05 17:01:48 +08:00
Jiang Jiang Jian
12180da408 Merge branch 'contrib/github_pr_9529' into 'master'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails

See merge request espressif/esp-idf!19463
2022-12-05 15:37:02 +08:00
chenjianhua
c37184aa85 bluedroid: fix encrypt keysize of GATT characteristic permission 2022-12-02 15:10:39 +08:00
Shen Weilong
b3d248df95 Explain how mush memory that will be used by each connection/advertiser. 2022-12-02 14:21:22 +08:00
Zhi Wei Jian
18e0cd6214 Merge branch 'feature/support_ble_max_conn_num_to_9' into 'master'
Support bluedroid host maximum number of connections to 9

Closes BT-2914, BT-3000, and BT-2915

See merge request espressif/esp-idf!20933
2022-12-02 12:10:27 +08:00
Jiang Jiang Jian
36012433f9 Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect' into 'master'
component_bt: Fixed a2dp failing to connect again after disconnect

Closes BT-1803

See merge request espressif/esp-idf!16947
2022-11-30 11:56:59 +08:00
xiongweichao
592675fd5b Fixed incorrect parameters in switching to BTC context 2022-11-30 10:41:54 +08:00
xiongweichao
3268075231 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7 bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-11-30 10:41:52 +08:00
zhiweijian
957bf03d6a bluedroid host supports the maximum number of connections to 9 2022-11-29 16:33:17 +08:00