blob: 3b6e90cfd9cd6180ea936f27b7949b910bbc3881 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2023 Nordic Semiconductor
# SPDX-License-Identifier: Apache-2.0
source $(dirname "${BASH_SOURCE[0]}")/../../_mesh_test.sh
# Test that the large composition data (LCD) server model is able to transmit
# access messages with a total size of 380-bytes (including opcode).
#
# Test procedure:
# 0. Provisioning and setup. Server and client has same comp data.
# 1. Client requests a max SDU metadata status message from server.
# 2. Client fetch its local metadata.
# 3. When server status arrive, assure that the received message length
# is 378 bytes (380 bytes access payload).
# 4. Remove status field data and compare received metadata with
# local metadata data.
conf=prj_mesh1d1_conf
RunTest mesh_lcd_test_max_metadata_access_payload \
lcd_cli_max_sdu_metadata_request lcd_srv_metadata_status_respond