ESP-IDF
bt_mesh_health_srv::test
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
bt_mesh_health_srv::test
bt_mesh_health_srv::test field
Syntax
Show:
Summary
Declaration
from
health_srv.h:74
struct
bt_mesh_health_test
test
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_health_test
test
;
health_srv.h:74
for
(
i
=
0U
;
i
<
ARRAY_SIZE
(
srv
->
test
.
curr_faults
)
;
i
++
)
{
health_srv.c:45
health_get_curr_fault_count()
if
(
srv
->
test
.
curr_faults
[
i
]
!=
HEALTH_NO_FAULT
)
{
health_srv.c:46
health_get_curr_fault_count()
array_size
=
current
?
ARRAY_SIZE
(
srv
->
test
.
curr_faults
)
:
ARRAY_SIZE
(
srv
->
test
.
reg_faults
)
;
health_srv.c:62
health_get_fault_value()
uint8_t
fault
=
current
?
srv
->
test
.
curr_faults
[
i
]
:
srv
->
test
.
reg_faults
[
i
]
;
health_srv.c:69
health_get_fault_value()
for
(
i
=
0
;
i
<
srv
->
test
.
id_count
;
i
++
)
{
health_srv.c:81
health_is_test_id_exist()
if
(
srv
->
test
.
test_ids
[
i
]
==
test_id
)
{
health_srv.c:82
health_is_test_id_exist()
msg
=
bt_mesh_alloc_buf
(
4
+
ARRAY_SIZE
(
srv
->
test
.
reg_faults
)
+
4
)
;
health_srv.c:97
health_send_fault_status()
net_buf_simple_add_u8
(
msg
,
srv
->
test
.
prev_test_id
)
;
health_srv.c:104
health_send_fault_status()
net_buf_simple_add_le16
(
msg
,
srv
->
test
.
company_id
)
;
health_srv.c:105
health_send_fault_status()
if
(
company_id
!=
srv
->
test
.
company_id
)
{
health_srv.c:136
health_fault_get()
if
(
company_id
!=
srv
->
test
.
company_id
)
{
health_srv.c:159
health_fault_clear()
memset
(
srv
->
test
.
reg_faults
,
HEALTH_NO_FAULT
,
ARRAY_SIZE
(
srv
->
test
.
reg_faults
)
)
;
health_srv.c:166
health_fault_clear()
if
(
company_id
!=
srv
->
test
.
company_id
)
{
health_srv.c:197
health_fault_test()
srv
->
test
.
prev_test_id
=
test_id
;
health_srv.c:204
health_fault_test()
net_buf_simple_add_u8
(
msg
,
srv
->
test
.
prev_test_id
)
;
health_srv.c:348
health_get_current()
net_buf_simple_add_le16
(
msg
,
srv
->
test
.
company_id
)
;
health_srv.c:349
health_get_current()
if
(
srv
->
test
.
id_count
==
0
||
!
srv
->
test
.
test_ids
)
{
health_srv.c:431
health_srv_init()
memset
(
srv
->
test
.
curr_faults
,
HEALTH_NO_FAULT
,
ARRAY_SIZE
(
srv
->
test
.
curr_faults
)
)
;
health_srv.c:448
health_srv_init()
memset
(
srv
->
test
.
reg_faults
,
HEALTH_NO_FAULT
,
ARRAY_SIZE
(
srv
->
test
.
reg_faults
)
)
;
health_srv.c:449
health_srv_init()
if
(
srv
->
test
.
id_count
==
0
||
!
srv
->
test
.
test_ids
)
{
health_srv.c:468
health_srv_deinit()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_health_srv::test
is read by 10 functions:
All items filtered out
bt_mesh_health_srv::test
health_get_curr_fault_count()
health_get_fault_value()
health_is_test_id_exist()
health_send_fault_status()
health_fault_get()
health_fault_clear()
health_fault_test()
health_get_current()
health_srv_init()
health_srv_deinit()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out