Jiang Jiang Jian
c783abc2e3
Merge branch 'bugfix/assert_rx_link_v4.0_fix_mr_v4.0' into 'release/v4.0'
...
fix assert(10,9), when missing evt_end or rx and evt_end come the same time v4.0.
See merge request espressif/esp-idf!10422
2020-10-09 19:54:06 +08:00
wangcheng
e3ecb8d073
fix assert(10,9), when missing evt_end or rx and evt_end come the same time
2020-09-14 10:48:59 +08:00
baohongde
9263b84f37
components/bt: Fix SPP using NULL point with dynamic memory
2020-09-07 15:46:09 +08:00
Jiang Jiang Jian
0fda05cc83
Merge branch 'bugfix/l2cap_link_timeout_llcp_prog_btu_wtd_v4.0' into 'release/v4.0'
...
Bugfix/l2cap link timeout llcp prog btu wtd v4.0
See merge request espressif/esp-idf!10253
2020-09-07 14:18:09 +08:00
Jiang Jiang Jian
5812a935ba
Merge branch 'feature/esp_spp_stop_srv_v4.0' into 'release/v4.0'
...
bugfix/Add API esp_spp_stop_srv and fix collection of SPP [backport v4.0]
See merge request espressif/esp-idf!10013
2020-09-04 20:00:41 +08:00
wangcheng
2ba90c8453
component/bt: Fixed the watchdog timeout of btu task during multi-connection
2020-09-04 16:24:23 +08:00
wangcheng
ce1905d6b5
components/bt: Fixed the state not synchronized between controller and host when disconnected.
2020-09-02 21:33:06 +08:00
wangcheng
6dde2eb3c5
Fixed assert(9, 10), When rx and evt_end interrupts exist at the same time, use the information of rx to determine the execution order
2020-08-18 16:06:22 +08:00
liqigan
45c4fef890
add API esp_spp_stop_srv(), fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c and fix collection of SPP
...
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-08-13 12:01:39 +08:00
Jiang Jiang Jian
b88dc13ec3
Merge branch 'bugfix/buff_semaphore_not_free_v4.0' into 'release/v4.0'
...
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
See merge request espressif/esp-idf!9981
2020-08-10 15:10:24 +08:00
lly
d3eaf8bdb0
ble_mesh: stack: Client model related code clean
2020-08-07 21:15:11 +08:00
lly
aa8f45e341
ble_mesh: stack: Rename cfg & health client status recv func
2020-08-07 21:15:10 +08:00
lly
dfa6332606
ble_mesh: stack: Check client msg result in common func
2020-08-07 21:15:08 +08:00
lly
ba38c974e6
ble_mesh: stack: Fix no events for some error conditions
2020-08-07 21:15:07 +08:00
lly
3cc07d7969
ble_mesh: stack: Move client role set to the msg function
2020-08-07 21:15:06 +08:00
lly
035a24b468
ble_mesh: stack: Remove some not used client parameters
2020-08-07 21:15:04 +08:00
lly
c3e702da05
ble_mesh: stack: Remove some not used variables & functions
2020-08-07 21:15:03 +08:00
lly
dfd0cd5f3e
ble_mesh: stack: Update client model msg send
2020-08-07 21:15:02 +08:00
wangcheng
b50bbe3a5b
component/bt: Fixed ble memory leak issue, buff_semaphore was not released.
2020-08-07 15:15:49 +08:00
XieWenxiang
100750ac1b
component/bt: fix Blufi sends longer customer data will will lead congested(backport v4.0)
2020-08-04 15:22:18 +08:00
Jiang Jiang Jian
3f332ef02b
Merge branch 'bugfix/bt_linkup_fallback_event_v4.0' into 'release/v4.0'
...
Bluedroid: Fixes cases having fallback to link up event. (v4.0)
See merge request espressif/esp-idf!9804
2020-07-31 17:27:37 +08:00
Jiang Jiang Jian
2be17377bb
Merge branch 'nimble/nrpa_support_v4.0' into 'release/v4.0'
...
NimBLE: Add Non-Resolvable private address support and misc fixes (Backport v4.0)
See merge request espressif/esp-idf!9736
2020-07-31 17:27:21 +08:00
Jiang Jiang Jian
f32582b588
Merge branch 'bugfix/fix_hci_max_page_num_v4.0' into 'release/v4.0'
...
bugfix/Support for more Bluetooth HID devices [backport v4.0]
See merge request espressif/esp-idf!9662
2020-07-30 21:20:15 +08:00
Jiang Jiang Jian
64c766ee4d
Merge branch 'bugfix/fix_get_bond_device_list_v4.0' into 'release/v4.0'
...
bugfix/fix esp_bt_gap_get_bond_device_list bug [backport v4.0]
See merge request espressif/esp-idf!9668
2020-07-30 21:19:57 +08:00
Chinmay Chhajed
5fe10f1ff8
Bluedroid: Fixes cases having fallback to link up event.
...
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-07-27 14:03:20 +05:30
wangcheng
ebacef4304
component/bt: add connect parameter, fix instant reverse, fix tx default octets, fix assert(1024,0), fix assert(512,0)
2020-07-24 12:05:29 +08:00
Prasad Alatkar
9566e4ec19
NimBLE: Add Non-Resolvable private address support and misc bug fixes (Backport v4.0)
...
- 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-23 11:31:52 +05:30
Jiang Jiang Jian
53605395cf
Merge branch 'bugfix/collection_of_confirmed_fixes_from_baidu_project_4.0' into 'release/v4.0'
...
Backport MR for baidu project for release/v4.0
See merge request espressif/esp-idf!8989
2020-07-22 16:34:19 +08:00
boblane
9a88eef632
fix esp_bt_gap_get_bond_device_list bug
...
Closes https://github.com/espressif/esp-idf/issues/5395
2020-07-17 15:12:57 +08:00
lly
beda5f0fd4
ble_mesh: stack: Fix recv health current status incorrectly
2020-07-17 14:06:41 +08:00
DerfJagged
a1cf4fa871
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-17 10:23:52 +08:00
lly
f3566fd2af
ble_mesh: stack: Only keep func pointer for very common log
...
Currently only keep func pointer for the followings:
- Invalid parameter (mesh btc & mesh stack)
- Out of memory (mesh btc & mesh stack)
- Unknown act (mesh btc)
- Invalid model user data (mesh stack)
- BT_DBG("%s", __func__) (mesh btc & mesh stack)
- A few other specific situations (buf ref debug, send status check)
2020-07-16 11:04:57 +08:00
lly
f10c62d84d
ble_mesh: stack: Make proxy server & client functions clear
2020-07-16 11:04:57 +08:00
lly
1df9502301
ble_mesh: stack: Add proxy cfg pdu length check
2020-07-15 16:11:32 +08:00
lly
d04a8da916
ble_mesh: stack: Rework using dev flag to check scan status
...
Different bluetooth host has different behaviors, so it's better
to maintain a scan check mechanism of BLE Mesh itself.
Fixes an issue when only PB-GATT is enabled for node, which will
output a scan error log when the device is provisioned.
2020-07-15 16:11:31 +08:00
lly
c8601fface
ble_mesh: stack: Add more checks about input prov bearers
2020-07-15 16:11:27 +08:00
lly
1e528fa739
ble_mesh: stack: Rename mesh adv queue and relay queue
2020-07-15 11:10:14 +08:00
lly
a27478b54d
ble_mesh: stack: Use macros for adv task name & prio
2020-07-15 11:10:14 +08:00
lly
0dc96d19aa
ble_mesh: stack: Make freertos static allocation visible
2020-07-15 11:09:58 +08:00
lly
9973f5ef04
ble_mesh: stack: Update option of using DRAM/SPIRAM for memory allocation
2020-07-15 09:41:15 +08:00
weitianhua
de438461f5
Backport from baidu proj
2020-07-13 15:03:17 +08:00
Jiang Jiang Jian
f73cd1d4f1
Merge branch 'docs/fix_event_typo_backport_v4.0' into 'release/v4.0'
...
docs/fix event typo backport v4.0
See merge request espressif/esp-idf!9384
2020-07-12 21:23:54 +08:00
Jiang Jiang Jian
bfbbb4d581
Merge branch 'bugfix/fix_event_bug_in_GAP_API_release_v4.0' into 'release/v4.0'
...
Bugfix/fix event bug in GAP API [backport v4.0]
See merge request espressif/esp-idf!9194
2020-07-10 16:57:37 +08:00
lly
724a5baa4e
ble_mesh: stack: Add two application macros for TTL
2020-07-10 09:15:02 +08:00
lly
c399b9520b
ble_mesh: stack: Update send_ttl in btc when recv a msg
...
Update send_ttl mainly for server models. When a server model
receives a message, and the status is required to be replied
by the application, we need to set send_ttl to the msg context.
If send_ttl is not updated in btc, and the applcation does not
set the TTL either, then the status will be replied with TTL=0,
which may cause the client side (e.g. the phone App) failed to
receive the status.
Closes https://github.com/espressif/esp-idf/issues/5300
2020-07-10 09:15:01 +08:00
liqigan
9e506a921b
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-07-08 15:07:05 +08:00
lly
39705533f1
ble_mesh: stack: Update some fast prov functions
2020-07-03 08:53:56 +08:00
lly
77fe2ced32
ble_mesh: stack: Move fast prov functions to a single file
2020-07-03 08:53:56 +08:00
lly
c4794f761e
ble_mesh: ci: Fix failing to compile when using make
2020-07-02 03:35:13 +00:00
lly
4d9af50eba
ble_mesh: Mark platform related default RNG as 0
2020-07-02 03:35:13 +00:00