/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | device_composition.h | 96 extern const struct bt_mesh_model root_models[]; 97 extern const struct bt_mesh_model vnd_models[]; 98 extern const struct bt_mesh_model s0_models[]; 102 void gen_onoff_publish(const struct bt_mesh_model *model); 103 void gen_level_publish(const struct bt_mesh_model *model); 104 void light_lightness_publish(const struct bt_mesh_model *model); 105 void light_lightness_linear_publish(const struct bt_mesh_model *model); 106 void light_ctl_publish(const struct bt_mesh_model *model); 107 void light_ctl_temp_publish(const struct bt_mesh_model *model); 108 void gen_level_publish_temp(const struct bt_mesh_model *model);
|
D | device_composition.c | 69 static int gen_onoff_get(const struct bt_mesh_model *model, in gen_onoff_get() 96 void gen_onoff_publish(const struct bt_mesh_model *model) in gen_onoff_publish() 120 static int gen_onoff_set_unack(const struct bt_mesh_model *model, in gen_onoff_set_unack() 189 static int gen_onoff_set(const struct bt_mesh_model *model, in gen_onoff_set() 262 static int gen_onoff_status(const struct bt_mesh_model *model, in gen_onoff_status() 278 static int gen_level_get(const struct bt_mesh_model *model, in gen_level_get() 305 void gen_level_publish(const struct bt_mesh_model *model) in gen_level_publish() 329 static int gen_level_set_unack(const struct bt_mesh_model *model, in gen_level_set_unack() 395 static int gen_level_set(const struct bt_mesh_model *model, in gen_level_set() 464 static int gen_delta_set_unack(const struct bt_mesh_model *model, in gen_delta_set_unack() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | access.h | 35 bool bt_mesh_model_has_key(const struct bt_mesh_model *mod, uint16_t key); 37 void bt_mesh_model_extensions_walk(const struct bt_mesh_model *root, 38 enum bt_mesh_walk (*cb)(const struct bt_mesh_model *mod, 42 uint16_t *bt_mesh_model_find_group(const struct bt_mesh_model **mod, uint16_t addr); 43 const uint8_t **bt_mesh_model_find_uuid(const struct bt_mesh_model **mod, const uint8_t *uuid); 45 void bt_mesh_model_foreach(void (*func)(const struct bt_mesh_model *mod, 51 int32_t bt_mesh_model_pub_period_get(const struct bt_mesh_model *mod); 60 const struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx); 78 void bt_mesh_model_bind_store(const struct bt_mesh_model *mod); 79 void bt_mesh_model_sub_store(const struct bt_mesh_model *mod); [all …]
|
D | od_priv_proxy_srv.c | 19 static const struct bt_mesh_model *od_priv_proxy_srv; 34 static int proxy_status_rsp(const struct bt_mesh_model *mod, in proxy_status_rsp() 47 static int handle_proxy_get(const struct bt_mesh_model *mod, in handle_proxy_get() 58 static int handle_proxy_set(const struct bt_mesh_model *mod, in handle_proxy_set() 82 static int od_priv_proxy_srv_init(const struct bt_mesh_model *mod) in od_priv_proxy_srv_init() 86 const struct bt_mesh_model *priv_beacon_srv = in od_priv_proxy_srv_init() 88 const struct bt_mesh_model *sol_pdu_rpl_srv = in od_priv_proxy_srv_init() 111 static void od_priv_proxy_srv_reset(const struct bt_mesh_model *model) in od_priv_proxy_srv_reset() 118 static int od_priv_proxy_srv_settings_set(const struct bt_mesh_model *model, const char *name, in od_priv_proxy_srv_settings_set() 138 static void od_priv_proxy_srv_pending_store(const struct bt_mesh_model *model) in od_priv_proxy_srv_pending_store()
|
D | priv_beacon_srv.c | 19 static const struct bt_mesh_model *priv_beacon_srv; 40 static int beacon_status_rsp(const struct bt_mesh_model *mod, in beacon_status_rsp() 54 static int handle_beacon_get(const struct bt_mesh_model *mod, in handle_beacon_get() 65 static int handle_beacon_set(const struct bt_mesh_model *mod, in handle_beacon_set() 92 static void gatt_proxy_status_rsp(const struct bt_mesh_model *mod, in gatt_proxy_status_rsp() 103 static int handle_gatt_proxy_get(const struct bt_mesh_model *mod, in handle_gatt_proxy_get() 114 static int handle_gatt_proxy_set(const struct bt_mesh_model *mod, in handle_gatt_proxy_set() 136 static void node_id_status_rsp(const struct bt_mesh_model *mod, in node_id_status_rsp() 150 static int handle_node_id_get(const struct bt_mesh_model *mod, in handle_node_id_get() 165 static int handle_node_id_set(const struct bt_mesh_model *mod, in handle_node_id_set() [all …]
|
D | sar_cfg_srv.c | 30 static int sar_rx_store(const struct bt_mesh_model *model, bool delete) in sar_rx_store() 38 static int sar_tx_store(const struct bt_mesh_model *model, bool delete) in sar_tx_store() 46 static void transmitter_status(const struct bt_mesh_model *model, in transmitter_status() 66 static void receiver_status(const struct bt_mesh_model *model, in receiver_status() 84 static int transmitter_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in transmitter_get() 94 static int transmitter_set(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in transmitter_set() 111 static int receiver_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in receiver_get() 121 static int receiver_set(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in receiver_set() 146 static int sar_cfg_srv_init(const struct bt_mesh_model *model) in sar_cfg_srv_init() 163 static void sar_cfg_srv_reset(const struct bt_mesh_model *model) in sar_cfg_srv_reset() [all …]
|
D | health_srv.c | 33 static void health_get_registered(const struct bt_mesh_model *mod, in health_get_registered() 66 static size_t health_get_current(const struct bt_mesh_model *mod, in health_get_current() 107 static int health_fault_get(const struct bt_mesh_model *model, in health_fault_get() 127 static int health_fault_clear_unrel(const struct bt_mesh_model *model, in health_fault_clear_unrel() 145 static int health_fault_clear(const struct bt_mesh_model *model, in health_fault_clear() 175 static int health_fault_test_unrel(const struct bt_mesh_model *model, in health_fault_test_unrel() 195 static int health_fault_test(const struct bt_mesh_model *model, in health_fault_test() 230 static int send_attention_status(const struct bt_mesh_model *model, in send_attention_status() 253 static int attention_get(const struct bt_mesh_model *model, in attention_get() 262 static int attention_set_unrel(const struct bt_mesh_model *model, in attention_set_unrel() [all …]
|
D | sol_pdu_rpl_srv.c | 17 static void sol_rpl_status_rsp(const struct bt_mesh_model *mod, in sol_rpl_status_rsp() 35 static int item_clear(const struct bt_mesh_model *mod, in item_clear() 81 static int handle_item_clear(const struct bt_mesh_model *mod, in handle_item_clear() 88 static int handle_item_clear_unacked(const struct bt_mesh_model *mod, in handle_item_clear_unacked() 102 static int sol_pdu_rpl_srv_init(const struct bt_mesh_model *mod) in sol_pdu_rpl_srv_init()
|
D | testing.h | 28 void (*model_bound)(uint16_t addr, const struct bt_mesh_model *model, uint16_t key_idx); 29 void (*model_unbound)(uint16_t addr, const struct bt_mesh_model *model, uint16_t key_idx); 84 void bt_mesh_test_model_bound(uint16_t addr, const struct bt_mesh_model *model, uint16_t key_idx); 85 void bt_mesh_test_model_unbound(uint16_t addr, const struct bt_mesh_model *model, uint16_t key_idx);
|
D | brg_cfg_srv.c | 18 static void bridge_status_send(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx) in bridge_status_send() 30 static int subnet_bridge_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in subnet_bridge_get() 38 static int subnet_bridge_set(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in subnet_bridge_set() 53 static void bridging_table_status_send(const struct bt_mesh_model *model, in bridging_table_status_send() 76 static int bridging_table_add(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_add() 99 static int bridging_table_remove(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_remove() 122 static int bridged_subnets_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridged_subnets_get() 212 static int bridging_table_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_get() 266 static int bridging_table_size_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in bridging_table_size_get() 292 static int brg_cfg_srv_init(const struct bt_mesh_model *model) in brg_cfg_srv_init() [all …]
|
D | cfg_srv.c | 50 static int dev_comp_data_get(const struct bt_mesh_model *model, in dev_comp_data_get() 88 static const struct bt_mesh_model *get_model(const struct bt_mesh_elem *elem, in get_model() 115 static uint8_t _mod_pub_set(const struct bt_mesh_model *model, uint16_t pub_addr, in _mod_pub_set() 201 static uint8_t mod_bind(const struct bt_mesh_model *model, uint16_t key_idx) in mod_bind() 234 static uint8_t mod_unbind(const struct bt_mesh_model *model, uint16_t key_idx, bool store) in mod_unbind() 286 static int send_app_key_status(const struct bt_mesh_model *model, in send_app_key_status() 304 static int app_key_add(const struct bt_mesh_model *model, in app_key_add() 320 static int app_key_update(const struct bt_mesh_model *model, in app_key_update() 337 static void mod_app_key_del(const struct bt_mesh_model *mod, in mod_app_key_del() 356 static int app_key_del(const struct bt_mesh_model *model, in app_key_del() [all …]
|
D | access.c | 122 void bt_mesh_model_foreach(void (*func)(const struct bt_mesh_model *mod, in bt_mesh_model_foreach() 134 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_model_foreach() 140 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach() 189 static void comp_add_model(const struct bt_mesh_model *mod, const struct bt_mesh_elem *elem, in comp_add_model() 204 static size_t metadata_model_size(const struct bt_mesh_model *mod, in metadata_model_size() 245 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_metadata_page_0_size() 251 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_metadata_page_0_size() 260 static int metadata_add_model(const struct bt_mesh_model *mod, in metadata_add_model() 330 const struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_metadata_get_page_0() 347 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_metadata_get_page_0() [all …]
|
D | msg.h | 21 int bt_mesh_msg_send(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, 54 int bt_mesh_msg_ackd_send(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx,
|
D | op_agg.h | 22 int bt_mesh_op_agg_cli_send(const struct bt_mesh_model *model, struct net_buf_simple *msg); 24 int bt_mesh_op_agg_srv_send(const struct bt_mesh_model *model, struct net_buf_simple *msg);
|
D | large_comp_data_srv.c | 40 const struct bt_mesh_model *model; 43 static int handle_large_comp_data_get(const struct bt_mesh_model *model, in handle_large_comp_data_get() 105 static int handle_models_metadata_get(const struct bt_mesh_model *model, in handle_models_metadata_get() 171 static int large_comp_data_srv_init(const struct bt_mesh_model *model) in large_comp_data_srv_init() 173 const struct bt_mesh_model *config_srv = in large_comp_data_srv_init()
|
D | op_agg_srv.c | 25 const struct bt_mesh_model *model; 36 static int handle_sequence(const struct bt_mesh_model *model, in handle_sequence() 117 static int op_agg_srv_init(const struct bt_mesh_model *model) in op_agg_srv_init() 134 int bt_mesh_op_agg_srv_send(const struct bt_mesh_model *model, struct net_buf_simple *msg) in bt_mesh_op_agg_srv_send()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | health_srv.h | 56 int (*fault_get_cur)(const struct bt_mesh_model *model, uint8_t *test_id, 82 int (*fault_get_reg)(const struct bt_mesh_model *model, uint16_t company_id, 94 int (*fault_clear)(const struct bt_mesh_model *model, uint16_t company_id); 111 int (*fault_test)(const struct bt_mesh_model *model, uint8_t test_id, 128 void (*attn_on)(const struct bt_mesh_model *model); 137 void (*attn_off)(const struct bt_mesh_model *model); 152 const struct bt_mesh_model *model;
|
D | access.h | 169 const struct bt_mesh_model * const models; 171 const struct bt_mesh_model * const vnd_models; 384 int (*const func)(const struct bt_mesh_model *model, 417 #define BT_MESH_MODEL_NONE ((const struct bt_mesh_model []){}) 710 const struct bt_mesh_model *mod; 757 int (*update)(const struct bt_mesh_model *mod); 827 int (*const settings_set)(const struct bt_mesh_model *model, 843 int (*const start)(const struct bt_mesh_model *model); 857 int (*const init)(const struct bt_mesh_model *model); 869 void (*const reset)(const struct bt_mesh_model *model); [all …]
|
/Zephyr-latest/tests/bluetooth/mesh/basic/src/ |
D | main.c | 18 static int fault_get_cur(const struct bt_mesh_model *model, uint8_t *test_id, in fault_get_cur() 33 static int fault_get_reg(const struct bt_mesh_model *model, uint16_t company_id, in fault_get_reg() 56 static int fault_clear(const struct bt_mesh_model *model, uint16_t company_id) in fault_clear() 67 static int fault_test(const struct bt_mesh_model *model, uint8_t test_id, in fault_test() 93 static const struct bt_mesh_model root_models[] = { 98 static int vnd_publish(const struct bt_mesh_model *mod) in vnd_publish() 112 static const struct bt_mesh_model vnd_models[] = {
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | utils.c | 16 bool bt_mesh_shell_mdl_first_get(uint16_t id, const struct bt_mesh_model **mod) in bt_mesh_shell_mdl_first_get() 30 int bt_mesh_shell_mdl_instance_set(const struct shell *sh, const struct bt_mesh_model **mod, in bt_mesh_shell_mdl_instance_set() 33 const struct bt_mesh_model *mod_temp; in bt_mesh_shell_mdl_instance_set() 56 const struct bt_mesh_model *mod; in bt_mesh_shell_mdl_print_all()
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/src/ |
D | main.c | 57 static int gen_onoff_set(const struct bt_mesh_model *model, 61 static int gen_onoff_set_unack(const struct bt_mesh_model *model, 65 static int gen_onoff_get(const struct bt_mesh_model *model, 69 static int gen_onoff_status(const struct bt_mesh_model *model, 170 static const struct bt_mesh_model root_models[] = { 184 static const struct bt_mesh_model secondary_0_models[] = { 195 static const struct bt_mesh_model secondary_1_models[] = { 206 static const struct bt_mesh_model secondary_2_models[] = { 217 const struct bt_mesh_model *mod_cli_sw[] = { 228 const struct bt_mesh_model *mod_srv_sw[] = { [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_cdp1.c | 32 static int model_##number##_init(const struct bt_mesh_model *model); \ 59 static const struct bt_mesh_model models_1[] = { 67 static const struct bt_mesh_model models_2[] = { 71 static const struct bt_mesh_model models_3[] = { 75 static const struct bt_mesh_model models_4[] = { 79 static const struct bt_mesh_model models_vnd1[] = { 109 static int model_1_init(const struct bt_mesh_model *model) in model_1_init() 114 static int model_2_init(const struct bt_mesh_model *model) in model_2_init() 120 static int model_3_init(const struct bt_mesh_model *model) in model_3_init() 125 static int model_4_init(const struct bt_mesh_model *model) in model_4_init() [all …]
|
D | test_access.c | 38 static int model1_init(const struct bt_mesh_model *model); 39 static int model2_init(const struct bt_mesh_model *model); 40 static int model3_init(const struct bt_mesh_model *model); 41 static int model4_init(const struct bt_mesh_model *model); 42 static int model5_init(const struct bt_mesh_model *model); 43 static int test_msg_handler(const struct bt_mesh_model *model, 46 static int test_msg_ne_handler(const struct bt_mesh_model *model, 103 static int model1_update(const struct bt_mesh_model *model) in model1_update() 116 static int test_msgf_handler(const struct bt_mesh_model *model, in test_msgf_handler() 212 static const struct bt_mesh_model models[] = { [all …]
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | mesh.c | 162 static void attention_on(const struct bt_mesh_model *model) in attention_on() 167 static void attention_off(const struct bt_mesh_model *model) in attention_off() 182 static int gen_onoff_get(const struct bt_mesh_model *model, in gen_onoff_get() 201 static int gen_onoff_set_unack(const struct bt_mesh_model *model, in gen_onoff_set_unack() 266 static int gen_onoff_set(const struct bt_mesh_model *model, in gen_onoff_set() 276 static int sensor_desc_get(const struct bt_mesh_model *model, in sensor_desc_get() 336 static int sensor_get(const struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, in sensor_get() 352 static int sensor_col_get(const struct bt_mesh_model *model, in sensor_col_get() 360 static int sensor_series_get(const struct bt_mesh_model *model, in sensor_series_get() 388 static const struct bt_mesh_model root_models[] = { [all …]
|
/Zephyr-latest/samples/bluetooth/mesh/src/ |
D | main.c | 27 static void attention_on(const struct bt_mesh_model *mod) in attention_on() 32 static void attention_off(const struct bt_mesh_model *mod) in attention_off() 104 static int onoff_status_send(const struct bt_mesh_model *model, in onoff_status_send() 153 static int gen_onoff_get(const struct bt_mesh_model *model, in gen_onoff_get() 161 static int gen_onoff_set_unack(const struct bt_mesh_model *model, in gen_onoff_set_unack() 204 static int gen_onoff_set(const struct bt_mesh_model *model, in gen_onoff_set() 223 static int gen_onoff_status(const struct bt_mesh_model *model, in gen_onoff_status() 250 static const struct bt_mesh_model models[] = {
|