weitianhua
7e772d2195
Add some debug log for bt:
...
1. Add logs for SPP not enabled successfully
2. Add information to Applicatioin layer that the A2DP is connecting to peer device
Regular BTC and BTU Task name & Add BTC Init protection
1. Regular the BTC Task Name to Close a Github issue
Closes https://github.com/espressif/esp-idf/issues/4966
2. Add BTC Init failure protection
3. Regular BTU Task Name with BTC
4. Correct the comment of
a. SDP_ServiceSearchRequest and SDP_ServiceSearchRequest2
b. l2cu_create_conn_after_switch
5. Correct comment of esp_bt_hf_vra();
6. Fix cpp compilier region
2020-08-26 15:17:28 +08:00
baohongde
060a36352c
components/bt: Add mode change event
2020-08-12 09:20:04 +00:00
Jiang Jiang Jian
97b47f117b
Merge branch 'bugfix/bluedroid_ble_provisioning_gatt_deregister_fix' into 'master'
...
Bluedroid: Fix BLE provisioning failure with bluedroid stack
See merge request espressif/esp-idf!9833
2020-08-05 23:50:14 +08:00
XieWenxiang
fa729f3805
component/bt: fix Blufi sends longer customer data will will lead congested
2020-08-03 14:55:12 +08:00
sushant.chougule
70eb9abdee
Bluedroid: Fix BLE provisioning failure with bluedroid stack
2020-07-28 21:54:05 +05:30
Jiang Jiang Jian
1ec35ba5a7
Merge branch 'bugfix/bt_linkup_fallback_event' into 'master'
...
Bluedroid: Fixes cases having fallback to link up event.
Closes BT-944
See merge request espressif/esp-idf!9671
2020-07-27 16:09:42 +08:00
sushant.chougule
a7d8d2c8da
Bluedroid: Fix gatt clcb allocation and deallocation error
2020-07-25 01:48:48 +00:00
Prasad Alatkar
0b56a27e4a
NimBLE: Add Non-Resolvable private address support and misc bug fixes
...
- Merges https://github.com/espressif/esp-nimble/pull/12
- Fixes repeated pairing failure in RPA feature
Closes https://github.com/espressif/esp-idf/issues/5530
2020-07-22 14:10:01 +05:30
Chinmay Chhajed
4a0c137188
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-17 17:11:33 +05:30
Jiang Jiang Jian
84aebc6a78
Merge branch 'feature/bluedroid_link_based_dynamic_allocation' into 'master'
...
Bluedroid stack dynamic allocation changes to optimise DRAM usage
See merge request espressif/esp-idf!9461
2020-07-16 00:06:10 +08:00
sushant.chougule
0583a04969
Bluedroid stack dynamic allocation changes to optimise DRAM usage
...
Structures allocated dynamically:
tACL_CONN, tBTM_PM_MCB, tBTM_SEC_DEV_REC, tGATT_TCB, tGATT_CLCB, tL2C_LCB, tL2C_CCB, tSDP_RECORD
Total dynamic allocation size ~19KB.
Peak dram usage reduced by ~12KB when in BT classic + BLE scenario(1 a2dp sink + 1 BLE gatt server)
2020-07-15 14:44:10 +05:30
Jiang Jiang Jian
d65af31309
Merge branch 'bugfix/fix_hci_max_page_num' into 'master'
...
bugfix/Support for more Bluetooth HID devices
Closes IDFGH-3515
See merge request espressif/esp-idf!9621
2020-07-15 15:51:00 +08:00
Jiang Jiang Jian
170b4c9eff
Merge branch 'bugfix/fix_get_bond_device_list' into 'master'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug
Closes BT-852 and BTCI-88
See merge request espressif/esp-idf!9542
2020-07-15 15:50:32 +08:00
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
DerfJagged
5705c786e3
Support for more Bluetooth HID devices
...
Some Bluetooth devices - such as an Xbox One S controller (model 1708) - report more than two external features pages and are rejected immediately. Pages 1 and 2 are marked as unhandled in btm_devctl.c anyway, so there is no reason to block devices with more pages.
(IDFGH-3515)
Signed-off-by: liqigan <liqigan@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5481
Closes https://github.com/espressif/esp-idf/issues/5470
2020-07-15 11:54:26 +08:00
Jiang Jiang Jian
0376b23c7c
Merge branch 'component/seperate_bta_jv_l2c' into 'master'
...
component_bt:/ separate BTA_JV_L2CAP for less bin size
See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
Jiang Jiang Jian
583f6e5e16
Merge branch 'docs/fix_event_typo' into 'master'
...
docs/fix event typo
Closes IDFGH-3488
See merge request espressif/esp-idf!9376
2020-07-12 21:23:50 +08:00
Jiang Jiang Jian
0ca62e4f16
Merge branch 'bugfix/fix_ag_return_result' into 'master'
...
bugfix/Fix error of AG API return line
Closes BTCI-102
See merge request espressif/esp-idf!9565
2020-07-10 16:51:32 +08:00
weitianhua
c40953f4e0
Fix error of AG API return line
...
Closes https://github.com/espressif/esp-idf/issues/5554
2020-07-10 10:50:27 +08:00
boblane
4293f0320f
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-09 11:58:10 +08:00
weitianhua
abbf19926e
Seperate BTA_JV_L2CAP for less bin size
2020-07-08 17:50:19 +08:00
wangcheng
7d39074d57
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-07-07 21:00:56 +08:00
liminyang
02f3d39858
docs:fix event typo
...
1.In the description of the ESP_API header file, it should be the event that the application layer needs to handle, not the BTA layer.
2.Fix name typo of BTA_GATTS_CREATE_SRVC_EVT event
Closes https://github.com/espressif/esp-idf/issues/5446
2020-06-29 11:57:36 +08:00
Chinmay Chhajed
e3350e7861
Bluedroid: Authentication fixes in Legacy and Secure Connection.
...
Prevent a remote device from doing a Bluetooth Impersonation Attack
(BIAS) by:
- Preventing remote device to downgrade secure connection
feature mask. Secure connection feature mask should remain same or
increase to enabled in link key generation and authentication.
- Doing a mutual authentication during Legacy Authentication.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-06-25 15:37:01 +05:30
Jiang Jiang Jian
8c7c3ff899
Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
...
Bugfix/fix event bug in GAP API
Closes BT-594 and BT-595
See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
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
Jiang Jiang Jian
05f4668ad0
Merge branch 'nimble/update_nimble_submodule' into 'master'
...
NimBLE: Include upstream fixes and use macros for log level filtering
See merge request espressif/esp-idf!8448
2020-05-20 11:23:46 +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
Prasad Alatkar
2ef489005b
NimBLE: Include upstream fixes and use macros for log level filtering
...
Change list:
- Reduces the size of the compiled binary, PR: https://github.com/espressif/esp-nimble/pull/6
- Null pointer check, PR: https://github.com/apache/mynewt-nimble/pull/701
- Pairing procedure abort on unexpected req: https://github.com/apache/mynewt-nimble/pull/710
- Fix conn flags after pairing: https://github.com/apache/mynewt-nimble/pull/730
- Remove notification for update process timeout (Vol 6, Part B, section 5.2 ):
https://github.com/apache/mynewt-nimble/pull/782
- CCCD fix : https://github.com/apache/mynewt-nimble/pull/790 and
https://github.com/apache/mynewt-nimble/pull/804
- Host based Privacy (RPA) fix: https://github.com/espressif/esp-nimble/pull/7
Closes https://github.com/espressif/esp-nimble/issues/10
Closes https://github.com/espressif/esp-idf/issues/4413
2020-05-11 05:36:50 +00: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
Prasad Alatkar
be8c847b06
NimBLE: Reset master and slave states on host reset
...
Closes IDFGH-2743 & IDFGH-2956
2020-04-01 10:09:26 +00: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
Prasad Alatkar
38fc242914
NimBLE: Fix build failures due to non static declarations in RPA feature
...
CLoses IDFGH-2891
2020-03-27 14:06:55 +08:00
Prasad Alatkar
2bc28bbd5a
NimBLE: Fix NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
in esp_nimble_cfg
and bleprph
README
2020-03-27 14:05:32 +08:00
Hrishikesh Dhayagude
67a6fd6f3b
NimBLE: Add support to IRAM allocation strategy
...
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00: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
Prasad Alatkar
48bd2d74b4
NimBLE: Add Host based privacy (RPA) feature support
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
Prasad Alatkar
ee1ab95b98
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig
...
Closes BT-522 & BT-523
2020-03-05 13:53:04 +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
Prasad Alatkar
bc7ce8e584
Update NimBLE submodule to fix bug in ble_hs_hci_rx_evt
2020-02-04 12:27:47 +05:30
Prasad Alatkar
4047f7e180
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-01-31 10:46:55 +05:30
Hrishikesh Dhayagude
91c8f324a9
NimBLE: Use dynamic buffers instead of static memory.
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-01-23 00:55:51 +08: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
Angus Gratton
bdf6c00154
Merge branch 'feature/likely_unlikely' into 'master'
...
Adding likely unlikely macros to hot code paths
Closes IDF-284
See merge request espressif/esp-idf!6368
2020-01-10 14:05:07 +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
Felipe Neves
fc00236d79
components/esp_common: added esp_macros.h that aims to hold useful macros
...
esp_common/esp_compiler: renamed esp_macros file to a more specific one
esp_common/esp_compiler: removed CONTAINER_OF macro, it was a duplicate
components/freertos: placed likely macros around port and critical sections
component/freertos: placed likely macros on lists module
components/freertos: placed unlikely macros inside of assertion points, they likely wont fail
components/freertos: added likely macros on queue modules
FreeRTOS queues are one of most hot code path, because to queues itself tend to
be used a lot by the applications, besides that, queues are the basic primitive
to form both mutexes and semaphores, The focus here is to place likely
macros inside lowest level send and receive routines, since they're common
from all kobjects: semaphores, queues, mutexes and FR internals (like timer queue)
components/lwip: placed likely/unlikey on net-interfaces code
components/fatfs: added unlikely macros on disk drivers code
components/spiffs: added unlikely macros on low level fs driver
components/freertos: added likely/unlikely macros on timers and ticker
freertos/event_group: placed likely/unlikely macros on hot event group code paths
components/sdmmc: placed likely / unlikely macros on lower level path of sdmmc
components/bt: placed unlikely macros around bt HCI functions calling
components/lwip: added likely/unlikely macros on OS port code section
components/freertos: fix code style on tick handler
2020-01-03 14:42:49 -03: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
Jiang Jiang Jian
f696a29664
Merge branch 'bugfix/hfp_hci_sco' into 'master'
...
component bt/ Bugfix for HFP hci audio crash
See merge request espressif/esp-idf!6864
2019-12-02 13:55:57 +08:00
Prasad Alatkar
656005ef3d
NimBLE: Fix erroneous behaviour of NimBLE porting layer when controller is not ready to receive
2019-12-01 15:22:51 +08: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
Prasad Alatkar
c5339779a7
NimBLE: Update NimBLE submodule to latest nimble-1.2.0-idf
release
2019-10-29 12:52:05 +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
a26dfe70aa
nimble: Miscellaneous changes
...
1. Update NimBLE submodule as per changes in adv interval and stop port
2. Make changes in ESP BLE Mesh NimBLE host code for the same
2019-10-24 14:38:01 +08:00
Hrishikesh Dhayagude
f58d7d14c7
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-10-21 20:18:21 +08:00
Hrishikesh Dhayagude
10fd2ae653
NimBLE: Set the default number of max connections to the controller's value
...
Also, update the NimBLE submodule to remove unwanted logging stuff
2019-10-17 12:54:34 +08:00
Jiang Jiang Jian
93bca1dc2b
Merge branch 'hfp_bugfix' into 'master'
...
component/bt: Fix bugs in HFP feature
Closes BT-427
See merge request espressif/esp-idf!6197
2019-10-14 21:47:56 +08:00
weitianhua
26b69f1363
New Clean Commit for AG.
...
Only Support single AG control block.
2019-10-14 07:54:09 +00:00
Prasad Alatkar
19375a674e
NimBLE: Misc changes in NimBLE porting layer and menuconfig option
...
- Minor fix to remove while loop & delay while transmitting data from
host to controller.
- Add menuconfig option to enable predefined public-private keypair for
debugging (Vol. 3, Part H, 2.3.5.6.1)
2019-10-10 17:20:15 +08: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
fe08f435dc
NimBLE: Add optional mbedTLS support to NimBLE
...
- Additional menuconfig option to select either mbedTLS or Tinycrypt from NimBLE.
- Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Changes NimBLE `component.mk` and `CMakeLists.txt` to support mbedTLS option.
- Minor changes to `app_mesh.c` application.
2019-09-30 14:15:43 +08: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
Prasad Alatkar
393eb1700d
NimBLE: Add misc menuconfig options
...
- Add option to configure stack size of NimBLE host task, update NimBLE
submodule for the same.
- Change max concurrent connections supported to 9 inline with controller.
2019-08-21 19:28:47 +08:00
baohongde
38ae31ebc4
components/bt: Fix linking fail with toolchain 8.2.0
2019-08-16 09:54:18 +00:00
Anton Maklakov
1beb0869e1
NimBLE: Update submodule to fix -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Prasad Alatkar
1f0d682406
NimBLE: Update submodule to fix bug in delete bond procedure
...
- Fixes bug in `get_nvs_db_attribute` related to getting correct index while
deleting bond in NVS.
- MR raised on esp-nimble branch: https://gitlab.espressif.cn:6688/espressif/esp-nimble/merge_requests/12
2019-07-29 19:00:21 +08: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
Jiang Jiang Jian
fcb668ec9c
Merge branch 'bugfix/btdm_AVRC_command_fail_while_playing' into 'master'
...
components/bt: Fix AVRCP command will not be executed while playing music
See merge request espressif/esp-idf!5458
2019-07-22 11:45:19 +08:00
Hrishikesh Dhayagude
c75240a939
NimBLE: Give an option to configuration no of bonds and CCCD's to save through menuconfig
2019-07-19 14:34:57 +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
Prasad Alatkar
396258380a
NimBLE: update nimble submodule
...
- Update submodule to fix https://jira.espressif.com:8443/browse/BT-192 .
- Upstream PR: https://github.com/apache/mynewt-nimble/pull/427
2019-07-02 11:26:24 +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