12#include "../include/mesh/mesh.h"
17 BT_MESH_WALK_CONTINUE,
20void bt_mesh_elem_register(
struct bt_mesh_elem *elem, uint8_t count);
22uint8_t bt_mesh_elem_count(
void);
27bool bt_mesh_has_addr(uint16_t addr);
28bool bt_mesh_model_has_key(
struct bt_mesh_model *mod, uint16_t key);
35uint16_t *bt_mesh_model_find_group(
struct bt_mesh_model **mod, uint16_t addr);
37void bt_mesh_model_foreach(
void (*func)(
struct bt_mesh_model *mod,
39 bool vnd,
bool primary,
43int32_t bt_mesh_model_pub_period_get(
struct bt_mesh_model *mod);
45void bt_mesh_comp_provision(uint16_t addr);
46void bt_mesh_comp_unprovision(
void);
48uint16_t bt_mesh_primary_addr(
void);
52struct bt_mesh_model *bt_mesh_model_get(
bool vnd, uint8_t elem_idx, uint8_t mod_idx);
54void bt_mesh_model_recv(
struct bt_mesh_net_rx *rx,
struct os_mbuf *buf);
56int bt_mesh_comp_register(
const struct bt_mesh_comp *comp);
58void bt_mesh_model_pending_store(
void);
62void bt_mesh_model_settings_commit(
void);
71void bt_mesh_msg_cb_set(
void (*cb)(uint32_t opcode,
struct bt_mesh_msg_ctx *ctx,
85 const struct bt_mesh_send_cb *cb,
void *cb_data);
87void bt_mesh_access_init(
void);