Searched refs:mod_cli (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/ |
D | blob.c | 274 static const struct bt_mesh_model *mod_cli; variable 304 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_BLOB_CLI, &mod_cli)) { in cmd_tx() 354 err = bt_mesh_blob_cli_send((struct bt_mesh_blob_cli *)mod_cli->rt->user_data, in cmd_tx() 394 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_BLOB_CLI, &mod_cli)) { in cmd_caps() 424 err = bt_mesh_blob_cli_caps_get((struct bt_mesh_blob_cli *)mod_cli->rt->user_data, in cmd_caps() 436 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_BLOB_CLI, &mod_cli)) { in cmd_tx_cancel() 441 bt_mesh_blob_cli_cancel((struct bt_mesh_blob_cli *)mod_cli->rt->user_data); in cmd_tx_cancel() 451 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_BLOB_CLI, &mod_cli)) { in cmd_tx_get() 468 err = bt_mesh_blob_cli_xfer_progress_get((struct bt_mesh_blob_cli *)mod_cli->rt->user_data, in cmd_tx_get() 480 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_BLOB_CLI, &mod_cli)) { in cmd_tx_suspend() [all …]
|
D | dfu.c | 508 static const struct bt_mesh_model *mod_cli; variable 586 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_DFU_CLI, &mod_cli)) { in cmd_dfu_target_state() 590 err = bt_mesh_dfu_cli_status_get((struct bt_mesh_dfu_cli *)mod_cli->rt->user_data, in cmd_dfu_target_state() 643 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_DFU_CLI, &mod_cli)) { in cmd_dfu_target_imgs() 657 err = bt_mesh_dfu_cli_imgs_get((struct bt_mesh_dfu_cli *)mod_cli->rt->user_data, in cmd_dfu_target_imgs() 679 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_DFU_CLI, &mod_cli)) { in cmd_dfu_target_check() 697 err = bt_mesh_dfu_cli_metadata_check((struct bt_mesh_dfu_cli *)mod_cli->rt->user_data, in cmd_dfu_target_check() 720 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_DFU_CLI, &mod_cli)) { in cmd_dfu_send() 768 err = bt_mesh_dfu_cli_send((struct bt_mesh_dfu_cli *)mod_cli->rt->user_data, in cmd_dfu_send() 787 if (!mod_cli && !bt_mesh_shell_mdl_first_get(BT_MESH_MODEL_ID_DFU_CLI, &mod_cli)) { in cmd_dfu_tx_cancel() [all …]
|
/Zephyr-Core-3.6.0/samples/boards/nrf/mesh/onoff-app/src/ |
D | main.c | 468 const struct bt_mesh_model *mod_cli, *mod_srv; in button_pressed_worker() local 474 mod_cli = mod_cli_sw[sw_idx]; in button_pressed_worker() 475 pub_cli = mod_cli->pub; in button_pressed_worker() 515 err = bt_mesh_model_publish(mod_cli); in button_pressed_worker()
|