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
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
zhiweijian
2c1e3d1ef2
Component/bt: fix save keys when auth mode without bond
2018-12-13 15:45:53 +08:00
zhiweijian
bf608b6709
Component/bt: fix auth_mode error when reconnection in SMP
2018-12-13 15:33:37 +08:00
Jiang Jiang Jian
fd00d3213b
Merge branch 'bugfix/btdm_fix_accept_specified_sec_auth_v3.2' into 'release/v3.2'
...
Component/bt: fix accept specified sec auth error(backport v3.2)
See merge request idf/esp-idf!3836
2018-12-13 11:20:02 +08:00
Tian Hao
f44507de53
fix bug that there's very low ratio to cause BLE assert(32768, 0) in rwble.c at line 222
2018-12-06 21:35:19 +08:00
Tian Hao
2d67ce3109
component/bt and esp32: fix two bluetooth bugs that caused by coexist module
...
1. Fix interrupt watchdog timeout in bluetooth "btdm_bb_isr"
2. Fix BLE assert(512) or assert(1536) in rwble.c at line 222
3. Update librtc.a to fix BLE assert(512) in rwble.c at line 222
The #1 and #2 occurs random.
The #3 bug occurs in certain scenario:
1. If Wifi start softap and BLE is working
2. If wifi start station, but do not use normal station operation, such
as just use espnow, while BLE is working
3. Any other scenario, that wifi works without use software coexist
operation, while BLE is working(such as do advertising and ...)
4. update libcoexist.a version to v1.1.2
2018-12-03 19:30:28 +08:00
zhiweijian
ca51b60033
Component/bt: fix accept specified sec auth error
2018-11-29 20:46:08 +08:00
Tian Hao
9bb719dd68
fix bug to unsupport rf reg access from hci cmd
...
Always return 0 when read rf register and do nothing when write rf register
2018-11-24 14:21:25 +08:00
baohongde
8d1594c339
components/bt: Move function in interrupt into IRAM
...
1. Move function in interrupt into IRAM
2. Delete unused code, saving 240B DRAM and some code size
2018-11-22 16:19:21 +08:00
Jiang Jiang Jian
18b65dca26
Merge branch 'bugfix/btdm_controller_disable_v3.2' into 'release/v3.2'
...
Fix two bugs when disable bluetooth controller(backport v3.2)
See merge request idf/esp-idf!3716
2018-11-21 11:26:14 +08:00
Tian Hao
331c7c7dc3
Fix two bugs when disable bluetooth controller
...
1. Fix the bug that disable controller suddenly cause crash when ble is working.
2. Fix the bug that when disable controller, it will cause wifi cannot RX, TX timeout, buffer lack and etc.
2018-11-20 09:01:57 +00:00
zhiweijian
c59c40741b
Component/bt: add check peer addr type in set adv params
2018-11-19 17:15:41 +08:00
Jiang Jiang Jian
8725bce5bc
Merge branch 'bugfix/btdm_errors_in_comment_v3.2' into 'release/v3.2'
...
components/bt: Some errors in comment(backport 3.2)
See merge request idf/esp-idf!3713
2018-11-19 14:36:45 +08:00
baohongde
b021bbdc80
components/bt: Some errors in comment
2018-11-16 15:27:28 +08:00
baohongde
c9fe4fa13e
components/bt: Put function in isr into iram(backport 3.2)
2018-11-16 07:19:51 +00:00
Jiang Jiang Jian
fe0a5b41bf
Merge branch 'bugfix/fix_memory_leak_for_v3.2' into 'release/v3.2'
...
Component/bt: fix memory leak in service change(backport v3.2)
See merge request idf/esp-idf!3685
2018-11-14 15:35:03 +08:00
zhiweijian
1f7c54ae85
Component/bt: fix memory leak in service change
2018-11-12 19:41:19 +08:00
baohongde
f2309f1013
components/bt: Point ACL RX buffer ptr to ACL RX buffer if ACL RX buffer ptr is null
...
1. When WIFI task or other high priority task blocks the Bluetooth task, ACL RX buffer will use up, ACL RX buffer ptr will point to null and will never point to a valid adress. Causing errors in Bluetooth.
2. hcimsgs.h used whether flow control is on or off
2018-11-01 17:33:44 +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
Jiang Jiang Jian
a60a71ff07
Merge branch 'bugfix/btdm_name_buffer_allocation_size_differs' into 'master'
...
components/bt: Fix the different size of name buffer allocation size
See merge request idf/esp-idf!3587
2018-11-01 15:56:45 +08:00
Jiang Jiang Jian
cac7b951a8
Merge branch 'bugfix/btdm_fix_get_attr_value_error' into 'master'
...
Component/bt: fix get attr value API error
See merge request idf/esp-idf!3583
2018-11-01 15:55:22 +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
159d4ac742
component/bt: bugfix for the error in calculation sniff anchor point which can result in supervision timeout after connection is brought into sniff mode
2018-10-31 16:16:49 +00:00
zhiweijian
1716d12547
Component/bt: fix ble cannot send or receive packet sometimes
2018-10-31 16:13:51 +00:00