Jiang Jiang Jian
d93b8b2939
Merge branch 'bugfix/blufi_buffer_overflow_report' into 'master'
...
Bugfix/blufi buffer overflow report
See merge request espressif/esp-idf!9177
2020-06-16 15:58:25 +08:00
wangcheng
999ca60657
blufi: When the format of the received data packet is wrong, reply with an error response
2020-06-15 19:33:28 +08:00
Wang Cheng
c65bd02d87
components/bt: Add a detailed description for the user to distinguish the function of the query buffer api.
2020-06-15 18:52:48 +08:00
Geng Yu Chao
c453c2b919
Update the limited of function esp_ble_get_sendable_packets_num.
2020-06-15 18:02:34 +08:00
wangcheng
e87a42f46c
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 14:27:48 +08:00
wangcheng
9c7896f2c2
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets
2020-06-13 14:25:51 +08:00
wangcheng
d767adcbfa
components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage
2020-06-13 14:22:30 +08:00
zhiweijian
6d593eb6fc
component/bt: add clear white list API
2020-06-02 11:29:51 +08:00
liqigan
6cf659f293
components/bt: Adjust the description of esp_bt_gap_start_discovery
and esp_bt_gap_cancel_discovery
.
...
Add some comments to explain why `ESP_BT_GAP_DISC_STATE_CHANGED_EVT` is not reported.
2020-05-28 14:47:51 +08:00
liqigan
55f6a927b5
btdm:fix emit ESP_BT_GAP_DISC_STATE_CHANGED_EVT
event when call API esp_bt_gap_start_discovery
...
closes BT-594
See merge request espressif/esp-idf!8808
2020-05-20 22:43:44 +08:00
zhiweijian
ec6c7558ef
add congest direct callback and fix malloc failed when multi_connection notify performance test
2020-05-15 15:35:39 +08:00
wangcheng
418b32e71b
master missing BLE_AUTH_CMPL_EVT after restart
2020-05-13 20:33:24 +08:00
wangcheng
a5ac789725
fix bta_dm_deinit_cb crash
2020-05-13 20:18:27 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
xiewenxiang
5d0b6da6a0
component/bt: fix don't dequeue the command queue after process the read_by_type_req
2020-03-31 15:10:01 +08:00
weitianhua
0d2790a429
Remove (x2) variable in BCM_STRNCPY_S and BCM_STRCPY_S when performance optimization enabled
2020-03-12 16:20:58 +08:00
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Jiang Jiang Jian
959b0295f3
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_anther_connection' into 'master'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7651
2020-02-20 14:15:22 +08:00
baohongde
d11a86076f
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-19 20:14:47 +08:00
baohongde
6ca361fd2b
components/coex: Fix a2dp stuck after creating anther connection
2020-02-19 07:14:26 +00:00
blueMoods
6a922ea07c
components/bt: change HCI task size back
2020-02-18 03:06:09 +00:00
Jiang Jiang Jian
928438056d
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
Closes BT-565
See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00
Jiang Jiang Jian
d058be6720
Merge branch 'bugfix/btdm_error_type_in_config_eir_evt' into 'master'
...
components/bt: Fix error EIR type in config eir event
Closes BT-593
See merge request espressif/esp-idf!7404
2020-02-14 16:38:08 +08:00
Angus Gratton
11fac8637a
docs: Resolve doxygen & Sphinx warnings
2020-02-07 16:37:45 +11:00
baohongde
097777ed66
components/bt: Fix error EIR type in config eir event
2020-01-20 20:46:05 +08:00
baohongde
5ca4c85497
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 11:32:26 +08:00
zhiweijian
86bebae4fb
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 03:24:29 +00:00
Jiang Jiang Jian
0a6e61ae6d
Merge branch 'bugfix/btdm_fix_blufi_prepare_buf_len_invalid' into 'master'
...
component/bt: fix blufi prepare write buf len invalid
See merge request espressif/esp-idf!7048
2020-01-13 15:59:14 +08:00
Jiang Jiang Jian
7a7c4a5486
Merge branch 'bugfix/coex_schm' into 'master'
...
Bugfix/coex schm
See merge request espressif/esp-idf!7176
2020-01-12 20:37:42 +08:00
gengyuchao
3366467980
ble:set a esp api to get size of controller send packets buffer.
2020-01-10 20:32:07 +08:00
gengyuchao
189cd21660
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-10 20:32:07 +08:00
baohongde
a2398f0dcc
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-01-10 16:00:12 +08:00
zhiweijian
b820b3fc56
component/bt: fix blufi prepare write buf len invalid
2020-01-09 09:38:35 +00:00
Geng Yu Chao
090843fa17
component/bt: Fix the issue with pointer type conversion in gattc. Unified count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-01-09 16:30:55 +08:00
Jiang Jiang Jian
dd8db6621b
Merge branch 'bugfix/add_missing_gatt_descriptors_GH' into 'master'
...
bugfix: ble add missing gatt descriptors
Closes BCI-138
See merge request espressif/esp-idf!6978
2020-01-09 15:57:08 +08:00
gengyuchao
7e54ac08e6
ble Fix typo and add some comment
2020-01-08 04:17:49 +00:00
Brian Friedkin
efc514fa0a
add missing gatt descriptors
2020-01-08 04:17:49 +00:00
weitianhua
39a5eb84f3
Disable sniff mode during (e)SCO connection.
2020-01-07 03:15:32 +00:00
baohongde
3977ba7bc6
components/bt: Revert changes of security mask
2019-12-25 20:03:16 +08:00
Jiang Jiang Jian
77290ddd07
Merge branch 'demo/hfp-client-demo' into 'master'
...
component_bt/: Add HFP HF Unit Example
Closes BT-459
See merge request espressif/esp-idf!6495
2019-12-12 21:19:04 +08:00
weitianhua
c2e97b1042
Enable mSBC for demo
2019-12-12 17:12:38 +08:00
weitianhua
392eb79704
Format the BTM_WBS_INCLUDED macro
2019-12-12 17:12:38 +08:00
weitianhua
ad4b11a4f1
Fix crash when WBS enabled.
2019-12-12 17:12:38 +08:00
weitianhua
10e5f16974
remove BTM_WBS_INCLUDED for bta_hf_client_version select
2019-12-12 17:12:19 +08:00
weitianhua
742cb8df9e
Update the README.md
...
Fix the m_rb bug in bt_app_hf.c
Change the log level into information.
2019-12-12 17:12:19 +08:00
Geng Yu Chao
6c923cf330
Fix some typo in idf
2019-12-12 15:55:42 +08:00
Jiang Jiang Jian
767917bcf7
Merge branch 'bugfix/btdm_avrc_metadata_length_error' into 'master'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6879
2019-12-12 15:53:08 +08:00
Geng Yu Chao
46c53ab8c8
btdm:fix the problem that Not getting complete Identity Address (Public Address) of the Privacy-enabled Bonded Device after bonding. beacuse of the wrong memcpy in LE_KEY callback handler.
2019-12-09 15:21:49 +08:00
Xu Jun Jun
e20e47809d
For BT device restore security info from NV to SRAM, should set the ble_hci_handle to a invalid value, otherwise BLE devices may have pairing problem
2019-12-07 16:19:57 +08:00
Hrishikesh Dhayagude
a2adcea802
Enable characteristic 0x2A04 in GAP service
...
Add support to enable Peripheral Preferred Connection Parameters in GAP service and update it correctly
2019-12-05 12:17:14 +08:00
Jiang Jiang Jian
0c0430a169
Merge branch 'bugfix/btdm_allow_start_adv_again' into 'master'
...
component/bt: allow to send stop adv again and fix tx prog crash
See merge request espressif/esp-idf!6573
2019-12-04 20:23:36 +08:00
baohongde
e94c2a04c1
components/bt: Fix AVRC metadata length error
2019-12-03 02:44:49 +00:00
weitianhua
adf8a96602
fix hci sco crash bug for HFP
2019-11-29 06:51:18 +00:00
weitianhua
7c18299571
Add AG component API_REFERENCE
...
Expose esp_hf_indchange_notification to this example.
2019-11-27 13:35:35 +00:00
weitianhua
0c6e1f7ef8
Fix the audio crash bugs
...
Fix voice recognition bugs
Fix audio memory leak bug.
2019-11-27 13:35:35 +00:00
weitianhua
78cbdfa332
HFP AG Example
2019-11-27 13:35:35 +00:00
zhiweijian
fb369577d9
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 10:03:06 +00:00
weitianhua
52c5cc038a
bugfix for HFP hci audio crash
2019-11-26 02:34:09 +00:00
baohongde
2e570e78c6
components/bt: Disable some unsupported security mask
2019-11-17 13:42:09 +08:00
weitianhua
3f0e851a39
Feature/ Read Remote Device's Name
2019-11-14 03:33:37 +00:00
baohongde
90b18dd4f6
components/bt: Not post message to a2dp ctrl queue from btc queue, just call it.
2019-11-01 14:12:25 +08:00
baohongde
a099b6f7e4
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 19:47:50 +08:00
Jiang Jiang Jian
ea0f0b1700
Merge branch 'feature/btdm_add_api_to_set_channel_classification' into 'master'
...
Feature/btdm add api to set channel classification
Closes BT-450
See merge request espressif/esp-idf!6229
2019-10-26 20:42:58 +08:00
Jiang Jiang Jian
eef065374e
Merge branch 'bugfix/btdm_disable_bt_gatt' into 'master'
...
components/bt: Disable BR/EDR GATT
Closes BT-456
See merge request espressif/esp-idf!6420
2019-10-26 20:42:37 +08:00
Jiang Jiang Jian
87e1dfa31e
Merge branch 'bugfix/btdm_check_avrc_connected_error' into 'master'
...
components/bt: Fix error in checking AVRC connected
See merge request espressif/esp-idf!6415
2019-10-26 20:42:04 +08:00
baohongde
ed984cc9b5
components/bt: Add API and EVT for BLE set channels(BLE)
2019-10-25 11:39:35 +08:00
baohongde
eaf5f6a319
components/bt: Add API and EVT for set AFH channels(BR/EDR)
2019-10-25 11:39:22 +08:00
Jiang Jiang Jian
f974811150
Merge branch 'feature/hf_ag' into 'master'
...
Feature: BT/HFP AG.
Closes BT-346 and BT-428
See merge request espressif/esp-idf!6306
2019-10-25 10:57:43 +08:00
baohongde
d6201066a3
components/bt: Fix error in checking AVRC connected
2019-10-25 02:50:31 +00:00
baohongde
93f86b8a6d
components/bt: Disable BR/EDR GATT
2019-10-25 02:49:51 +00:00
Hrishikesh Dhayagude
f58d7d14c7
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-10-21 20:18:21 +08:00
weitianhua
26b69f1363
New Clean Commit for AG.
...
Only Support single AG control block.
2019-10-14 07:54:09 +00:00
weitianhua
9f0a44f5c0
component/bt: Fix bugs in HFP feature
2019-10-08 07:07:45 +00:00
Roland Dobai
15857d9cbb
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-02 16:29:25 +00:00
Prasad Alatkar
2c3648b619
BT/Bluedroid : Add support to set min encryption key requirement
...
- Modifies `smp_utils.c` to add check on encryption key size received from
peer.
- Modifies `esp_ble_gap_set_security_param` API to add minimum encryption key
size requirement.
2019-09-25 11:56:47 +08:00
Jiang Jiang Jian
9f145ff165
Merge branch 'feature/btdm_add_hf_nvrc_command' into 'master'
...
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
See merge request espressif/esp-idf!5974
2019-09-12 13:25:18 +08:00
Jiang Jiang Jian
d1e5d9c8c9
Merge branch 'bugfix/btdm_config_msbc' into 'master'
...
components/bt: Disable Wide Bond Speech when SCO data path is PCM
See merge request espressif/esp-idf!5978
2019-09-12 13:23:41 +08:00
Jiang Jiang Jian
84daad38c3
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'
...
bugfix/btdm_a2dp_sink_media_suspend_cmd_unack
See merge request espressif/esp-idf!5937
2019-09-06 14:29:45 +08:00
baohongde
019067b6ac
components/bt: Rename some macros
2019-09-03 10:23:05 +08:00
Zac Bond
f8212988c4
Use CONFIG value instead of hard-coded value.
...
Add intermediate defines.
Use CONFIG_BTU_TASK_STACK_SIZE instead of hard-coded value in Bluedroid component
2019-09-03 10:21:45 +08:00
Jiang Jiang Jian
9b070666e1
Merge branch 'bugfix/btdm_linking_fail_with_toolchain_8.2.0' into 'master'
...
components/bt: Fix linking fail with toolchain 8.2.0
See merge request espressif/esp-idf!5782
2019-09-02 22:21:59 +08:00
baohongde
185f47ab7e
components/bt: Disable Wide Bond Speech when SCO data path is PCM
2019-09-02 20:50:09 +08:00
nif
75578300f1
BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.
2019-09-02 09:28:38 +00:00
baohongde
d12503eb55
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:05 +08:00
wangmengyang
30bc5953f2
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
...
# Conflicts:
# components/bootloader/subproject/components/micro-ecc/micro-ecc
2019-08-28 15:16:10 +08:00
baohongde
38ae31ebc4
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-16 09:54:18 +00:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
baohongde
f77a5851bb
component/bt: Fix BLE SMP free without init
2019-07-26 14:40:03 +08:00
baohongde
d1f774bc0a
component/bt: Avoid PLC to use unallocated memory
...
Closes https://github.com/espressif/esp-idf/pull/3799
2019-07-26 14:39:50 +08:00
baohongde
f048be924c
components/bt: Fix AVRCP command will not be executed while playing music
2019-07-16 08:50:36 +00:00
Hrishikesh Dhayagude
46a268dc78
Correct UUID value for ESP_GATT_UUID_ENVIRONMENTAL_SENSING_SVC
2019-07-03 16:49:30 +08:00
Jiang Jiang Jian
70474ae844
Merge branch 'feature/btdm_avrcp_volume' into 'master'
...
components/bt: Add AVRCP feature about volume
See merge request idf/esp-idf!5209
2019-06-30 16:40:10 +08:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00