mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 09:52:25 +00:00
This will exclude testing Mesh related code from build if BT_MESH option in Kconfig is not set. Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
22 lines
626 B
C
22 lines
626 B
C
/**
|
|
* @file testing.h
|
|
* @brief Internal API for Bluetooth testing.
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#if defined(CONFIG_BT_MESH)
|
|
void bt_test_mesh_net_recv(u8_t ttl, u8_t ctl, u16_t src, u16_t dst,
|
|
const void *payload, size_t payload_len);
|
|
void bt_test_mesh_model_bound(u16_t addr, struct bt_mesh_model *model,
|
|
u16_t key_idx);
|
|
void bt_test_mesh_model_unbound(u16_t addr, struct bt_mesh_model *model,
|
|
u16_t key_idx);
|
|
void bt_test_mesh_prov_invalid_bearer(u8_t opcode);
|
|
void bt_test_mesh_trans_incomp_timer_exp(void);
|
|
#endif /* CONFIG_BT_MESH */
|