Jiang Jiang Jian
4fc411e744
Merge branch 'bugfix/btdm_fix_hci_enhance_conn_complete_evt_unpack_error' into 'master'
...
component/bt: fix hci enhance connection complete event unpack error
See merge request idf/esp-idf!4889
2019-06-26 16:45:39 +08:00
Jiang Jiang Jian
291e25baa6
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
...
Component/bt: add readme doc for BLE demos
See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
zhiweijian
6559f935ce
component/bt: fix unpack hci enhance connection complete event error
2019-06-24 07:05:01 +00:00
baohongde
149e07911d
components/bt: Optimization and bugfix of previous commits
2019-06-21 11:55:45 +08:00
Tian Hao
2ad65bb434
Support timeout of fixed_queue and osi_thread
...
1. remove fixed_queue_try_dequeue and fixed_queue_try_enqueue,
2. add timeout parameter for fixed_queue_enqueue and fixed_queue_dequeue
3. replace where call fixed_queue_try_dequeue/enqueue to fixed_queue_dequeue/enqueue(..., timeout = 0)
4. replace where call fixed queue_enqueue/dequeue to fixed_queue_enqueue/dequeue( ..., timeout = FIXED_QUEUE_MAX_TIMEOUT)
5. modify the blocking_type of osi_thread_post to timeout.
2019-06-20 17:12:04 +08:00
baohongde
07fef85a23
components/bt: Separation of BT and BLE
2019-06-20 17:06:23 +08:00
baohongde
bd9fed4400
component/bt: reduce the size of DRAM
...
DRAM.data: 506B --> 196B
DRAM.bss : 26857B --> 2170B
2019-06-20 16:00:55 +08:00
baohongde
21cce564ba
component/bt: Macor from sdkconfig.h
is used only in bt_user_config.h
2019-06-20 11:41:17 +08:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
zhiweijian
76b3a64b76
Component/bt: add new api to get connection parameters
2019-06-17 07:04:34 +00:00
Jiang Jiang Jian
4e09eaf8e2
Merge branch 'feature/btdm_config_eir' into 'master'
...
components/bt: Add API to config EIR data
See merge request idf/esp-idf!5038
2019-06-13 14:55:23 +08:00
baohongde
89e2b48a18
components/bt: Add API to config EIR data
2019-06-03 19:29:54 +08:00
baohongde
dd906a91a5
components/bt: Enable mSBC and add decoder and encoder
2019-05-24 17:36:10 +08:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
zhiweijian
0ae4eb4f09
Component/bt: add ble link timeout config in menuconfig
...
- add ble link timeout config in menuconfig
- disable background connection when call gatts_open
2019-04-22 09:16:19 +00:00
Jiang Jiang Jian
3ab9d00219
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs' into 'master'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4618
2019-04-04 18:45:25 +08:00
zhiweijian
0acc2f59e5
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 06:09:19 +00:00
baohongde
59d77660ef
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:37:37 +08:00
zhiweijian
c0bdea6aae
Component/bt: add new param for update_whitelist()
2019-03-22 12:22:51 +00:00
zhiweijian
1940ee0910
Component/bt: fix build warning when bluedroid disable log
2019-03-18 14:18:12 +08:00
zhiweijian
d5f15a45ca
Component/bt: add BLE adv report flow control
2019-03-12 11:10:26 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
Tian Hao
6c8a8664aa
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 14:30:02 +08:00
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
baohongde
d601ed8023
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-20 11:10:52 +08:00
Jiang Jiang Jian
1607812fef
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled' into 'master'
...
Component/bt: fix receive adv pkt when enable duplicate scan
See merge request idf/esp-idf!3783
2018-12-18 11:44:38 +08:00
zhiweijian
05e84cad1e
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:49:04 +08:00
zhiweijian
5c5799fa51
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-04 18:05:25 +08:00
zhiweijian
dd3d89db49
Component/bt: add update duplicate scan exceptional list APIs
2018-11-23 16:46:17 +08:00
Jiang Jiang Jian
0d7f2d77c2
Merge branch 'feature/btdm_add_set_long_adv_data_api' into 'master'
...
Component/bt: add set long adv data api
See merge request idf/esp-idf!3722
2018-11-21 11:31:13 +08:00
Jiang Jiang Jian
ffda37dd16
Merge branch 'feature/btdm_BLE_Blocking_APIs' into 'master'
...
Component/bt: add BLE Blocking APIs
See merge request idf/esp-idf!3513
2018-11-20 14:40:50 +08:00
zhiweijian
775c6e5ab7
Component/bt: add set long adv data api
2018-11-20 11:19:51 +08:00
baohongde
ac5a3443a4
components/bt: Some errors in comment
2018-11-16 11:27:22 +08:00
Jiang Jiang Jian
ccb3841a9e
Merge branch 'feature/btdm_add_vendor_hci_cmd' into 'master'
...
component/bt: add vendor hci cmd
See merge request idf/esp-idf!3577
2018-11-12 11:26:35 +08:00
zwj
baf57b9702
component/bt: add vendor hci cmd
2018-11-09 14:39:04 +08:00
zhiweijian
fb3aa88565
Component/bt: add BLE Blocking APIs
2018-11-09 03:31:08 +00:00
zhiweijian
77668b3912
Component/bt: add scan window and interval check when set scan params
2018-11-06 08:45:25 +00:00
zhiweijian
6b96a3c23b
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
2018-10-25 06:03:16 +00:00
Jiang Jiang Jian
fda865b002
Merge branch 'bugfix/btdm_watchdog_timeout_after_pair_with_iphone' into 'master'
...
component/bt: Fix BTU task watchdog timeout after pair with iphone
See merge request idf/esp-idf!3366
2018-09-30 14:39:00 +08:00
zhiweijian
3050e55801
Component/bt: add only accept sepecified Authentication
2018-09-29 21:23:55 +08:00
baohongde
15fae990c1
component/bt: Fix BTU task watchdog timeout after pair with iphone
...
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-26 11:59:54 +08:00
zwj
fa00e6d4f7
component/bt: add clear rand address API
2018-09-17 20:09:03 +08:00
Jiang Jiang Jian
18a893bd35
Merge branch 'bugfix/btdm_unreserve_scn1_for_hfp' into 'master'
...
component/bt: Unlock reserve of SCN 1 for HFP
See merge request idf/esp-idf!3269
2018-09-14 19:49:47 +08:00
baohongde
738522f1a3
component/bt: Unlock reserve of SCN 1 for HFP
2018-09-14 06:22:58 +00:00
Tian Hao
b9382b29fa
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 20:23:45 +08:00
zhiweijian
d12982dc6e
Component/bt: add set default passkey function
2018-09-07 10:55:44 +08:00
Jiang Jiang Jian
affe75a102
Merge branch 'bugfix/btdm_hfp_invalid_hci_sync_pkt_len' into 'master'
...
bugfix/btdm_hfp_invalid_hci_sync_pkt_len
See merge request idf/esp-idf!3186
2018-09-06 19:51:42 +08:00
wangmengyang
4e6b3936c0
component/bt: bugfix for incorrect length of HCI SCO packet size in HFP resulted from uninitialized data buffer length
2018-09-04 20:09:07 +08:00
Tian Hao
069f495006
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 17:07:10 +08:00
Jiang Jiang Jian
2d0124698e
Merge branch 'bugfix/btdm_update_private_address' into 'master'
...
component/bt: Update BLE private address after it's private address interval
See merge request idf/esp-idf!2987
2018-08-31 21:33:54 +08:00