Commit Graph

726 Commits

Author SHA1 Message Date
satish.solanke
5d49509969 Fix the mem corruption 2023-08-11 18:22:58 +00:00
Rahul Tank
56eef9151f 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-31 09:30:45 +05:30
Shen Weilong
2d1544b863 feat(ble): Added ble examples for multiple connections 2023-07-14 19:01:11 +08:00
Jiang Jiang Jian
82fde1e823 Merge branch 'backport_v5.1' into 'release/v5.1'
fix(bt): Fix the issue of not printing the Bluetooth MAC address for ESP32(backport v5.1)

See merge request espressif/esp-idf!24780
2023-07-14 18:17:32 +08:00
zhanghaipeng
124cce0de3 fix(bt): Fix ble advertising data length 0 error
- Fixed an issue where the BLE advertisement length of 0 was causing an error
2023-07-13 16:43:37 +08:00
chenjianhua
34b4936a7d fix(bt/bluedroid): Fix memory leak of gattc cache upon disconnection 2023-07-13 12:14:16 +08:00
chenjianhua
62bd3973f6 bluedroid: fixed gatt tcb free when disconnecting 2023-07-13 12:13:47 +08:00
Rahul Tank
cab8159187 Nimble: Increase the number of semaphore count to allow more semaphore
allocation
2023-07-12 15:31:46 +05:30
Rahul Tank
fa8f99249c fix (nimble): Fix data type of power level and delta to handle negative values 2023-07-11 17:18:09 +05:30
Rahul Tank
a125e8f7ed Merge branch 'feature/services_proximity_v5.1' into 'release/v5.1'
NimBLE : Added proximity sensor as a service (v5.1)

See merge request espressif/esp-idf!24649
2023-07-11 14:04:31 +08:00
Rahul Tank
a7b62bbcaf Merge branch 'bufix/fix_assert_while_stack_deinit_v5.1' into 'release/v5.1'
NimBLE :  Fix assert due to controller event while stack deinit (v5.1)

See merge request espressif/esp-idf!24620
2023-07-07 19:41:52 +08:00
isha.pardikar@espressif.com
893967f596 feat (NimBLE): Add proximity sensor as a service 2023-07-07 14:59:22 +05:30
Rahul Tank
7c6ab05f50 feat(nimble): Add support for PCL Set RSSI VSC and example code for its usage
This commit adds support for sending Vendor Specific HCI commands and handling Vendor Specific HCI
Events in the Nimble stack. It also includes the necessary configuration options and APIs to handle
these commands and events.

The following changes were made:
- Added configuration option to enable support for VSC and VSE
- Added API to send Vendor Specific HCI commands
- Added example code for using the Set RSSI VSC for Power Control

This commit also includes some minor code improvements and bug fixes
2023-07-06 19:54:19 +05:30
Rahul Tank
022ce314c3 Nimble: Add APIs to handle vs HCI commands and events 2023-07-06 19:54:19 +05:30
Roshan Bangar
fe05003a8f fix(nimble): Fix assert due to controller event while stack deinit 2023-07-06 10:30:36 +05:30
Jiang Jiang Jian
5e3488396a Merge branch 'bugfix/fix_some_bt_controller_bug_v5.1' into 'release/v5.1'
component_bt:Fixed some bluetooth bugs(v5.1)

See merge request espressif/esp-idf!24579
2023-07-06 00:54:40 +08:00
Jiang Jiang Jian
71a5663786 Merge branch 'bugfix/hfp_packet_type_err_v5.1' into 'release/v5.1'
Revised (e)SCO configuration parameter sets (v5.1)

See merge request espressif/esp-idf!24346
2023-07-05 20:05:59 +08:00
Jiang Jiang Jian
d682fbeb07 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v5.1' into 'release/v5.1'
bugfix/Fixed the issue of alarm leak (v5.1)

See merge request espressif/esp-idf!24351
2023-07-05 19:53:09 +08:00
Jiang Jiang Jian
425b660583 Merge branch 'feature/update_avrcp_v1.5_v5.1' into 'release/v5.1'
change(bt/Bluedroid): Update AVRCP version to 1.5 (v5.1)

See merge request espressif/esp-idf!24582
2023-07-05 19:52:09 +08:00
Jiang Jiang Jian
60163c3b0f Merge branch 'bugfix/memory_cleanup_optimization_v5.1' into 'release/v5.1'
Nimble: Fixes for memory leak / optimization (v5.1)

See merge request espressif/esp-idf!24139
2023-07-05 19:42:58 +08:00
Jiang Jiang Jian
9d47a58750 Merge branch 'bugfix/macro_changes_in_nimble-1.5_v5.1' into 'release/v5.1'
NimBLE : Update macro name changes in nimble-1.5 (v5.1)

See merge request espressif/esp-idf!23745
2023-07-05 12:24:52 +08:00
Rahul Tank
4e1ec90525 Nimble: Fixed setting macro values based on selected configuration 2023-07-04 15:48:16 +05:30
Rahul Tank
73639cf0b4 Nimble: Fixes for memory leak / optimization 2023-07-04 15:45:22 +05:30
xiongweichao
015555c6fb change(bt/Bluedroid): Update AVRCP version to 1.5 2023-07-04 15:52:29 +08:00
xiongweichao
50904e9353 components/bt: Fix crash due to NULL point 2023-07-04 14:55:04 +08:00
Jiang Jiang Jian
11d34b143f Merge branch 'bugfix/sdp_32_and_128_bit_UUID_v5.1' into 'release/v5.1'
bt:Fixed SDP not being able to configure 32-bit and 128-bit UUID(v5.1)

See merge request espressif/esp-idf!24442
2023-07-04 12:15:01 +08:00
Jiang Jiang Jian
09f2ab841f Merge branch 'docs/update_esp_hid_host_v5.1' into 'release/v5.1'
[docs] fix documents for Bluetooth HID Host API reference (backport v5.1)

See merge request espressif/esp-idf!24389
2023-07-04 12:14:22 +08:00
Jin Cheng
c020194656 Revised (e)SCO configuration parameter sets 2023-07-04 04:12:35 +00:00
Jin Cheng
4ce9023cd4 Fixed the issue of alarm leak in hf-ag 2023-07-04 04:12:24 +00:00
Jin Cheng
ced0a5747b Fixed the issue of alarm leak in A2DP 2023-07-04 04:12:24 +00:00
Jiang Jiang Jian
56bb50b85e Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
FIxed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!24275
2023-07-04 12:11:35 +08:00
Roshan Bangar
fb0cc7189a NimBLE : Update macro name changes in nimble-1.5 2023-07-03 04:58:43 +00:00
Ilia Lutchenko
0b7e61b95a 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-28 14:11:34 +08:00
wangmengyang
5fa5f7b2fe component/docs: enable generation of API-reference documents for Bluetooth HID host 2023-06-25 15:37:41 +08:00
gongyantao
e5899f6a70 resolve the conflicts 2023-06-25 15:37:41 +08:00
Rahul Tank
a2daceb791 Nimble: Expose API to clear all addresses in whitelist out of stack 2023-06-25 10:13:39 +05:30
chenjianhua
3758e37024 bluedroid: fixed default extended connection params 2023-06-16 11:02:17 +08:00
chenjianhua
c5e580e522 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit d751960b27.
2023-06-02 16:51:07 +08:00
Jiang Jiang Jian
a32201f6ec Merge branch 'bugfix/fix_compilation_error_optimization_v5.1' into 'release/v5.1'
Nimble: Fix compilation issues seen while enabling -O2 optimization (v5.1)

See merge request espressif/esp-idf!23717
2023-05-19 16:48:18 +08:00
Jiang Jiang Jian
7fcba0fbf8 Merge branch 'bugfix/fix_some_ble_bug_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!23699
2023-05-18 20:08:25 +08:00
Jiang Jiang Jian
8b7cd4dc08 Merge branch 'bugfix/hfp_ag_idx_invalid_v5.1' into 'release/v5.1'
bt: Fixed out of bounds access due to variable length array(v5.1)

See merge request espressif/esp-idf!23665
2023-05-18 20:07:21 +08:00
Rahul Tank
38a1cfe59c Nimble: Fix compilation issues seen while enabling -O2 optimization 2023-05-18 14:00:33 +05:30
Jiang Jiang Jian
0ed8499898 Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.1' into 'release/v5.1'
Bugfix/a2dp source crash connect to bose speaker (v5.1)

See merge request espressif/esp-idf!23574
2023-05-17 15:10:34 +08:00
Jiang Jiang Jian
b62cbebb81 Merge branch 'feature/expose_addr_resolv_out_stack_v5.1' into 'release/v5.1'
Nimble:Added change to expose addr resolution API outside stack (v5.1)

See merge request espressif/esp-idf!23491
2023-05-16 16:34:11 +08:00
chenjianhua
b77479df39 bluedroid: fix ble ext adv rand addr setting for NRPA 2023-05-11 14:36:39 +08:00
chenjianhua
ac42a8f2c7 bluedroid: fix ble adv data construct for device name 2023-05-11 14:36:39 +08:00
chenjianhua
e6f018a309 bluedroid: fix ble smp key distribution setting 2023-05-11 14:36:39 +08:00
chenjianhua
d751960b27 bluedroid: report disconnect event after BLE link closed 2023-05-11 14:36:39 +08:00
xiongweichao
7ddb440384 bt: Deleted some redundant variables in HFP_AG 2023-05-11 06:09:06 +00:00
xiongweichao
a891aa7e4d 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-05-11 06:09:06 +00:00