Commit Graph

107 Commits

Author SHA1 Message Date
xiongweichao
d52cb7d6e4 update hfp_ag version to 1.7.2 2022-06-07 17:17:03 +08:00
Jiang Jiang Jian
4ed2e6130a Merge branch 'feature/add_l2cap_ertm_api' into 'master'
Component_bt:Add l2cap and sdp api

Closes IDF-4487

See merge request espressif/esp-idf!18034
2022-05-29 17:34:38 +08:00
xiongweichao
b777a53fe8 support add and search raw sdp record 2022-05-28 23:34:21 +00:00
xiongweichao
4faf4e760a sdp support create and search PBAPC record 2022-05-28 23:34:21 +00:00
xiongweichao
a317cb1b0a Split jv_rfcomm and jv_l2cap 2022-05-28 23:34:21 +00:00
xiongweichao
1d9fd4707a add sdp api 2022-05-28 23:34:21 +00:00
xiongweichao
4719db7047 add l2cap api 2022-05-28 23:34:21 +00:00
xiongweichao
9126e4f07b add sink send delay reporting 2022-05-28 23:31:45 +00:00
Anton Maklakov
b69efa20ad bluedroid: fix -Wchar-subscripts warning
'unsigner char' cast recommended, https://stackoverflow.com/a/60696378
2022-05-13 06:55:22 +00:00
Anton Maklakov
87bf3260dd bluedroid: fix argument type in functions 2022-05-13 06:55:22 +00:00
baohongde
418b546a7c components/bt: support for vendor specific battery level and docker status indication over HFP profile 2022-03-29 11:38:09 +08:00
baohongde
8a2abff26d components/bt: Fix the strlcpy length error in BTA_HfClientSendAT 2022-03-25 21:40:49 +08:00
xiongweichao
7ee85858b4 Update HFP_HF version to 1.7.2 2022-03-04 11:52:12 +00:00
Anton Maklakov
85462d17a5 components/bt: move deinit_semaphore definition to source file 2022-01-27 11:00:09 +07:00
liqigan
cccd22a080 fix SPP open with wrong remote bd_addr 2021-12-22 17:04:58 +08:00
baohongde
c138e47f45 components/bt: Update licenses 2021-12-08 10:59:06 +08:00
liqigan
aa6f86fbc5 fix SPP server bugs when the BTC layer can not allocate a slot for the listen port 2021-12-01 14:59:14 +08:00
“YangZhao”
12ec4866b8 Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place.
For the CID10365,it release the memory in the function when sent successfully.
For the CID10268,10011, we need not change the code.
2021-11-22 17:38:02 +08:00
xiongweichao
752b1976c0 Dereference after null check 2021-11-18 19:47:07 +08:00
xiongweichao
101ad32110 Dereference before null check 2021-11-18 19:38:48 +08:00
xiewenxiang
76372097bb component/bt: fix data length update failed 2021-10-13 19:58:21 +08:00
jincheng
c592da5308 bugfix/fix the crash when using legacy paring with wrong pin code
Close https://github.com/espressif/esp-idf/issues/7556
2021-09-23 07:40:54 +08:00
liqigan
1c15c9207c 1. transparent HID device
2. add esp API for HID
3. add PM config for HID
4. add HID device demo

Closes https://github.com/espressif/esp-idf/issues/5311
Closes https://github.com/espressif/esp-idf/issues/5635
Merges https://github.com/espressif/esp-idf/pull/3425
2021-09-07 16:59:30 +08:00
liaowenhao
124169a7dd bugfix acl doesn't disconnect when hfp_client disconnect 2021-08-24 10:53:25 +08:00
Wang Meng Yang
a77aaf296a Merge branch 'bugfix/bt_spp_timer_collision' into 'master'
Fix timer collision in role switch

Closes IDFGH-5464

See merge request espressif/esp-idf!14575
2021-08-17 02:10:44 +00:00
jincheng
a523dd3ede fix timer collision in role switch
Closes https://github.com/espressif/esp-idf/issues/7203
2021-08-16 08:54:37 +08:00
XieWenxiang
30ccfdb3b9 component/bt: fix bluedroid host auto update PPCP attribute value 2021-08-10 17:18:49 +08:00
zwj
d8474a92bf - fix data length update failed
- fix no callback when the value being used is the same as the value to be set
2021-06-25 15:29:38 +08:00
xiewenxiang
96811de932 component/bt: fix enable gattc nvs cache lead to crash 2021-06-07 17:28:12 +08:00
zwj
077722696a add option to enable multi-connection 2021-04-20 02:41:14 +00:00
wangmengyang
3df07164c1 components/bt: shorten some log messages for bluedroid 2021-03-17 16:52:34 +08:00
Jiang Jiang Jian
6677cd5498 Merge branch 'component_bt/optimize_spp_stop_server' into 'master'
component_bt/Optimize SPP Stop Server API

Closes BT-960

See merge request espressif/esp-idf!11124
2021-03-04 03:34:44 +00:00
liqigan
408a1490a9 add API esp_spp_stop_srv_scn to stop a specific server 2021-03-03 15:02:23 +08:00
Angus Gratton
a0c73c5f92 bt host: Don't redefine the assert macro
Required so that bt asserts obey the same configuration settings as other
asserts.

Progress towards https://github.com/espressif/esp-idf/issues/6306
2021-03-03 10:26:57 +11:00
Jiang Jiang Jian
9eae54f3be Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
fix a2dp sink crash due to ble 5.0 code

Closes BT-1358, BT-1354, and BT-1356

See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
zhiweijian
90d5413623 fix read multi char failed(GATT_27001) 2021-01-27 14:45:03 +08:00
weitianhua
c347b0a937 Update bt_discovery demo and README
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README

Update SPP demo

1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.

Format comment in esp_a2dp_api.h

Format comment in esp_avrc_api.h

Format comment in esp_spp_api.h

Fix bt_discovery build err

Update HFP API guide error

Remove BTA_AV_DEBUG

Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
Jiang Jiang Jian
f7c9f1afd7 Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd

Closes BT-711

See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098 Merge branch 'feature/hfp_console' into 'master'
Feature/modify hfp console style by using esp console

Closes BT-1052

See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
zwj
1d1754e4b4 - fix congest return value
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-01-15 18:03:56 +08:00
zwj
0880c7bcf9 fix ble read multi char err when the number of handles is more than 10 2021-01-15 18:03:39 +08:00
zwj
796a959fa5 fix vendor hci memory leak 2021-01-15 18:03:15 +08:00
zwj
7c1c669799 component/bt: add BLE v5.0 feature for bluedroid host 2021-01-15 17:55:12 +08:00
liaowenhao
6c0e3fe23c bugfix:unhandle event when tg receive set_player_app_value cmd 2021-01-08 20:58:35 +08:00
liaowenhao
08dc78412e fix double malloc for SCO link when bta_ag_sco_co_open is also called in bta_ag_rfc_open 2021-01-07 11:37:24 +00:00
liaowenhao
60e2eb8dfc bugfix/fixed the warning info always being printed when entering the cona command in msbc mode 2021-01-07 11:37:24 +00:00
Bao Hong De
64d30fa6c4 Add API to config QoS 2021-01-05 10:32:47 +08:00
xiewenxiang
945606b658 component/bt: support BLE Read Attribute value by UUID 2020-12-02 20:04:36 +08:00
XieWenxiang
e840191a0c component/bt: support BLE Application Layer Encryption key size check 2020-12-02 09:08:03 +08:00
XieWenxiang
366b036ba5 component/bt: support BLE Authorization 2020-12-02 09:07:24 +08:00