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
Jiang Jiang Jian
e1dcd81c18
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.1' into 'release/v3.1'
...
components/bt: Fix two bugs about pairing(backport 3.1)
See merge request idf/esp-idf!3996
2019-01-09 13:51:07 +08:00
baohongde
152a4f46d6
components/bt: Fix two bugs about pairing
...
1. Fix Legacy Pairing failed without remote device name
2. Fix discovery no device after disabling SSP
2018-12-21 20:52:46 +08:00
zhiweijian
bd9eb5255d
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:55:38 +08:00
zhiweijian
f4b64a491b
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:36:51 +08:00
baohongde
8e0bb3ec81
components/bt: Some errors in comment
2018-11-16 15:38:22 +08:00
zhiweijian
143c0bdaf9
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
2018-10-26 14:10:32 +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
baohongde
de0a323bef
component/bt: Fix BTU task watchdog timeout after pair with iphone (backport 3.1)
...
A cherry-pick of MR !3366
Create a new pending queue, then re-submit pending requests in old pending queue,preventing new events being inserted into it.
Closes https://github.com/espressif/esp-idf/issues/2191
2018-09-28 11:04:44 +08:00
baohongde
cc0a73c156
component/bt: Fix bug of remove bond device fail when BLE and BT are connectd at the same time (backport 3.1)
...
A cherry-pick of MR !2767
2018-09-26 14:23:05 +08:00
baohongde
ea3b2716fd
component/bt: Unlock reserve of SCN 1 for HFP (backport v3.1)
...
A cherry-pick of MR !3269
2018-09-17 11:01:58 +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
Jiang Jiang Jian
d193895ec6
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1' into 'release/v3.1'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len_for_v3.1(backport v3.1)
See merge request idf/esp-idf!3188
2018-09-06 19:52:05 +08:00
Tian Hao
196793dccb
component/bt : fix bug that set discovery mode will stop ble adv
...
As the bluedroid original implmentation of BR/EDR and BLE dual mode about discovery mode,
when set discovery mode for BR/EDR, it will stop ble advertising.
Reference to https://github.com/espressif/esp-idf/issues/2306
2018-09-04 20:29:36 +08:00
wangmengyang
7c6d447938
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:24:00 +08:00
baohongde
6a2f492832
component/bt: Update BLE private address after it's private address interval (backport 3.1)
...
A cherry-pick of MR !2987
2018-09-03 14:27:15 +08:00
zhiweijian
bfc8142c99
Component/bt: fix get error adv packet sometimes
2018-08-28 14:13:10 +08:00
zhiweijian
512e4d5836
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 17:02:13 +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
wangmengyang
dff911da69
component/bt: bugfix of invalid SCO handle in HCI number_of_completed_packets event
2018-07-09 12:14:27 +08:00
Jiang Jiang Jian
f4f563bc7b
Merge branch 'bugfix/btdm_fix_stop_adv_error_in_dual_core_v3.1' into 'release/v3.1'
...
component/bt: fix stop adv error in dual core for v3.1
See merge request idf/esp-idf!2661
2018-06-29 19:22:28 +08:00
Jiang Jiang Jian
dadfcc35b3
Merge branch 'bugfix/read_rssi_v3.1' into 'release/v3.1'
...
bt : fix read rssi conflict when in dual mode
See merge request idf/esp-idf!2618
2018-06-29 19:18:15 +08:00
zwj
6752163800
component/bt: fix stop adv error in dual core
2018-06-29 15:09:11 +08:00
zwj
9ca4dc0626
component/bt: fix no adv packets
2018-06-29 10:23:46 +08:00
Tian Hao
e3dedb74c5
bt : fix read rssi conflict when in dual mode
2018-06-26 11:54:39 +08:00
zhiweijian
c8e848b0ff
Component/bt: fix start adv
2018-05-30 17:10:51 +08:00
zhiweijian
2e63a445d9
Component/bt: fix set scan params command completer error
2018-05-23 12:09:39 +00:00
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
Jiang Jiang Jian
993b8b7bf6
Merge branch 'bugfix/o3_fails' into 'master'
...
Fix compilation errors when -O3 is used
See merge request idf/esp-idf!2396
2018-05-17 16:48: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
Hrishikesh Dhayagude
da6cb6c741
components/bt: Improve the Bluetooth debug messaging scheme
...
As of now, when Bluetooth debugs are enabled, all the messages are
mapped to BT_PRINTF which is mapped to ESP_LOGE. Hence, make monitor
shows all logs in red color which might lead to missing the actual
errors
This patch maps the Bluetooth messages to appropriate ESP_LOG* messages
and improves readability.
Also, make the BT trace level be configurable in menuconfig, so that
each layer of bt trace can be enabled/disabled.
Finally, add debug log control for BTC, OSI, BLUFI and clear up
Bluetooth debug logs.
So, with this the method of enabling Bluetooth logs is as follows:
1. make menuconfig -> Component config -> Bluetooth -> Bluedroid Enable
-> BT DEBUG LOG LEVEL -> set trace level for every layer of BT
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-05-14 20:45:05 +08:00
Roland Dobai
ca08397b6b
Fix compilation errors when -O3 is used
...
Closes https://github.com/espressif/esp-idf/issues/718
2018-05-14 12:29:57 +02:00
zhiweijian
58b2cb3e0c
Component/bt: update con params is rejected in smp when reconnection
2018-05-09 20:28:13 +08:00
Jiang Jiang Jian
ade78d3850
Merge branch 'bugfix/btdm_fix_version_excahnge_issue' into 'master'
...
Component/bt: fix version exchange issue
See merge request idf/esp-idf!2329
2018-05-04 19:30:03 +08:00
zhiweijian
5549ea3439
Component/bt: fix version exchange issue
...
- Android 7.0 version issue
- version exchange late in some phones
- can not get version in smp
2018-04-28 16:32:24 +08:00
Hrishikesh Dhayagude
fd7baaf4ba
components/bt: Make modifications to the support of GAP appearance/icon
...
characateristic
1. In addition to mentioning in the documentation, use the standard appearance
values already present and return appropriate error in case an incorrect
value is passed
2. Add ESP_BLE_APPEARANCE* macros corresponding to BTM_BLE_APPEARANCE*
and use them from the API instead
3. Add the missing appearance parameter values from
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml
4. Fix some minor typos
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-04-28 13:59:36 +05:30
Tian Hao
adada3f67e
component/bt : modify header files to avoid conflict
...
1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/
fix compile
2018-04-26 19:32:06 +08:00
Jiang Jiang Jian
12dbe4dac5
Merge branch 'feature/btdm_add_set_local_icon_api' into 'master'
...
Component/bt: add set gap icon API
See merge request idf/esp-idf!2129
2018-04-11 20:48:13 +08:00
Jiang Jiang Jian
6b7ad6b707
Merge branch 'bugfix/btdm_do_not_update_conn_params_when_have_key_in_slave' into 'master'
...
Component/bt: do not update connection params when already have keys in slave
See merge request idf/esp-idf!2176
2018-04-11 20:47:27 +08:00
Roland Dobai
744c2dcdd9
Resolve problems found by enabling -Wwrite-strings compilation flag
2018-04-10 08:53:43 +02:00
Jiang Jiang Jian
393f3da37c
Merge branch 'feature/btdm_add_get_local_used_addr_API' into 'master'
...
Component/bt: add esp_ble_gap_get_local_used_addr() API
See merge request idf/esp-idf!2137
2018-04-02 22:28:00 +08:00
zhiweijian
a6c79cfe0f
Component/bt: do not update connection params when already have keys in slave
2018-04-02 19:44:09 +08:00
zhiweijian
99872beb6a
Component/bt: add set gap icon API
2018-03-30 09:21:53 +00:00
Jiang Jiang Jian
e6d6deebc7
Merge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'
...
Component/bt: modify open API params
See merge request idf/esp-idf!2116
2018-03-30 17:00:19 +08:00
zhiweijian
e6262375a3
Component/bt: fix connect fail when remote addr type is random
2018-03-29 20:55:31 +08:00
zhiweijian
aa236809ad
Component/bt: fix no set rand add callback event
2018-03-29 20:17:14 +08:00
zhiweijian
8a78860b16
Component/bt: add esp_ble_gap_get_local_used_addr() API
2018-03-29 19:47:08 +08:00
zhiweijian
064c274bd6
Component/bt: fix build error when close SMP
2018-03-21 15:21:30 +08:00