Lines Matching refs:mod
40 static int beacon_status_rsp(const struct bt_mesh_model *mod, in beacon_status_rsp() argument
49 bt_mesh_model_send(mod, ctx, &buf, NULL, NULL); in beacon_status_rsp()
54 static int handle_beacon_get(const struct bt_mesh_model *mod, in handle_beacon_get() argument
60 beacon_status_rsp(mod, ctx); in handle_beacon_get()
65 static int handle_beacon_set(const struct bt_mesh_model *mod, in handle_beacon_set() argument
87 beacon_status_rsp(mod, ctx); in handle_beacon_set()
92 static void gatt_proxy_status_rsp(const struct bt_mesh_model *mod, in gatt_proxy_status_rsp() argument
100 bt_mesh_model_send(mod, ctx, &buf, NULL, NULL); in gatt_proxy_status_rsp()
103 static int handle_gatt_proxy_get(const struct bt_mesh_model *mod, in handle_gatt_proxy_get() argument
109 gatt_proxy_status_rsp(mod, ctx); in handle_gatt_proxy_get()
114 static int handle_gatt_proxy_set(const struct bt_mesh_model *mod, in handle_gatt_proxy_set() argument
131 gatt_proxy_status_rsp(mod, ctx); in handle_gatt_proxy_set()
136 static void node_id_status_rsp(const struct bt_mesh_model *mod, in node_id_status_rsp() argument
147 bt_mesh_model_send(mod, ctx, &buf, NULL, NULL); in node_id_status_rsp()
150 static int handle_node_id_get(const struct bt_mesh_model *mod, in handle_node_id_get() argument
160 node_id_status_rsp(mod, ctx, status, net_idx, node_id); in handle_node_id_get()
165 static int handle_node_id_set(const struct bt_mesh_model *mod, in handle_node_id_set() argument
181 node_id_status_rsp(mod, ctx, status, net_idx, node_id); in handle_node_id_set()
196 static int priv_beacon_srv_init(const struct bt_mesh_model *mod) in priv_beacon_srv_init() argument
200 bt_mesh_model_find(bt_mesh_model_elem(mod), BT_MESH_MODEL_ID_CFG_SRV); in priv_beacon_srv_init()
207 priv_beacon_srv = mod; in priv_beacon_srv_init()
208 mod->keys[0] = BT_MESH_KEY_DEV_LOCAL; in priv_beacon_srv_init()
210 err = bt_mesh_model_extend(mod, config_srv); in priv_beacon_srv_init()