1#!/usr/bin/env bash 2# Copyright 2022 Nordic Semiconductor 3# SPDX-License-Identifier: Apache-2.0 4 5source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh 6 7# Test scenario: 8# Initialize the mesh stack, but do not provision the device. 9# Start the provisioning procedure using bt_mesh_prov_enable(BT_MESH_PROV_GATT). 10# With a separate scanner device, observe PB-GATT beacons being sent 11# at approximately 100ms intervals. 12# Provision the device using bt_mesh_provision(). 13# With a separate scanner device, observe GATT Proxy beacons being sent 14# at approximately 1s intervals. 15# Allocate an advertiser buffer using bt_mesh_adv_buf_create(). 16# With the separate scanner, observe that the GATT Proxy beacons are not interrupted. 17# Set the allocated buffer's xmit parameters to BT_MESH_TRANSMIT(5, 20). 18# Submit the advertiser buffer using bt_mesh_adv_send(). 19# With the separate scanner, observe that the submitted buffer is transmitted 20# at least 6 times. Then, observe GATT Proxy beacons resuming. 21overlay=overlay_gatt_conf 22RunTest mesh_adv_proxy_mixin adv_tx_proxy_mixin adv_rx_proxy_mixin 23 24overlay=overlay_gatt_conf_overlay_workq_sys_conf 25RunTest mesh_adv_proxy_mixin_workq adv_tx_proxy_mixin adv_rx_proxy_mixin 26 27overlay="overlay_gatt_conf_overlay_psa_conf" 28RunTest mesh_adv_proxy_mixin_psa adv_tx_proxy_mixin adv_rx_proxy_mixin 29