Wang Meng Yang
da07a096d0
Merge branch 'test/bqb_test_bt_classic_hid_v5.1' into 'release/v5.1'
...
feat(bt/bqb): Add setting local di record function for specific hid case of bqb auto test (backport v5.1)
See merge request espressif/esp-idf!25833
2023-09-11 07:36:25 +08:00
chenqingqing
7e406acb95
feat(bt/api): Add new apis for hfp to get the numbers of packet status received and sent
2023-09-08 00:52:07 +00:00
Jin Cheng
26600a8fcf
fix(bt/bluedroid): Deleted the redundant 'memset' in btc_hf_cb_handler
2023-09-08 00:52:07 +00:00
Jin Cheng
c6e62a9817
docs(bt/bluedroid): Changed the description of esp_hf_client_reject_call
2023-09-08 00:52:07 +00:00
Jin Cheng
eed85adaeb
fix(bt/bluedroid): Fixed wrong indexes of HF-AG indicators
2023-09-08 00:52:07 +00:00
Jin Cheng
71ec923e55
fix(bt/bluedroid): Added peer Bluetooth device address into HF callback parameters
2023-09-08 00:52:07 +00:00
Jin Cheng
7037ee47f9
fix(bt/bluedroid): Changed log level from WARNING to DEBUG in bta_ag_sco_read_cback
2023-09-08 00:52:07 +00:00
Jin Cheng
0167b14411
fix(bt/bluedroid): Fixed wrong code logic in 'AT+CIND?' of HFP
2023-09-08 00:52:07 +00:00
Jin Cheng
17d1b66d47
fix(bt/bluedroid): Fixed errors in parsing ATD command in HFP AG
2023-09-08 00:52:07 +00:00
Jin Cheng
19185a65fd
fix(bt/bluedroid): Fixed NULL Bluetooth device address in HF-AG events was reported to application layer
2023-09-08 00:52:07 +00:00
zwl
325bf39c89
feat(ble): enable adv report flow control on esp32c2
2023-09-07 16:27:50 +08:00
wanglai@espressif.com
648bc35612
feat(bt/bluedroid): Add setting local di record function for bt classic hid device bqb test
2023-09-07 14:18:03 +08:00
chenjianhua
c315a246e6
Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
...
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-09-07 11:05:10 +08:00
zhanghaipeng
0f6a7ac7b1
fix(bt): Fix bugs about updating connect param
2023-09-07 11:05:10 +08:00
zhanghaipeng
e3c5c4fb7b
fix(bt): Fix bug while calculating block cipher using aes-128
2023-09-07 11:05:10 +08:00
zhanghaipeng
98f59569b0
docs(bt): Update comment in ble
2023-09-07 11:05:10 +08:00
zhanghaipeng
cc9c5b78b9
feat(bt/bluedroid): Support periodic adv adi feature
2023-09-07 11:05:09 +08:00
chenjianhua
985f6a4892
fix(bt/bluedroid): Fixed BLE disconnect event report when disconnecting
2023-09-07 11:05:09 +08:00
chenjianhua
9df464d7bb
fix(bt/bluedroid): Fixed GATTC cache address save when list is full
2023-09-07 11:05:09 +08:00
chenjianhua
35af1c03e2
feat(bt/bluedroid): Support high duty adv interval setting
2023-09-07 11:05:09 +08:00
chenjianhua
52a0a10ef4
fix(bt/bluedroid): Fix address check when using NRPA as random device address
2023-09-07 11:05:09 +08:00
Roshan Bangar
1520984157
feat(nimble): Added support for dynamic services
...
Added support for dynamic services
2023-09-05 11:52:17 +05:30
Rahul Tank
bf204d4150
Merge branch 'feature/adv_queue_congestion_v5.1' into 'release/v5.1'
...
feat(nimble): Added adv queue congestion check (v5.1)
See merge request espressif/esp-idf!25726
2023-09-05 14:14:35 +08:00
Jiang Jiang Jian
1b87f35f0f
Merge branch 'feature/support_ble_53_host_feat_v5.1' into 'release/v5.1'
...
Support BLE host feature for PTS (backport v5.1)
See merge request espressif/esp-idf!25645
2023-09-04 15:32:23 +08:00
darshan
6983b86528
feat(nimble): Added adv queue congestion check
2023-09-04 11:25:20 +05:30
wanglai@espressif.com
87135459a7
feat(bt/bqb): Set SBC encoder as PTS required for BQB test
...
1: set SBC encoder as PTS required. The encoder is effective first.
But it changes to default after media start.
2023-08-31 19:11:43 +08:00
wanglai@espressif.com
4ea52074b4
fix(bt/avdtp): Reject SET CONFIGURATION command with error code INVALID_CODEC_TYPE
...
1: reset p_scb->avdt_handle in cleanup function.
2: cancel comparing p_scb->codec_type and p_scb->seps[xx].codec_type to
send the error INVALID_CODEC_TYPE.
2023-08-31 19:11:43 +08:00
chenjianhua
b3860800ae
bluedroid: add GATT read multi variable API and evt
2023-08-30 14:50:21 +08:00
chenjianhua
e451b967d6
bluedroid: add periodic adv sync transfer API and EVT
2023-08-30 14:50:21 +08:00
chenjianhua
97dd2dc88e
bluedroid: support gatts show local database
2023-08-30 14:50:21 +08:00
Rahul Tank
8f51aee8fa
feat(nimble): Added support for high duty adv interval
2023-08-28 17:53:16 +05:30
Rahul Tank
81ae481d7f
Merge branch 'feat/add_set_data_related_addr_change_cmd_v5.1' into 'release/v5.1'
...
feat(nimble): Add support for LE Data Set Related Address Change command (v5.1)
See merge request espressif/esp-idf!25583
2023-08-28 20:21:50 +08:00
Wang Meng Yang
09954c1d29
Merge branch 'feature/config_device_name_in_eir_v5.1' into 'release/v5.1'
...
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
See merge request espressif/esp-idf!25541
2023-08-28 19:02:07 +08:00
Island
261af82d1f
Merge branch 'bugfix/ble_hci_issues_chain_mbuf_v5.1' into 'release/v5.1'
...
fix hci issues when chain mbuf exists
See merge request espressif/esp-idf!25532
2023-08-28 18:39:37 +08:00
Jiang Jiang Jian
b20c3f8a79
Merge branch 'bugfix/remove_deprecated_err_code_v5.1' into 'release/v5.1'
...
fix(bt): Removed an incorrectly defined HCI error code (5.1)
See merge request espressif/esp-idf!25288
2023-08-28 10:30:00 +08:00
Jiang Jiang Jian
d7020c02f4
Merge branch 'backport_v5.1' into 'release/v5.1'
...
fix(bt): Fix ble periodic advertising data length 0 error(backport v5.1)
See merge request espressif/esp-idf!25005
2023-08-28 10:22:11 +08:00
Jiang Jiang Jian
60143c7f68
Merge branch 'bugfix/fix_idfgh_10045_v5.1' into 'release/v5.1'
...
Bluedroid: fixed compile warning when optimize for performance (backport v5.1)
See merge request espressif/esp-idf!24844
2023-08-28 10:21:37 +08:00
Rahul Tank
2baf418119
feat(nimble): Add support for LE Data Set Related Address Change command
2023-08-26 20:42:40 +05:30
Jin Cheng
6a859a6cc5
fix(bt): Removed an incorrectly defined HCI error code
2023-08-25 11:54:39 +00:00
luomanruo
01fbc285b0
ble: Fix hci issues when chain mbuf exists
2023-08-25 12:25:11 +08:00
baohongde
6340713fef
feat(bt/bluedroid): Add option whether to include device name in extended inquiry response
2023-08-24 19:37:35 +08:00
Rahul Tank
9396753e1a
Merge branch 'feature/enc_adv_data_v5.1' into 'release/v5.1'
...
NimBLE: Added support of encrypted advertising data (v5.1)
See merge request espressif/esp-idf!25325
2023-08-24 19:12:55 +08:00
Wang Meng Yang
c3987d2163
Merge branch 'test/bqb_test_bt_classic_spp_rfcomm_5.1' into 'release/v5.1'
...
feat(bt/bqb): Add BQB enabling and rfcomm msc command sending support (backport v5.1)
See merge request espressif/esp-idf!25091
2023-08-24 18:59:15 +08:00
Roshan Bangar
d57466da3c
feat(nimble): Added periodic Adv Feature Updates in BLE 5.3
2023-08-23 18:53:51 +05:30
isha.pardikar@espressif.com
db5b50af2c
NimBLE: Added support of encrypted advertising data
2023-08-23 18:18:23 +05:30
Rahul Tank
6e3c700bf6
Merge branch 'bugfix/handle_NULL_data_periodic_adv_v5.1' into 'release/v5.1'
...
fix(nimble): Add check to set length only if data is valid in periodic adv (v5.1)
See merge request espressif/esp-idf!25178
2023-08-23 20:09:13 +08:00
Jiang Jiang Jian
d00077e5a9
Merge branch 'bugfix/incr_sdp_max_conns_v5.1' into 'release/v5.1'
...
fix(bt): Increased SDP maximum connections to avoid connection exhausted (v5.1)
See merge request espressif/esp-idf!25429
2023-08-23 19:51:39 +08:00
Jin Cheng
3638d265ed
fix(bt): Increased SDP maximum connections to avoid connection exhausted
2023-08-21 11:21:56 +08:00
chenjianhua
62f5905be2
bluedroid: fixed compile warning when optimize for performance
2023-08-19 12:26:19 +08:00
zwl
05e44b1021
ble: Added adv report flow control config on ESP32C6 and ESP32H2
2023-08-16 19:37:09 +08:00
satish.solanke
5d49509969
Fix the mem corruption
2023-08-11 18:22:58 +00:00
Rahul Tank
b4df07185c
fix (nimble): Add check to set length only if data is valid in periodic adv
2023-08-03 14:44:07 +05:30
wanglai@espressif.com
2b8e8e832a
fix(bt/bqb): Modify BQB related configurations
2023-07-31 15:28:33 +08:00
wanglai@espressif.com
f05c0a36e8
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-31 15:28:20 +08: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
zhanghaipeng
b1799a7042
fix(bt): Fix bug with address resolution enabling during non-connected activities
2023-07-26 16:36:19 +08:00
zhanghaipeng
d01fa70ba8
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-26 16:35:57 +08:00
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
xiongweichao
d3d73ed8b2
bt: Fixed codec mode error in ESP_HF_WBS_RESPONSE_EVT
2023-05-11 06:09:06 +00:00
zhiweijian
16696d98c1
Fixed battery profile wrong condition
2023-05-08 11:31:22 +08:00
zwj
daf2622a5b
Fixed no error report when own address type is rpa_random and no random address setting
2023-05-08 11:31:06 +08:00
Jin Cheng
8dbe966d89
fix a2dp source crash when connect to Bose speaker
2023-05-04 19:00:20 +08:00
xiongweichao
25e8069532
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-05-04 14:08:30 +08:00
Rahul Tank
34e0ed613a
Nimble:Added change to expose addr resolution API outside stack
2023-04-27 10:33:47 +05:30
chenjianhua
d0011b778a
bluedroid: report status after clearing the BLE white list
2023-04-20 18:58:38 +08:00
chenjianhua
c2fe7be50e
bluedroid: fix GATTC cache address save
2023-04-20 18:57:23 +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
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
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
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
xiongweichao
cbf3467d4e
Fixed a2dp failing to connect again after disconnect
2022-11-28 11:37:14 +08:00
xiongweichao
cf788a241d
bt: Update HFP version to v1.8
2022-11-23 20:17:22 +08:00
xiongweichao
923cdcf75a
bt: Update A2DP version to v1.4
2022-11-23 20:17:22 +08:00
xiongweichao
33d351898a
bt:Fixed the use of invalid configuration when the peer device configures the stream, and returned an incorrect error code
2022-11-23 20:17:22 +08:00
Alexey Gerenkov
47c2c13de5
build: Adds support for universal Clang toolchain
2022-11-23 13:25:16 +03:00
Rahul Tank
858c5e296d
Merge branch 'bugfix/reattempt_crash' into 'master'
...
NimBLE: Updated check for reattempt connection code
See merge request espressif/esp-idf!21130
2022-11-21 18:37:15 +08:00
Wang Meng Yang
6a8f528e08
Merge branch 'bugfix/fix_hfp_clcc_parser_bug' into 'master'
...
Bugfix/Fix HFP client parse CLCC command response bug
Closes BT-2907
See merge request espressif/esp-idf!20904
2022-11-18 12:16:42 +08:00
isha.pardikar@espressif.com
3a3e7b1401
NimBLE: Fixed going for reattempt connection code
2022-11-17 13:08:22 +05:30
zwj
39c03e0ce0
Fixed errors reported by CI clang_tidy_check
2022-11-16 15:58:31 +08:00
zwj
d074b74e1f
Fixed sometimes BTU task overflow when doing read and write performance test
2022-11-16 15:44:29 +08:00
liqigan
df7449615b
fix HFP client parse CLCC command response bug
2022-11-15 15:14:42 +08:00
Jiang Jiang Jian
35faecca57
Merge branch 'bugfix/a2dp_can_not_connect_after_ble_connected' into 'master'
...
fixed the issue iOS devices cannot initiate connection
Closes IDFGH-4754 and AUD-4085
See merge request espressif/esp-idf!20703
2022-11-11 18:27:50 +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
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
Rahul Tank
1d322f9a8c
Nimble: Allows to use ble_uuid.h
with C++ by changing the BLE_UUIDy_INIT macros
2022-11-07 12:25:34 +05:30
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
Jin Cheng
042fd5f895
fixed the issue iOS devices cannot initiate connection
...
to ESP32 while there is a BLE connection to this ESP32
Closes https://github.com/espressif/esp-idf/issues/6557
2022-10-31 11:08:15 +00:00
Wang Meng Yang
d938cb7e28
Merge branch 'bugfix/spp_50005_crash' into 'master'
...
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections
Closes BT-2411
See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
xiongweichao
01a67d001e
bt: Keep the maximum number of credits unchanged
2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597
bt: Replaced the tx queue in SPP VFS mode with ringbuffer
2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e
bt: Split SPP application layer data packets according to the MTU of the peer
2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291
bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size
2022-10-27 19:45:25 +08:00
Rahul Tank
fe5d4e0f39
Nimble: Add LE Power CTRL changes
2022-10-27 16:30:44 +05:30
Rahul Tank
a6251da049
Merge branch 'feature/LE_Conn_Subrating' into 'master'
...
Nimble: Stack support for Connection subrating
See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
Wang Meng Yang
db9caf4354
Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
...
bt: Fixed SPP VFS mode not being able to send data
See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Lu Ai Jun
23cac269f6
Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
...
Nimble: Allocate memory for ext adv reports from lower priority pool.
See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557
bt: Fixed SPP VFS mode not being able to send data
2022-10-25 14:17:45 +08:00
Rahul Tank
5a08ba15b5
Nimble: Stack support for Connection subrating feature
2022-10-25 10:21:46 +05:30
Wang Meng Yang
2cbc83a4c7
Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
...
Bluedroid: correct the length of att read by type pdu
Closes BT-2874
See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +08:00
Wang Meng Yang
af3e6d6398
Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
...
bt: Fixed esp_spp_write() crash when len is 0
Closes IDFGH-8523
See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
xiongweichao
4e895104ef
bt: Fixed esp_spp_write() crash when len is 0
...
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00:00
Jin Cheng
36d8e0b9ad
Revert "fixed the issue iOS devices cannot initiate connection"
...
This reverts commit da44fc9cbe
.
2022-10-20 06:17:33 +00:00
chenjianhua
bc1762e806
bluedroid: correct the length of att read by type pdu
2022-10-19 21:58:28 +08:00
Rahul Tank
2abc451d90
Nimble: Added check to allocate memory for extended adv
...
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +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