Home
last modified time | relevance | path

Searched refs:cur_faults (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/shell/
Dshell.c56 static uint8_t cur_faults[BT_MESH_SHELL_CUR_FAULTS_MAX]; variable
79 get_faults(cur_faults, sizeof(cur_faults), faults, fault_count); in fault_get_cur()
1110 for (i = 0U; i < sizeof(cur_faults); i++) { in cmd_add_fault()
1111 if (!cur_faults[i]) { in cmd_add_fault()
1112 cur_faults[i] = fault_id; in cmd_add_fault()
1117 if (i == sizeof(cur_faults)) { in cmd_add_fault()
1153 (void)memset(cur_faults, 0, sizeof(cur_faults)); in cmd_del_fault()
1170 for (i = 0U; i < sizeof(cur_faults); i++) { in cmd_del_fault()
1171 if (cur_faults[i] == fault_id) { in cmd_del_fault()
1172 cur_faults[i] = 0U; in cmd_del_fault()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/
Dbtp_mesh.c37 static uint8_t cur_faults[CUR_FAULTS_MAX]; variable
598 get_faults(cur_faults, sizeof(cur_faults), faults, fault_count); in fault_get_cur()
1735 cur_faults_count = MIN(sizeof(cur_faults), sizeof(some_faults)); in health_generate_faults()
1736 memcpy(cur_faults, some_faults, cur_faults_count); in health_generate_faults()
1737 memcpy(rp->faults, cur_faults, cur_faults_count); in health_generate_faults()
1757 (void)memset(cur_faults, 0, sizeof(cur_faults)); in health_clear_faults()