ESP-IDF
bt_mesh_light_hsl_setup_srv::state
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (5/5)...
ESP-IDF
lwIP
FreeRTOS
cJSON
mbedTLS
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_setup_srv::state
bt_mesh_light_hsl_setup_srv::state field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:131
struct
bt_mesh_light_hsl_state
*
state
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_light_hsl_state
*
state
;
lighting_server.h:131
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
lightness_default
)
;
lighting_server.c:1139
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
hue_default
)
;
lighting_server.c:1140
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
saturation_default
)
;
lighting_server.c:1141
send_light_hsl_status()
net_buf_simple_add_u8
(
msg
,
srv
->
state
->
status_code
)
;
lighting_server.c:1154
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
hue_range_min
)
;
lighting_server.c:1155
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
hue_range_max
)
;
lighting_server.c:1156
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
saturation_range_min
)
;
lighting_server.c:1157
send_light_hsl_status()
net_buf_simple_add_le16
(
msg
,
srv
->
state
->
saturation_range_max
)
;
lighting_server.c:1158
send_light_hsl_status()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:1310
light_hsl_publish()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
)
{
lighting_server.c:1448
light_hsl_default_set()
if
(
srv
->
state
->
hue_range_min
&&
hue
<
srv
->
state
->
hue_range_min
)
{
lighting_server.c:1469
light_hsl_default_set()
hue
=
srv
->
state
->
hue_range_min
;
lighting_server.c:1470
light_hsl_default_set()
}
else
if
(
srv
->
state
->
hue_range_max
&&
hue
>
srv
->
state
->
hue_range_max
)
{
lighting_server.c:1471
light_hsl_default_set()
hue
=
srv
->
state
->
hue_range_max
;
lighting_server.c:1472
light_hsl_default_set()
if
(
srv
->
state
->
saturation_range_min
&&
saturation
<
srv
->
state
->
saturation_range_min
)
{
lighting_server.c:1475
light_hsl_default_set()
saturation
=
srv
->
state
->
saturation_range_min
;
lighting_server.c:1476
light_hsl_default_set()
}
else
if
(
srv
->
state
->
saturation_range_max
&&
saturation
>
srv
->
state
->
saturation_range_max
)
{
lighting_server.c:1477
light_hsl_default_set()
saturation
=
srv
->
state
->
saturation_range_max
;
lighting_server.c:1478
light_hsl_default_set()
srv
->
state
->
lightness_default
=
lightness
;
lighting_server.c:1481
light_hsl_default_set()
srv
->
state
->
hue_default
=
hue
;
lighting_server.c:1482
light_hsl_default_set()
srv
->
state
->
saturation_default
=
saturation
;
lighting_server.c:1483
light_hsl_default_set()
.
hsl_default_set
.
lightness
=
srv
->
state
->
lightness_default
,
lighting_server.c:1486
light_hsl_default_set()
.
hsl_default_set
.
hue
=
srv
->
state
->
hue_default
,
lighting_server.c:1487
light_hsl_default_set()
.
hsl_default_set
.
saturation
=
srv
->
state
->
saturation_default
,
lighting_server.c:1488
light_hsl_default_set()
if
(
srv
==
NULL
||
srv
->
state
==
NULL
)
{
lighting_server.c:1506
light_hsl_range_set()
srv
->
state
->
status_code
=
BLE_MESH_RANGE_UPDATE_SUCCESS
;
lighting_server.c:1541
light_hsl_range_set()
srv
->
state
->
hue_range_min
=
hue_min
;
lighting_server.c:1542
light_hsl_range_set()
srv
->
state
->
hue_range_max
=
hue_max
;
lighting_server.c:1543
light_hsl_range_set()
srv
->
state
->
saturation_range_min
=
saturation_min
;
lighting_server.c:1544
light_hsl_range_set()
srv
->
state
->
saturation_range_max
=
saturation_max
;
lighting_server.c:1545
light_hsl_range_set()
.
hsl_range_set
.
hue_range_min
=
srv
->
state
->
hue_range_min
,
lighting_server.c:1548
light_hsl_range_set()
.
hsl_range_set
.
hue_range_max
=
srv
->
state
->
hue_range_max
,
lighting_server.c:1549
light_hsl_range_set()
.
hsl_range_set
.
sat_range_min
=
srv
->
state
->
saturation_range_min
,
lighting_server.c:1550
light_hsl_range_set()
.
hsl_range_set
.
sat_range_max
=
srv
->
state
->
saturation_range_max
,
lighting_server.c:1551
light_hsl_range_set()
if
(
srv
->
state
==
NULL
)
{
lighting_server.c:3014
light_server_init()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_light_hsl_setup_srv::state
is read by 5 functions:
All items filtered out
bt_mesh_light_hsl_setup_srv::state
send_light_hsl_status()
light_hsl_publish()
light_hsl_default_set()
light_hsl_range_set()
light_server_init()
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