ESP-IDF
bt_mesh_light_hsl_sat_srv::state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/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_hsl_sat_srv::state
bt_mesh_light_hsl_sat_srv::state field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:146
struct
bt_mesh_light_hsl_state
*
state
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_light_hsl_state
*
state
;
lighting_server.h:146
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
saturation
)
;
lighting_server.c:1173
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
target_saturation
)
;
lighting_server.c:1176
send_light_hsl_status()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:1230
light_hsl_get()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:1302
light_hsl_publish()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
)
{
lighting_server.c:1672
light_hsl_sat_set()
if
(
srv
->
state
->
saturation_range_min
&&
saturation
<
srv
->
state
->
saturation_range_min
)
{
lighting_server.c:1712
light_hsl_sat_set()
saturation
=
srv
->
state
->
saturation_range_min
;
lighting_server.c:1713
light_hsl_sat_set()
}
else
if
(
srv
->
state
->
saturation_range_max
&&
saturation
>
srv
->
state
->
saturation_range_max
)
{
lighting_server.c:1714
light_hsl_sat_set()
saturation
=
srv
->
state
->
saturation_range_max
;
lighting_server.c:1715
light_hsl_sat_set()
srv
->
state
->
target_saturation
=
saturation
;
lighting_server.c:1717
light_hsl_sat_set()
if
(
srv
->
state
->
target_saturation
!=
srv
->
state
->
saturation
)
{
lighting_server.c:1723
light_hsl_sat_set()
.
hsl_saturation_set
.
saturation
=
srv
->
state
->
saturation
,
lighting_server.c:1727
light_hsl_sat_set()
srv
->
state
->
saturation
=
srv
->
state
->
target_saturation
;
lighting_server.c:1748
light_hsl_sat_set()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:3036
light_server_init()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:3345
light_server_deinit()
if
(
srv
->
state
==
NULL
)
{
state_binding.c:283
bt_mesh_update_binding_state()
srv
->
state
->
saturation
=
value
->
light_hsl_saturation
.
saturation
;
state_binding.c:289
bt_mesh_update_binding_state()
(
(
float
)
(
srv
->
state
->
saturation
-
srv
->
state
->
target_saturation
)
/
srv
->
transition
.
counter
)
;
state_transition.c:207
light_hsl_sat_tt_values()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
||
state_transition.c:793
light_hsl_sat_work_handler()
change
.
hsl_saturation_set
.
saturation
=
srv
->
state
->
saturation
;
state_transition.c:806
light_hsl_sat_work_handler()
srv
->
state
->
saturation
-=
srv
->
tt_delta_saturation
;
state_transition.c:820
light_hsl_sat_work_handler()
srv
->
state
->
saturation
=
srv
->
state
->
target_saturation
;
state_transition.c:825
light_hsl_sat_work_handler()
change
.
hsl_saturation_set
.
saturation
=
srv
->
state
->
saturation
;
state_transition.c:828
light_hsl_sat_work_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_light_hsl_sat_srv::state
is read by 9 functions:
All items filtered out
bt_mesh_light_hsl_sat_srv::state
send_light_hsl_status()
light_hsl_get()
light_hsl_publish()
light_hsl_sat_set()
light_server_init()
light_server_deinit()
bt_mesh_update_binding_state()
light_hsl_sat_tt_values()
light_hsl_sat_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