Home
last modified time | relevance | path

Searched refs:bt_mesh_model (Results 1 – 25 of 49) sorted by relevance

12

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/include/
Dgeneric_server.h24 struct bt_mesh_model *model;
43 struct bt_mesh_model *model;
56 struct bt_mesh_model *model;
66 struct bt_mesh_model *model;
72 struct bt_mesh_model *model;
90 struct bt_mesh_model *model;
99 struct bt_mesh_model *model;
112 struct bt_mesh_model *model;
129 struct bt_mesh_model *model;
135 struct bt_mesh_model *model;
[all …]
Dlighting_server.h34 struct bt_mesh_model *model;
45 struct bt_mesh_model *model;
70 struct bt_mesh_model *model;
81 struct bt_mesh_model *model;
87 struct bt_mesh_model *model;
118 struct bt_mesh_model *model;
129 struct bt_mesh_model *model;
135 struct bt_mesh_model *model;
144 struct bt_mesh_model *model;
174 struct bt_mesh_model *model;
[all …]
Dtime_scene_server.h95 struct bt_mesh_model *model;
101 struct bt_mesh_model *model;
185 struct bt_mesh_model *model;
193 struct bt_mesh_model *model;
246 struct bt_mesh_model *model;
252 struct bt_mesh_model *model;
378 void scene_publish(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, uint16_t opcode);
Dserver_common.h99 uint8_t bt_mesh_get_default_trans_time(struct bt_mesh_model *model);
101 int bt_mesh_get_light_lc_trans_time(struct bt_mesh_model *model, uint8_t *trans_time);
103 int bt_mesh_server_get_optional(struct bt_mesh_model *model,
118 struct net_buf_simple *bt_mesh_server_get_pub_msg(struct bt_mesh_model *model, uint16_t msg_len);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_access.h69 struct bt_mesh_model *const models;
70 struct bt_mesh_model *const vnd_models;
164 struct bt_mesh_model *model;
179 void (*const func)(struct bt_mesh_model *model,
193 #define BLE_MESH_MODEL_NONE ((struct bt_mesh_model []){})
358 struct bt_mesh_model *mod;
398 int (*update)(struct bt_mesh_model *mod);
436 int (*const init)(struct bt_mesh_model *model);
450 int (*const deinit)(struct bt_mesh_model *model);
455 struct bt_mesh_model { struct
[all …]
Dhealth_srv.h28 void (*fault_clear)(struct bt_mesh_model *model, uint16_t company_id);
31 void (*fault_test)(struct bt_mesh_model *model, uint8_t test_id,
35 void (*attn_on)(struct bt_mesh_model *model, uint8_t time);
38 void (*attn_off)(struct bt_mesh_model *model);
62 struct bt_mesh_model *model;
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/include/
Dclient_common.h25 struct bt_mesh_model *model;
44 …void (*publish_status)(uint32_t opcode, struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, …
71 struct bt_mesh_model *model; /* Pointer to the client model */
83 int bt_mesh_client_init(struct bt_mesh_model *model);
85 int bt_mesh_client_deinit(struct bt_mesh_model *model);
96 bt_mesh_client_node_t *bt_mesh_is_client_recv_publish_msg(struct bt_mesh_model *model,
116 int bt_mesh_set_client_model_role(struct bt_mesh_model *model, uint8_t role);
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dhealth_srv.c39 static uint8_t health_get_curr_fault_count(struct bt_mesh_model *model) in health_get_curr_fault_count()
54 static void health_get_fault_value(struct bt_mesh_model *model, in health_get_fault_value()
76 static bool health_is_test_id_exist(struct bt_mesh_model *model, uint8_t test_id) in health_is_test_id_exist()
90 static int health_send_fault_status(struct bt_mesh_model *model, in health_send_fault_status()
123 static void health_fault_get(struct bt_mesh_model *model, in health_fault_get()
146 static void health_fault_clear(struct bt_mesh_model *model, in health_fault_clear()
177 static void health_fault_test(struct bt_mesh_model *model, in health_fault_test()
217 static void send_attention_status(struct bt_mesh_model *model, in send_attention_status()
240 static void attention_get(struct bt_mesh_model *model, in attention_get()
249 static void health_set_attention(struct bt_mesh_model *model, in health_set_attention()
[all …]
Daccess.h32 uint16_t *bt_mesh_model_find_group(struct bt_mesh_model *mod, uint16_t addr);
36 void bt_mesh_model_foreach(void (*func)(struct bt_mesh_model *mod,
42 int32_t bt_mesh_model_pub_period_get(struct bt_mesh_model *mod);
51 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx);
Dcfg_srv.c46 struct bt_mesh_model *mod = NULL; in comp_add_elem()
116 static void dev_comp_data_get(struct bt_mesh_model *model, in dev_comp_data_get()
156 static struct bt_mesh_model *get_model(struct bt_mesh_elem *elem, in get_model()
200 static bool mod_pub_app_key_bound(struct bt_mesh_model *model, in mod_pub_app_key_bound()
215 static uint8_t _mod_pub_set(struct bt_mesh_model *model, uint16_t pub_addr, in _mod_pub_set()
290 static uint8_t mod_bind(struct bt_mesh_model *model, uint16_t key_idx) in mod_bind()
322 static uint8_t mod_unbind(struct bt_mesh_model *model, uint16_t key_idx, bool store) in mod_unbind()
456 static void app_key_add(struct bt_mesh_model *model, in app_key_add()
491 static void app_key_update(struct bt_mesh_model *model, in app_key_update()
530 static void _mod_unbind(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in _mod_unbind()
[all …]
Daccess.c28 void bt_mesh_model_foreach(void (*func)(struct bt_mesh_model *mod, in bt_mesh_model_foreach()
45 struct bt_mesh_model *model = &elem->models[j]; in bt_mesh_model_foreach()
51 struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach()
58 int32_t bt_mesh_model_pub_period_get(struct bt_mesh_model *mod) in bt_mesh_model_pub_period_get()
96 static int32_t next_period(struct bt_mesh_model *mod) in next_period()
126 struct bt_mesh_model *mod = user_data; in publish_sent()
150 struct bt_mesh_model *mod = user_data; in publish_start()
169 static int publish_retransmit(struct bt_mesh_model *mod) in publish_retransmit()
283 struct bt_mesh_elem *bt_mesh_model_elem(struct bt_mesh_model *mod) in bt_mesh_model_elem()
288 struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx) in bt_mesh_model_get()
[all …]
Dsettings.h33 void bt_mesh_store_mod_bind(struct bt_mesh_model *mod);
34 void bt_mesh_store_mod_sub(struct bt_mesh_model *mod);
35 void bt_mesh_store_mod_pub(struct bt_mesh_model *mod);
Dcfg_cli.c129 static void cfg_client_recv_status(struct bt_mesh_model *model, in cfg_client_recv_status()
251 static void comp_data_status(struct bt_mesh_model *model, in comp_data_status()
273 static void state_status_u8(struct bt_mesh_model *model, in state_status_u8()
288 static void beacon_status(struct bt_mesh_model *model, in beacon_status()
295 static void ttl_status(struct bt_mesh_model *model, in ttl_status()
302 static void friend_status(struct bt_mesh_model *model, in friend_status()
309 static void gatt_proxy_status(struct bt_mesh_model *model, in gatt_proxy_status()
316 static void relay_status(struct bt_mesh_model *model, in relay_status()
332 static void net_key_status(struct bt_mesh_model *model, in net_key_status()
348 static void app_key_status(struct bt_mesh_model *model, in app_key_status()
[all …]
Dhealth_cli.c87 static void health_client_recv_status(struct bt_mesh_model *model, in health_client_recv_status()
152 static void health_fault_status(struct bt_mesh_model *model, in health_fault_status()
175 static void health_current_status(struct bt_mesh_model *model, in health_current_status()
198 static void health_period_status(struct bt_mesh_model *model, in health_period_status()
213 static void health_attention_status(struct bt_mesh_model *model, in health_attention_status()
309 static int health_cli_init(struct bt_mesh_model *model) in health_cli_init()
350 static int health_cli_deinit(struct bt_mesh_model *model) in health_cli_deinit()
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_health_model.h50 void btc_ble_mesh_health_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
76 void btc_ble_mesh_health_server_fault_clear(struct bt_mesh_model *model, uint16_t company_id);
78 void btc_ble_mesh_health_server_fault_test(struct bt_mesh_model *model,
81 void btc_ble_mesh_health_server_attention_on(struct bt_mesh_model *model, uint8_t time);
83 void btc_ble_mesh_health_server_attention_off(struct bt_mesh_model *model);
Dbtc_ble_mesh_config_model.h50 void btc_ble_mesh_config_client_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
66 void bt_mesh_config_server_cb_evt_to_btc(uint8_t evt_type, struct bt_mesh_model *model,
Dbtc_ble_mesh_generic_model.h50 void btc_ble_mesh_generic_client_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
66 void bt_mesh_generic_server_cb_evt_to_btc(uint8_t evt_type, struct bt_mesh_model *model,
Dbtc_ble_mesh_lighting_model.h50 void btc_ble_mesh_lighting_client_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
67 void bt_mesh_lighting_server_cb_evt_to_btc(uint8_t evt_type, struct bt_mesh_model *model,
Dbtc_ble_mesh_sensor_model.h50 void btc_ble_mesh_sensor_client_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
66 void bt_mesh_sensor_server_cb_evt_to_btc(uint8_t evt_type, struct bt_mesh_model *model,
Dbtc_ble_mesh_time_scene_model.h50 void btc_ble_mesh_time_scene_client_publish_callback(uint32_t opcode, struct bt_mesh_model *model,
55 struct bt_mesh_model *model,
67 void bt_mesh_time_scene_server_cb_evt_to_btc(uint8_t evt_type, struct bt_mesh_model *model,
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/server/
Dgeneric_server.c51 static void send_gen_onoff_status(struct bt_mesh_model *model, in send_gen_onoff_status()
94 static void gen_onoff_get(struct bt_mesh_model *model, in gen_onoff_get()
116 void gen_onoff_publish(struct bt_mesh_model *model) in gen_onoff_publish()
127 static void gen_onoff_set(struct bt_mesh_model *model, in gen_onoff_set()
223 static void send_gen_level_status(struct bt_mesh_model *model, in send_gen_level_status()
275 static void gen_level_get(struct bt_mesh_model *model, in gen_level_get()
297 void gen_level_publish(struct bt_mesh_model *model) in gen_level_publish()
308 static void gen_level_set(struct bt_mesh_model *model, in gen_level_set()
404 static void gen_delta_set(struct bt_mesh_model *model, in gen_delta_set()
525 static void gen_move_set(struct bt_mesh_model *model, in gen_move_set()
[all …]
Dserver_common.c26 uint8_t bt_mesh_get_default_trans_time(struct bt_mesh_model *model) in bt_mesh_get_default_trans_time()
42 struct bt_mesh_model *srv = NULL; in bt_mesh_get_default_trans_time()
60 int bt_mesh_get_light_lc_trans_time(struct bt_mesh_model *model, uint8_t *trans_time) in bt_mesh_get_light_lc_trans_time()
115 int bt_mesh_server_get_optional(struct bt_mesh_model *model, in bt_mesh_server_get_optional()
224 struct net_buf_simple *bt_mesh_server_get_pub_msg(struct bt_mesh_model *model, uint16_t msg_len) in bt_mesh_server_get_pub_msg()
Dlighting_server.c52 static void send_light_lightness_status(struct bt_mesh_model *model, in send_light_lightness_status()
143 static void light_lightness_get(struct bt_mesh_model *model, in light_lightness_get()
187 void light_lightness_publish(struct bt_mesh_model *model, uint16_t opcode) in light_lightness_publish()
220 static void light_lightness_set(struct bt_mesh_model *model, in light_lightness_set()
332 static void light_lightness_linear_set(struct bt_mesh_model *model, in light_lightness_linear_set()
428 static void light_lightness_default_set(struct bt_mesh_model *model, in light_lightness_default_set()
470 static void light_lightness_range_set(struct bt_mesh_model *model, in light_lightness_range_set()
549 static void send_light_ctl_status(struct bt_mesh_model *model, in send_light_ctl_status()
644 static void light_ctl_get(struct bt_mesh_model *model, in light_ctl_get()
709 void light_ctl_publish(struct bt_mesh_model *model, uint16_t opcode) in light_ctl_publish()
[all …]
Dtime_scene_server.c48 static void send_time_status(struct bt_mesh_model *model, in send_time_status()
154 static void time_get(struct bt_mesh_model *model, in time_get()
303 static void time_set(struct bt_mesh_model *model, in time_set()
433 static void send_scene_status(struct bt_mesh_model *model, in send_scene_status()
488 static void send_scene_register_status(struct bt_mesh_model *model, in send_scene_register_status()
543 static void scene_get(struct bt_mesh_model *model, in scene_get()
578 void scene_publish(struct bt_mesh_model *model, struct bt_mesh_msg_ctx *ctx, uint16_t opcode) in scene_publish()
591 static void scene_recall(struct bt_mesh_model *model, in scene_recall()
723 static void scene_action(struct bt_mesh_model *model, in scene_action()
879 struct bt_mesh_model *scene_model = NULL; in scene_action()
[all …]
Dsensor_server.c20 static void update_sensor_periodic_pub(struct bt_mesh_model *model, uint16_t prop_id);
25 static void send_sensor_descriptor_status(struct bt_mesh_model *model, in send_sensor_descriptor_status()
92 static void send_sensor_data_status(struct bt_mesh_model *model, in send_sensor_data_status()
182 static void send_sensor_cadence_status(struct bt_mesh_model *model, in send_sensor_cadence_status()
283 static void send_sensor_settings_status(struct bt_mesh_model *model, in send_sensor_settings_status()
332 static struct sensor_setting *find_sensor_setting(struct bt_mesh_model *model, in find_sensor_setting()
358 static void send_sensor_setting_status(struct bt_mesh_model *model, in send_sensor_setting_status()
426 static void send_sensor_column_status(struct bt_mesh_model *model, in send_sensor_column_status()
501 static void send_sensor_series_status(struct bt_mesh_model *model, in send_sensor_series_status()
576 static void sensor_get(struct bt_mesh_model *model, in sensor_get()
[all …]

12