Lines Matching full:attention
257 uint8_t attention; in cmd_attention_get() local
260 err = bt_mesh_health_cli_attention_get(cli, ctx.addr ? &ctx : NULL, &attention); in cmd_attention_get()
262 shell_error(sh, "Failed to send Health Attention Get (err %d)", err); in cmd_attention_get()
264 shell_print(sh, "Health Attention Timer: %u", attention); in cmd_attention_get()
279 uint8_t attention; in attention_set() local
282 attention = shell_strtoul(argv[1], 0, &err); in attention_set()
291 err = bt_mesh_health_cli_attention_set(cli, ctx.addr ? &ctx : NULL, attention, in attention_set()
294 shell_error(sh, "Failed to send Health Attention Set (err %d)", err); in attention_set()
296 shell_print(sh, "Health Attention Timer: %u", updated_attention); in attention_set()
302 err = bt_mesh_health_cli_attention_set_unack(cli, ctx.addr ? &ctx : NULL, attention); in attention_set()
304 shell_error(sh, "Failed to send Health Attention Set (err % d) ", err); in attention_set()
334 SHELL_CMD_ARG(attention-get, NULL, NULL, cmd_attention_get, 1, 0),
335 SHELL_CMD_ARG(attention-set, NULL, "<Time(s)>", cmd_attention_set, 2, 0),
336 SHELL_CMD_ARG(attention-set-unack, NULL, "<Time(s)>", cmd_attention_set_unack, 2, 0),