Lines Matching refs:mod
34 static int proxy_status_rsp(const struct bt_mesh_model *mod, in proxy_status_rsp() argument
42 bt_mesh_model_send(mod, ctx, &buf, NULL, NULL); in proxy_status_rsp()
47 static int handle_proxy_get(const struct bt_mesh_model *mod, in handle_proxy_get() argument
53 proxy_status_rsp(mod, ctx); in handle_proxy_get()
58 static int handle_proxy_set(const struct bt_mesh_model *mod, in handle_proxy_set() argument
70 proxy_status_rsp(mod, ctx); in handle_proxy_set()
82 static int od_priv_proxy_srv_init(const struct bt_mesh_model *mod) in od_priv_proxy_srv_init() argument
84 od_priv_proxy_srv = mod; in od_priv_proxy_srv_init()
87 bt_mesh_model_find(bt_mesh_model_elem(mod), BT_MESH_MODEL_ID_PRIV_BEACON_SRV); in od_priv_proxy_srv_init()
89 bt_mesh_model_find(bt_mesh_model_elem(mod), BT_MESH_MODEL_ID_SOL_PDU_RPL_SRV); in od_priv_proxy_srv_init()
96 mod->keys[0] = BT_MESH_KEY_DEV_LOCAL; in od_priv_proxy_srv_init()
97 mod->rt->flags |= BT_MESH_MOD_DEVKEY_ONLY; in od_priv_proxy_srv_init()
99 bt_mesh_model_extend(mod, priv_beacon_srv); in od_priv_proxy_srv_init()
102 bt_mesh_model_correspond(mod, sol_pdu_rpl_srv); in od_priv_proxy_srv_init()