Bluetooth Mesh Protocol 1.1 is backward compatible with Bluetooth Mesh Profile 1.0.1, therefore the stack can still be qualified for 1.0.1 if needed. But explicit support for both versions requires additional maintenance efforts and doubles the CI time. To make the stack qualifiable for 1.0.1, the one needs to remove Private Beacons reception and compile out SHA256 algorithm support. What is changed: - Removed `CONFIG_BT_MESH_V1d1` option. - Removed `transport_legacy.c` which was using 1.0.1 implementation. The new transport layer has new SaR logic that should still be possible to qualify for 1.0.1. - Removed the legacy transport Kconfig options. They are superseded by the new transport Kconfig options. - Tester app: `overlay-mesh-v1d1.conf` is merged into `overlay-mesh.conf`. - Removed BabbleSim tests for 1.0.1. - Updated documentation. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
56 lines
1.9 KiB
Bash
Executable File
56 lines
1.9 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright 2021 Nordic Semiconductor
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
|
|
|
|
# Note:
|
|
# Tests must be added in pairs and in sequence.
|
|
# First test: saves data; second test: verifies it.
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_data_save -flash_erase
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_data_load \
|
|
-- -argstest access-cfg=configured
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_sub_overwrite \
|
|
-- -argstest access-cfg=configured
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_data_load \
|
|
-- -argstest access-cfg=new-subs
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_data_remove \
|
|
-- -argstest access-cfg=new-subs
|
|
|
|
overlay=overlay_pst_conf
|
|
RunTestFlash mesh_pst_access_data_check persistence_access_data_load -flash_rm \
|
|
-- -argstest access-cfg=not-configured
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_data_save -flash_erase
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_data_load \
|
|
-- -argstest access-cfg=configured
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_sub_overwrite \
|
|
-- -argstest access-cfg=configured
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_data_load \
|
|
-- -argstest access-cfg=new-subs
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_data_remove \
|
|
-- -argstest access-cfg=new-subs
|
|
|
|
overlay="overlay_pst_conf_overlay_psa_conf"
|
|
RunTestFlash mesh_pst_access_data_check_psa persistence_access_data_load -flash_rm \
|
|
-- -argstest access-cfg=not-configured
|