Merge branch 'bugfix/ble_mesh_remove_patch_v3.3' into 'release/v3.3'
ble_mesh: Remove patch for the bug of an App (v3.3) See merge request espressif/esp-idf!8780
This commit is contained in:
commit
f55719522e
5 changed files with 0 additions and 33 deletions
|
@ -698,17 +698,8 @@ static bool is_replay(struct bt_mesh_net_rx *rx, struct bt_mesh_rpl **match)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !CONFIG_BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0
|
|
||||||
if ((!rx->old_iv && rpl->old_iv) ||
|
if ((!rx->old_iv && rpl->old_iv) ||
|
||||||
rpl->seq < rx->seq) {
|
rpl->seq < rx->seq) {
|
||||||
#else /* CONFIG_BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0 */
|
|
||||||
/**
|
|
||||||
* Added 10 here to fix the bug of Silicon Lab Android App 1.1.0 when
|
|
||||||
* reconnection will cause its sequence number recounting from 0.
|
|
||||||
*/
|
|
||||||
if ((!rx->old_iv && rpl->old_iv) ||
|
|
||||||
(rpl->seq < rx->seq) || (rpl->seq > rx->seq + 10)) {
|
|
||||||
#endif /* #if !CONFIG_BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0 */
|
|
||||||
if (match) {
|
if (match) {
|
||||||
*match = rpl;
|
*match = rpl;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -13,10 +13,4 @@ menu "Example Configuration"
|
||||||
bool "ESP32-WROVER"
|
bool "ESP32-WROVER"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0
|
|
||||||
bool "Fix bug of Silicon Lab Android App v1.1.0 when reconnection will cause sequence number to recount from 0"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
It is an ad hoc solution and needs further modifications.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -13,10 +13,4 @@ menu "Example Configuration"
|
||||||
bool "ESP32-WROVER"
|
bool "ESP32-WROVER"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0
|
|
||||||
bool "Fix bug of Silicon Lab Android App v1.1.0 when reconnection will cause sequence number to recount from 0"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
It is an ad hoc solution and needs further modifications
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -13,10 +13,4 @@ menu "Example Configuration"
|
||||||
bool "ESP32-WROVER"
|
bool "ESP32-WROVER"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0
|
|
||||||
bool "Fix bug of Silicon Lab Android App v1.1.0 when reconnection will cause sequence number to recount from 0"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
It is an ad hoc solution and needs further modifications
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -13,10 +13,4 @@ menu "Example Configuration"
|
||||||
bool "ESP32-WROVER"
|
bool "ESP32-WROVER"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BLE_MESH_PATCH_FOR_SLAB_APP_1_1_0
|
|
||||||
bool "Fix bug of Silicon Lab Android App v1.1.0 when reconnection will cause sequence number to recount from 0"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
It is an ad hoc solution and needs further modifications
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
Loading…
Reference in a new issue