Lines Matching full:model

37 static void health_fault_status(struct bt_mesh_model *model,  in health_fault_status()  argument
83 static void health_current_status(struct bt_mesh_model *model, in health_current_status() argument
87 struct bt_mesh_health_cli *cli = model->user_data; in health_current_status()
113 static void health_period_status(struct bt_mesh_model *model, in health_period_status() argument
139 static void health_attention_status(struct bt_mesh_model *model, in health_attention_status() argument
228 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_attention_get()
269 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_attention_set()
309 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_period_get()
350 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_period_set()
401 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_fault_test()
451 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_fault_clear()
496 err = bt_mesh_model_send(health_cli->model, &ctx, msg, NULL, NULL); in bt_mesh_health_fault_get()
519 int bt_mesh_health_cli_set(struct bt_mesh_model *model) in bt_mesh_health_cli_set() argument
521 if (!model->user_data) { in bt_mesh_health_cli_set()
522 BT_ERR("No Health Client context for given model"); in bt_mesh_health_cli_set()
526 health_cli = model->user_data; in bt_mesh_health_cli_set()
531 int bt_mesh_health_cli_init(struct bt_mesh_model *model, bool primary) in bt_mesh_health_cli_init() argument
533 struct bt_mesh_health_cli *cli = model->user_data; in bt_mesh_health_cli_init()
542 cli = model->user_data; in bt_mesh_health_cli_init()
543 cli->model = model; in bt_mesh_health_cli_init()