ESP-IDF
bt_mesh_light_ctl_temp_srv::state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
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_light_ctl_temp_srv::state
bt_mesh_light_ctl_temp_srv::state field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:89
struct
bt_mesh_light_ctl_state
*
state
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_light_ctl_state
*
state
;
lighting_server.h:89
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
temperature
)
;
lighting_server.c:594
send_light_ctl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
delta_uv
)
;
lighting_server.c:595
send_light_ctl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
target_temperature
)
;
lighting_server.c:598
send_light_ctl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
target_delta_uv
)
;
lighting_server.c:599
send_light_ctl_status()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:644
light_ctl_get()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:702
light_ctl_publish()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
)
{
lighting_server.c:979
light_ctl_temp_set()
if
(
srv
->
state
->
temperature_range_min
&&
lighting_server.c:1026
light_ctl_temp_set()
srv
->
state
->
temperature_range_min
!=
BLE_MESH_TEMPERATURE_UNKNOWN
&&
lighting_server.c:1027
light_ctl_temp_set()
temperature
<
srv
->
state
->
temperature_range_min
)
{
lighting_server.c:1028
light_ctl_temp_set()
temperature
=
srv
->
state
->
temperature_range_min
;
lighting_server.c:1029
light_ctl_temp_set()
}
else
if
(
srv
->
state
->
temperature_range_max
&&
lighting_server.c:1030
light_ctl_temp_set()
srv
->
state
->
temperature_range_max
!=
BLE_MESH_TEMPERATURE_UNKNOWN
&&
lighting_server.c:1031
light_ctl_temp_set()
temperature
>
srv
->
state
->
temperature_range_max
)
{
lighting_server.c:1032
light_ctl_temp_set()
temperature
=
srv
->
state
->
temperature_range_max
;
lighting_server.c:1033
light_ctl_temp_set()
srv
->
state
->
target_temperature
=
temperature
;
lighting_server.c:1035
light_ctl_temp_set()
srv
->
state
->
target_delta_uv
=
delta_uv
;
lighting_server.c:1036
light_ctl_temp_set()
if
(
srv
->
state
->
target_temperature
!=
srv
->
state
->
temperature
||
lighting_server.c:1038
light_ctl_temp_set()
srv
->
state
->
target_delta_uv
!=
srv
->
state
->
delta_uv
)
{
lighting_server.c:1039
light_ctl_temp_set()
.
ctl_temp_set
.
temperature
=
srv
->
state
->
temperature
,
lighting_server.c:1043
light_ctl_temp_set()
.
ctl_temp_set
.
delta_uv
=
srv
->
state
->
delta_uv
,
lighting_server.c:1044
light_ctl_temp_set()
srv
->
state
->
temperature
=
srv
->
state
->
target_temperature
;
lighting_server.c:1065
light_ctl_temp_set()
srv
->
state
->
delta_uv
=
srv
->
state
->
target_delta_uv
;
lighting_server.c:1066
light_ctl_temp_set()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:2988
light_server_init()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:3309
light_server_deinit()
if
(
srv
->
state
==
NULL
)
{
state_binding.c:212
bt_mesh_update_binding_state()
srv
->
state
->
temperature
=
value
->
light_ctl_temp_delta_uv
.
temperature
;
state_binding.c:218
bt_mesh_update_binding_state()
srv
->
state
->
delta_uv
=
value
->
light_ctl_temp_delta_uv
.
delta_uv
;
state_binding.c:219
bt_mesh_update_binding_state()
(
(
float
)
(
srv
->
state
->
temperature
-
srv
->
state
->
target_temperature
)
/
srv
->
transition
.
counter
)
;
state_transition.c:177
light_ctl_temp_tt_values()
(
(
float
)
(
srv
->
state
->
delta_uv
-
srv
->
state
->
target_delta_uv
)
/
srv
->
transition
.
counter
)
;
state_transition.c:179
light_ctl_temp_tt_values()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
||
state_transition.c:625
light_ctl_temp_work_handler()
change
.
ctl_temp_set
.
temperature
=
srv
->
state
->
temperature
;
state_transition.c:638
light_ctl_temp_work_handler()
change
.
ctl_temp_set
.
delta_uv
=
srv
->
state
->
delta_uv
;
state_transition.c:639
light_ctl_temp_work_handler()
srv
->
state
->
temperature
-=
srv
->
tt_delta_temperature
;
state_transition.c:653
light_ctl_temp_work_handler()
srv
->
state
->
delta_uv
-=
srv
->
tt_delta_delta_uv
;
state_transition.c:654
light_ctl_temp_work_handler()
srv
->
state
->
temperature
=
srv
->
state
->
target_temperature
;
state_transition.c:659
light_ctl_temp_work_handler()
srv
->
state
->
delta_uv
=
srv
->
state
->
target_delta_uv
;
state_transition.c:660
light_ctl_temp_work_handler()
change
.
ctl_temp_set
.
temperature
=
srv
->
state
->
temperature
;
state_transition.c:663
light_ctl_temp_work_handler()
change
.
ctl_temp_set
.
delta_uv
=
srv
->
state
->
delta_uv
;
state_transition.c:664
light_ctl_temp_work_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_light_ctl_temp_srv::state
is read by 9 functions:
All items filtered out
bt_mesh_light_ctl_temp_srv::state
send_light_ctl_status()
light_ctl_get()
light_ctl_publish()
light_ctl_temp_set()
light_server_init()
light_server_deinit()
bt_mesh_update_binding_state()
light_ctl_temp_tt_values()
light_ctl_temp_work_handler()
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