baohongde
267ce80355
components/bt: Fix assert due to alloc LMP TX buffer failed
2019-06-12 19:25:59 +08:00
Jiang Jiang Jian
193b8e93a8
Merge branch 'bugfix/btdm_abort_if_deinit_spp_without_init_v3.2' into 'release/v3.2'
...
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
See merge request idf/esp-idf!4862
2019-04-26 21:01:35 +08:00
Jiang Jiang Jian
0c13ae6b45
Merge branch 'feature/btdm_add_ble_link_timeout_config_v3.2' into 'release/v3.2'
...
Component/bt: add ble link timeout config in menuconfig(backport v3.2)
See merge request idf/esp-idf!4826
2019-04-25 20:05:19 +08:00
baohongde
f95826144e
components/bt: Fix abort if call esp_spp_deinit without calling esp_spp_init
2019-04-24 11:34:06 +08:00
zhiweijian
96c8343e46
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 21:55:06 +08:00
XiaXiaotian
5059c7fac3
Decouple WiFi and BT with coexist to reduce bin size
...
1. Do not link WiFi code when only BT or BLE is used and WiFi is not
used.
2. Do not link coexist code when CONFIG_SW_COEXIST_ENABLE is disabled.
2019-04-17 16:59:24 +08:00
Jiang Jiang Jian
acc882f4dd
Merge branch 'bugfix/btdm_bugx_backport_3.2' into 'release/v3.2'
...
Some bugs backport 3.2
See merge request idf/esp-idf!4773
2019-04-16 10:45:04 +08:00
Jiang Jiang Jian
fa40e43c8d
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs_v3.2' into 'release/v3.2'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4620
2019-04-15 18:52:09 +08:00
Jiang Jiang Jian
9f29dbf656
Merge branch 'bugfix/btdm_fix_build_warning_when_bluedroid_disable_log_v3.2' into 'release/v3.2'
...
Component/bt: fix build warning when bluedroid disable log (backport v3.2)
See merge request idf/esp-idf!4566
2019-04-15 18:50:58 +08:00
baohongde
bb518afb59
Some bugs backport 3.2
...
1.Fix memory leak when set txpower
2.Fix some bugs
Disconnect with apple device
hci_refresh_enc_key_cmd will be ignore
hci_refresh_enc_key_cmd will crash
2019-04-15 16:51:29 +08:00
Jiang Jiang Jian
2da22620f8
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except_v3.2' into 'release/v3.2'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list (backport v3.2)
See merge request idf/esp-idf!4606
2019-04-14 02:56:43 +08:00
Jiang Jiang Jian
065d451e47
Merge branch 'bugfix/btdm_modify_HCI_GET_CMD_BUF_v3.2' into 'release/v3.2'
...
Component/bt: modify HCI_GET_CMD_BUF (backport v3.2)
See merge request idf/esp-idf!4599
2019-04-12 21:58:51 +08:00
Jiang Jiang Jian
c8990eb39d
Merge branch 'bugfix/btdm_add_scan_window_interval_check_v3.2' into 'release/v3.2'
...
Component/bt: add scan window and interval check when set scan params (backport v3.2)
See merge request idf/esp-idf!4311
2019-04-12 21:57:50 +08:00
Jiang Jiang Jian
c90f770599
Merge branch 'bugfix/btdm_fix_blufi_prepare_write_crash_v3.2' into 'release/v3.2'
...
Component/bt: fix blufi prepare write crash (backport V3.2)
See merge request idf/esp-idf!4563
2019-04-12 21:57:23 +08:00
Jiang Jiang Jian
48978c6f2b
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID_v3.2' into 'release/v3.2'
...
Component/bt: fix iOS and win10 compatibility error for HID (backport v3.2)
See merge request idf/esp-idf!4424
2019-04-12 21:56:40 +08:00
zhiweijian
3130b19cf8
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
2019-03-28 11:20:51 +08:00
baohongde
5ede49ca4a
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 15:29:22 +08:00
baohongde
bbdb236ab7
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
2019-03-26 14:59:58 +08:00
zhiweijian
6b4dcd4f5c
Component/bt: modify HCI_GET_CMD_BUF
2019-03-22 15:02:20 +08:00
zhiweijian
241ba1a6bb
Component/bt: fix iOS and win10 compatibility error for HID
2019-03-20 19:47:04 +08:00
zhiweijian
78d32f2e8b
Component/bt: fix build warning when bluedroid disable log
2019-03-20 15:06:17 +08:00
zhiweijian
f237b92bc4
Component/bt: fix blufi prepare write crash
2019-03-20 14:27:11 +08:00
zhiweijian
d6bdaed141
Component/bt: fix no adv report when scanning with sleep enable
2019-03-18 17:40:19 +08:00
zhiweijian
fed772641a
Component/bt: add update duplicate scan exceptional list APIs
2019-03-14 20:59:38 +08:00
zhiweijian
6628fddae6
Component/bt: add BLE adv report flow control
2019-03-12 20:18:30 +08:00
zwj
b305a96a74
component/bt: add vendor hci cmd
2019-03-12 11:55:42 +08:00
Tian Hao
67aefe1011
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
...
fix 3 bugs:
1. do BLE connect (both of slave and master), it mgiht cause crash due to there's much interrupts happens effect ble code running, for example, wifi run on the same core as bluetooth controller and wifi run throughtput test.
2. do BLE scan stop or adv stop or connection stop, it might cause ASSERT or crash due to memory corrupted in controller memory poll.
3. minor bug fix, not really effect bluetooth.
2019-02-25 13:40:46 +00:00
zhiweijian
46a3c36343
Component/bt: add scan window and interval check when set scan params
2019-02-25 13:22:32 +00:00
zwj
b4feb67b5f
component/bt:fix connection params update issues
2019-02-19 20:26:36 +08:00
baohongde
5568ca2855
components/bt: Add precautions for esp_vhci_host_send_packet (backport 3.2)
2019-02-18 08:15:17 +00:00
baohongde
30f2371917
components/bt: Fix crash when inquiry stop (backport v3.2)
2019-02-18 08:15:17 +00:00
wangmengyang
b8f0c32a0a
component/bt: allow dynamic allocation of SBC encoder/decoder buffer used in A2DP to save internal DRAM
2019-02-13 19:15:34 +08:00
Jiang Jiang Jian
8a69ffc36f
Merge branch 'bugfix/btdm_add_handle_in_gatts_conf_event_for_indication_v3.2' into 'release/v3.2'
...
Component/bt: add handle in gatts conf event for indication (backport v3.2)
See merge request idf/esp-idf!4222
2019-02-01 21:34:05 +08:00
zhiweijian
95c7f45e84
Component/bt: add handle in gatts conf event for indication
2019-01-31 20:30:23 +08:00
zhiweijian
651a08f710
Component/bt: fix write char crash after disconnection
2019-01-31 12:20:16 +00:00
Tian Hao
78511c3cc3
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:43:36 +08:00
wangmengyang
358de85eb3
component/bt: add more information and description for bluetooth modem sleep
...
Add remark that "EVED" mode for bluetooth modem sleep is only used for internal test
2018-12-21 19:29:47 +08:00
Jiang Jiang Jian
2cac11f162
Merge branch 'bugfix/btdm_fix_crash_adv_scan_coex_v3.2' into 'release/v3.2'
...
component/bt: fix crash when adv and scan coex and optimize duplicate scan (backport v3.2)
See merge request idf/esp-idf!3994
2018-12-21 15:59:53 +08:00
Jiang Jiang Jian
64eeee4532
Merge branch 'bugfix/btdm_fix_two_bugs_about_pairing_v3.2' into 'release/v3.2'
...
components/bt: Fix two bugs about pairing(backport 3.2)
See merge request idf/esp-idf!3995
2018-12-21 14:26:19 +08:00
zwj
3f6033d8bd
fix crash when adv and scan coex and optimize duplicate scan
2018-12-19 19:53:01 +08:00
baohongde
45e59a9f56
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-19 19:42:47 +08:00
wangmengyang
587e6ec93f
component/bt: use a pm_lock to prevent light sleep when bluetooth is enabled due to current imcompatibility
2018-12-18 14:51:19 +08:00
Jiang Jiang Jian
6d00c7fc49
Merge branch 'bugfix/btdm_assert_ble_65536_v3.2' into 'release/v3.2'
...
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
See merge request idf/esp-idf!3968
2018-12-18 12:03:21 +08:00
Jiang Jiang Jian
c418714ec6
Merge branch 'bugfix/btdm_fix_receive_adv_pkt_when_duplicate_scan_enabled_v3.2' into 'release/v3.2'
...
Component/bt: fix receive adv pkt when enable duplicate scan (backport v3.2)
See merge request idf/esp-idf!3942
2018-12-18 11:45:28 +08:00
Tian Hao
e5e592e5b6
fix bug that there's very low ratio to cause BLE assert(65536, 0) in rwble.c at line 222
2018-12-17 20:50:42 +08:00
zhiweijian
28e20e90e3
Component/bt: fix receive adv pkt when enable duplicate scan
2018-12-17 15:51:28 +08:00
Jiang Jiang Jian
1c4d9f2aca
Merge branch 'bugfix/btdm_modem_sleep_cowork_with_DFS_for_v3.2' into 'release/v3.2'
...
Bugfix/btdm modem sleep cowork with dfs for v3.2(backport v3.2)
See merge request idf/esp-idf!3962
2018-12-14 20:28:31 +08:00
Jiang Jiang Jian
ded8b0102a
Merge branch 'bugfix/btdm_fix_auth_mode_error_when_reconnection_in_smp_v3.2' into 'release/v3.2'
...
Component/bt: fix auth_mode error when reconnection in SMP (backport v3.2)
See merge request idf/esp-idf!3955
2018-12-14 18:24:01 +08:00
wangmengyang
401970495d
component/bt: add DRAM_ATTR attribute to global variables(mostly in bss segment) in bt.c which can be accessed in ISR
2018-12-14 14:59:41 +08:00
wangmengyang
8de9149b11
component/bt: bugfix of bluetooth modem sleep not being able to work with Dynamic Frequency Scaling
...
1. start an esp_timer on entering sleep to acquire pm_lock before wake up from modem sleep
2. decrease the clock division of XTAL fed to bluetooth low power clock from 32us to 2us period to allow to work under 240MHz Max CPU frequency
3. decrease the minimum sleep duration threshold to allow shorter bluetooth modem sleep period, especially for BLE with short connection interval
4. reconfigure bluetooth baseband(BT-BB) settings after PHY/RF init upon waking up from modem sleep to avoid packet RX/TX performance degradation
2018-12-14 14:56:29 +08:00