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
wangmengyang
61bd453c15
component/bt: implement AVRCP Target APIs
...
1. Add more notification events to the enum according to the event list in AVRCP specification.
2. Add API and callback events for basic AVRCP target functionalities to do init, deinit, callback-registration, connection status indication.
3. Implement API to set/get supported PASSTHROUGH command on local AVRCP TG, implement callback events for remote passthrough command indication.
4. Implement API to set/get supported notification eventIDs on local AVRCP TG, implement API to send event notifications to remote CT. \
Currently supported event in TG only includes ESP_AVRC_RN_VOLUME_CHANGE(0xd), which can be extended in later commits.
5. Implement callback events for SetAbsoluteVolume command indication on TG.
6. Add limitation of event_ids supported in RegisterNotification command in CT. The supported event_ids include: \
ESP_AVRC_RN_PLAY_STATUS_CHANGE(0x1), ESP_AVRC_RN_TRACK_CHANGE(0x2), ESP_AVRC_RN_PLAY_POS_CHANGE(0x5), ESP_AVRC_RN_VOLUME_CHANGE(0xd).
7. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
8. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
9. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
10. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
11. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
12. Update the use of AVRCP APIs and events in the two examples: a2dp_sink and a2dp_gatts_coex, which include the demo of volume control and notification.
2019-04-10 16:34:13 +08: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
Jiang Jiang Jian
fe793eb574
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF' into 'master'
...
Component/bt: modify HCI_GET_CMD_BUF
See merge request idf/esp-idf!4465
2019-03-27 14:23:52 +08: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
7f606d0c2b
Component/bt: modify HCI_GET_CMD_BUF
2019-03-20 19:35:06 +08: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
Jiang Jiang Jian
d4d3ccf6d9
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication' into 'master'
...
Component/bt: add handle in gatts conf event for indication
See merge request idf/esp-idf!4024
2019-02-01 21:33:39 +08:00
zhiweijian
b51a0fcea5
Component/bt: fix write char crash after disconnection
2019-01-31 12:18:54 +00:00
zhiweijian
b2a515c347
Component/bt: add handle in gatts conf event for indication
2019-01-28 07:12:22 +00: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
Jiang Jiang Jian
58a200e70c
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp' into 'master'
...
Component/bt: fix auth_mode error when reconnection in SMP
See merge request idf/esp-idf!3856
2018-12-13 17:04:12 +08:00
Jiang Jiang Jian
bfd22a24da
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth' into 'master'
...
Component/bt: fix accept specified sec auth error
See merge request idf/esp-idf!3770
2018-12-13 11:19:53 +08:00
zhiweijian
5c5799fa51
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-04 18:05:25 +08:00
zhiweijian
18a27b88c7
Component/bt: fix accept specified sec auth error
2018-11-23 20:14:03 +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
c7fb749b84
Merge branch 'bugfix/btdm_fix_memory_leak_in_v3.2' into 'master'
...
Component/bt: fix memory leak in service change char
See merge request idf/esp-idf!3631
2018-11-12 11:27:00 +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
Angus Gratton
3685d325d8
Merge branch 'bugfix/multiple_github_pr' into 'master'
...
Multiple github PR's
See merge request idf/esp-idf!3665
2018-11-12 09:14: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
Stephen Bird
b5c58557fc
bt: Fix bracket warning
...
Merges https://github.com/espressif/esp-idf/pull/2568
2018-11-08 15:57:12 +05:30
zhiweijian
77668b3912
Component/bt: add scan window and interval check when set scan params
2018-11-06 08:45:25 +00:00
zhiweijian
2e139c7885
Component/bt: fix memory leak in service change char
2018-11-06 08:43:59 +00:00
Jiang Jiang Jian
ded53bd0ff
Merge branch 'bugfix/btdm_allow_a2dp_codec_dynamic_alloc' into 'master'
...
bugfix/btdm_allow_a2dp_codec_dynamic_allocated
See merge request idf/esp-idf!3598
2018-11-06 11:56:30 +08:00
Jiang Jiang Jian
12b2268ee5
Merge branch 'bugfix/btdm_sniff_anchor_point_calculation_error' into 'master'
...
bugfix/btdm_sniff_anchor_point_calculation_error
See merge request idf/esp-idf!3582
2018-11-01 15:58:00 +08:00
baohongde
373f1c121b
component/bt: bugfix of error when entering sniff mode with attempt large than 0xFF
2018-10-31 16:16:49 +00:00
wangmengyang
7bb83b0056
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2018-10-31 16:11:49 +00:00
zhiweijian
950fe25120
Component/bt: fix get attr value API error
2018-10-30 15:00:23 +08:00
Jiang Jiang Jian
93dbf2f3ba
Merge branch 'bugfix/btdm_read_multiple_return_callback_status_ESP_GATT_STACK_RSP' into 'master'
...
Component/bt: fix read multiple return callback status: ESP_GATT_STACK_RSP
See merge request idf/esp-idf!3437
2018-10-26 11:41:18 +08:00
zhiweijian
6b96a3c23b
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
2018-10-25 06:03:16 +00:00
zhiweijian
30ea8c7048
Component/bt: read multiple return callback status: ESP_GATT_STACK_RSP
2018-10-17 12:34:34 +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
Zhi Wei Jian
5d71940178
component/bt: add sequential check when add include service
2018-09-30 14:19:54 +08:00
Jiang Jiang Jian
d6bc6fad8b
Merge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_security_param_API' into 'master'
...
Component/bt: add only accept sepecified authentication function for SMP
See merge request idf/esp-idf!3385
2018-09-30 14:18:23 +08:00
zhiweijian
3050e55801
Component/bt: add only accept sepecified Authentication
2018-09-29 21:23:55 +08:00
zhiweijian
54b841dc30
Component/bt: fix service change char can’t read and write and no descr
2018-09-28 19:57:25 +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