baohongde
a05b99e0dc
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 15:16:14 +08:00
Jiang Jiang Jian
50664c43b2
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.1' into 'release/v3.1'
...
Component/bt: fix blufi prepare write crash (backport v3.1)
See merge request idf/esp-idf!4564
2019-03-20 21:03:14 +08:00
zhiweijian
4f6b6d3391
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:08:28 +08:00
zhiweijian
d6fb966ea4
Component/bt: fix blufi prepare write crash
2019-03-20 14:32:23 +08:00
zhiweijian
3d542b2530
Component/bt: add BLE adv report flow control
2019-03-12 15:15:21 +08:00
Jiang Jiang Jian
357239a20c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.1' into 'release/v3.1'
...
Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1)
See merge request idf/esp-idf!3956
2019-01-09 13:57:07 +08:00
zhiweijian
ee99795f3d
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:49:02 +08:00
zhiweijian
f4b64a491b
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:36:51 +08:00
Jiang Jiang Jian
09b2cd7d26
Merge branch 'bugfix/btdm_add_check_peer_addr_type_in_set_adv_params_v3.1' into 'release/v3.1'
...
Component/bt: add check peer addr type in set adv params (backport v3.1)
See merge request idf/esp-idf!3735
2018-11-23 20:14:15 +08:00
zhiweijian
dfd46965ae
Component/bt: add check peer addr type in set adv params
2018-11-19 17:21:28 +08:00
baohongde
8e0bb3ec81
components/bt: Some errors in comment
2018-11-16 15:38:22 +08:00
Jiang Jiang Jian
8c16be1edc
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs_v3.1' into 'release/v3.1'
...
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
See merge request idf/esp-idf!3588
2018-11-08 17:24:53 +08:00
Jiang Jiang Jian
725978b817
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_allow_a2dp_codec_dynamic_alloc_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3600
2018-11-06 11:57:04 +08:00
wangmengyang
82e69475ca
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2018-10-31 17:54:51 +08:00
baohongde
7a05ef2002
components/bt: Fix the different size of name buffer allocation size(backport 3.1)
...
A cherry-pick of MR !3587
Close https://github.com/espressif/esp-idf/issues/2615
2018-10-31 10:56:16 +08:00
zhiweijian
e5f2f1ba78
Component/bt: add only accept sepecified Authentication
2018-10-26 11:58:25 +08:00
zhiweijian
89ee65e1c6
Component/bt: add set default passkey function
2018-10-26 11:55:18 +08:00
zwj
4b5cf90a95
component/bt: fix remove bond list failed
2018-10-25 05:32:01 +00:00
zhiweijian
5bb12070d9
Component/bt: fix get bond list error sometimes
2018-09-27 02:33:33 +00:00
Jiang Jiang Jian
e8aa442305
Merge branch 'bugfix/btdm_fix_save_error_key_in_smp_when_reconnect_v3.1' into 'release/v3.1'
...
Component/bt: fix save error key in smp when reconnect(backport v3.1)
See merge request idf/esp-idf!3289
2018-09-20 10:58:01 +08:00
zhiweijian
72f9d15a57
Component/bt: fix iPhoneX error when getting wifi list
2018-09-19 15:21:57 +08:00
zhiweijian
53d75901a9
Component/bt: fix save error key in smp when reconnect
2018-09-17 20:13:30 +08:00
Jiang Jiang Jian
760772ec4b
Merge branch 'bugfix/ble_adv_data_tx_power_v3.1' into 'release/v3.1'
...
fix TX power value in ble adv data is incorrect
See merge request idf/esp-idf!3187
2018-09-16 14:54:59 +08:00
wangmengyang
4c240064ab
component/bt: stop to inititate AVRC connection when A2DP connection fails to set up
...
AVRCP connection binds to A2DP in current implementation, despite the two profiles are\
independent according to specification. AVRCP connection is not necessary to set-up \
if A2DP connection fails to establish
2018-09-13 17:58:00 +08:00
wangmengyang
01994059e2
component/bt: bugfix that A2DP sink device can be connected by another A2DP sink device
...
In pevious implementation, A2DP sink will register an A2DP source Stream End Point(SEP) although the SEP is not\
supposed to be used. Now remove the unused SEP for source so that only one role of A2DP can be supported at one
time. Service record in local SDP server only includes at most one service for A2DP sink role or source
2018-09-13 17:58:00 +08:00
Tian Hao
a05868f0a8
fix TX power value in ble adv data is incorrect
...
refence to https://github.com/espressif/esp-idf/issues/2284
Before fixing, the tx power in adv data is always 0xeb(-21dbm).
restriction:
If change BLE advertising TX power, please call esp_ble_gap_config_adv_data()
after BLE adv TX power changed.
Later, will implement set BLE advertising TX power via HCI, then the
TX power value in adv data can be update automatically after BLE adv
TX power changed.
2018-09-12 10:19:08 +00:00
baohongde
95c5805088
component/bt: Add Legacy Pairing (backport 3.1)
...
A cherry-pick of MR !3057
2018-09-04 20:59:03 +08:00
Jiang Jiang Jian
e1fc259600
Merge branch 'bugfix/btdm_a2dp_sink_pcm_buf_size_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_a2dp_sink_pcm_buffer_size_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3116
2018-08-29 22:54:58 +08:00
wangmengyang
9f6af0ad4b
component/bt: bugfix for incorrect computation of PCM data buffer size in A2DP sink
2018-08-28 10:59:22 +08:00
Hrishikesh Dhayagude
7ffd68cac2
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event (backport v3.1)
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-27 12:03:20 +05:30
zhiweijian
281877ada5
Component/bt: fix get bond list error when connection with no bond
2018-08-10 21:00:56 +08:00
Angus Gratton
485ed4cc22
Merge branch 'bugfix/btdm_fix_queue_block_when_scanning_for_v3.1' into 'release/v3.1'
...
Component/bt: fix queue blocking when scanning for v3.1
See merge request idf/esp-idf!2893
2018-08-03 07:28:07 +08:00
zhiweijian
b270638868
Component/bt: fix hci_hal_env.rx_q and xHciH4Queue blocking when scanning
2018-08-01 15:10:28 +08:00
zhiweijian
970502f904
Component/bt: fix gattc get count invalid
2018-07-31 15:38:00 +08:00
Jiang Jiang Jian
16bb663c74
Merge branch 'bugfix/btdm_bad_pointer_of_bt_gap_v3.1' into 'release/v3.1'
...
component/bt: Fix some bad point calculations of BT GAP of v3.1
See merge request idf/esp-idf!2669
2018-06-29 22:16:15 +08:00
baohongde
1340de576e
component/bt: Fix bug of BT and BLE remove bond device of v3.1
...
1. esp_ble_remove_bond_device will only remove BLE bond key and disconnect BLE device.
2. esp_bt_gap_remove_bond_device will only remove BT bond key and disconnect BT device.
A cherry-pick of MR !2562
2018-06-29 20:09:19 +08:00
baohongde
92ea676c38
component/bt: Fix some bad point calculations of BT GAP of v3.1
...
Closes https://github.com/espressif/esp-idf/issues/2103
A cherry-pick of MR !2655
2018-06-29 20:01:51 +08:00
Tian Hao
e3dedb74c5
bt : fix read rssi conflict when in dual mode
2018-06-26 11:54:39 +08:00
zhiweijian
822dac5659
Component/bt: fix memory leak
2018-06-06 02:17:06 +00:00
Tian Hao
21cb7226a2
component/bt : enlarge the A2DP SINK FRAME QUEUE SIZE to make A2DP more fluent
2018-06-01 16:51:23 +08:00
xiewenxiang
4467b34da2
component/bt: Fix malloc fail lead to crash
2018-05-31 13:31:27 +08:00
baohongde
4c8d9278b5
component/bt: Fix mem leak of esp_ble_gap_set_security_param
2018-05-28 17:43:53 +08:00
Jiang Jiang Jian
affed9a235
Merge branch 'feature/a2dp-sink-source-runtime-selection' into 'master'
...
bt-a2dp: BT A2DP sink and source selection is now runtime
See merge request idf/esp-idf!2229
2018-05-22 22:21:39 +08:00
Amey Inamdar
ae8ed8dad8
bt-a2dp: BT A2DP sink and source selection is now runtime
...
Earlier they have to be selected at the compile time through sdkconfig.
A2DP sink and source application tested with this change.
Signed-off-by: Amey Inamdar <amey@espressif.com>
2018-05-21 14:02:49 +05:30
zhiweijian
340ad5c430
Component/bt: fix scan duplicate
2018-05-21 15:23:15 +08:00
wangmengyang
4c4e143a2f
component/bt: implement HFP Hands Free Unit Role
2018-05-21 11:33:30 +08:00
Roland Dobai
2aa9c15906
VFS: allow to find free file descriptors & register them
2018-05-18 07:57:35 +02:00
baohongde
174501ff35
component/bt: modify BT GAP structure
...
1. Separate the upward and the downward
2. Cancel use of msg.aid when call btc_transfer_context
2018-05-16 18:58:13 +08:00
Jiang Jiang Jian
f502e195aa
Merge branch 'bugfix/improve_bt_debug' into 'master'
...
components/bt: Improve the Bluetooth debug messaging scheme
See merge request idf/esp-idf!2303
2018-05-16 16:04:34 +08:00
Jiang Jiang Jian
6adaeb0048
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
...
Component/bt: fix crash without SMP when deinit bluedroid
See merge request idf/esp-idf!2375
2018-05-14 21:20:44 +08:00