Lines Matching +full:data +full:- +full:role
4 * SPDX-License-Identifier: Apache-2.0
66 /** Bypassing setting up transmission, and will try to send the raw data that is
69 static void test_tx_send_ad_type_msg(uint8_t type, const uint8_t *data, uint8_t len) in test_tx_send_ad_type_msg() argument
81 ad.data = data; in test_tx_send_ad_type_msg()
88 LOG_HEXDUMP_DBG(ad.data, ad.data_len, "ad.data"); in test_tx_send_ad_type_msg()
110 * First message send message with an ad data type not supported by mesh, and
150 /* Send message with to long data length. */ in test_tx_wrong_packet_length()
153 /* Send message with to short data length. */ in test_tx_wrong_packet_length()
155 ARRAY_SIZE(valid_message)-1); in test_tx_wrong_packet_length()
156 /* Send message with invalid ad type and wrong data length. */ in test_tx_wrong_packet_length()
186 /* Verify that test data is received correct. */ in test_rx_invalid_packet()
187 err = bt_mesh_test_recv(10, cfg->addr, NULL, K_SECONDS(10)); in test_rx_invalid_packet()
193 #define TEST_CASE(role, name, description) \ argument
195 .test_id = "scanner_" #role "_" #name, \
197 .test_post_init_f = test_##role##_init, \
199 .test_main_f = test_##role##_##name, \
204 TEST_CASE(tx, wrong_packet_length, "Scanner: Wrong data length"),