Lines Matching full:faults
18 static void show_faults(const struct shell *sh, uint8_t test_id, uint16_t cid, uint8_t *faults, in show_faults() argument
24 shell_print(sh, "Health Test ID 0x%02x Company ID 0x%04x: no faults\n", test_id, in show_faults()
33 shell_print(sh, "\t0x%02x\n", faults[i]); in show_faults()
46 uint8_t faults[32]; in cmd_fault_get() local
58 fault_count = sizeof(faults); in cmd_fault_get()
60 err = bt_mesh_health_cli_fault_get(cli, ctx.addr ? &ctx : NULL, cid, &test_id, faults, in cmd_fault_get()
65 show_faults(sh, test_id, cid, faults, fault_count); in cmd_fault_get()
91 uint8_t faults[32]; in fault_clear() local
92 size_t fault_count = sizeof(faults); in fault_clear()
95 faults, &fault_count); in fault_clear()
99 show_faults(sh, test_id, cid, faults, fault_count); in fault_clear()
144 uint8_t faults[32]; in fault_test() local
145 size_t fault_count = sizeof(faults); in fault_test()
148 faults, &fault_count); in fault_test()
152 show_faults(sh, test_id, cid, faults, fault_count); in fault_test()