1 /* 2 * Copyright (c) 2023 Nordic Semiconductor 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include "mesh_test.h" 8 9 enum bt_mesh_test_gatt_service { 10 MESH_SERVICE_PROVISIONING, 11 MESH_SERVICE_PROXY, 12 }; 13 14 struct bt_mesh_test_gatt { 15 uint8_t transmits; /* number of frame (pb gatt or proxy beacon) transmits */ 16 int64_t interval; /* interval of transmitted frames */ 17 enum bt_mesh_test_gatt_service service; 18 }; 19 20 struct bt_mesh_test_adv { 21 uint8_t retr; /* number of retransmits of adv frame */ 22 int64_t interval; /* interval of transmitted frames */ 23 }; 24 25 void bt_mesh_test_parse_mesh_gatt_preamble(struct net_buf_simple *buf); 26 void bt_mesh_test_parse_mesh_pb_gatt_service(struct net_buf_simple *buf); 27 void bt_mesh_test_parse_mesh_proxy_service(struct net_buf_simple *buf); 28