ESP-IDF
bt_mesh_light_control::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_control::state
bt_mesh_light_control::state field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:250
struct
bt_mesh_light_lc_state
state
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_light_lc_state
state
;
lighting_server.h:250
net_buf_simple_add_u8
(
msg
,
srv
->
lc
->
state
.
mode
)
;
lighting_server.c:2199
send_light_lc_status()
net_buf_simple_add_u8
(
msg
,
srv
->
lc
->
state
.
occupancy_mode
)
;
lighting_server.c:2202
send_light_lc_status()
net_buf_simple_add_u8
(
msg
,
srv
->
lc
->
state
.
light_onoff
)
;
lighting_server.c:2205
send_light_lc_status()
net_buf_simple_add_u8
(
msg
,
srv
->
lc
->
state
.
target_light_onoff
)
;
lighting_server.c:2208
send_light_lc_status()
srv
->
lc
->
state
.
mode
=
mode
;
lighting_server.c:2305
light_lc_mode_set()
.
lc_mode_set
.
mode
=
srv
->
lc
->
state
.
mode
,
lighting_server.c:2308
light_lc_mode_set()
srv
->
lc
->
state
.
occupancy_mode
=
om
;
lighting_server.c:2347
light_lc_om_set()
.
lc_om_set
.
mode
=
srv
->
lc
->
state
.
occupancy_mode
,
lighting_server.c:2350
light_lc_om_set()
srv
->
lc
->
state
.
target_light_onoff
=
onoff
;
lighting_server.c:2411
light_lc_light_onoff_set()
if
(
srv
->
lc
->
state
.
target_light_onoff
!=
srv
->
lc
->
state
.
light_onoff
)
{
lighting_server.c:2413
light_lc_light_onoff_set()
.
lc_light_onoff_set
.
onoff
=
srv
->
lc
->
state
.
light_onoff
,
lighting_server.c:2417
light_lc_light_onoff_set()
srv
->
lc
->
state
.
light_onoff
=
srv
->
lc
->
state
.
target_light_onoff
;
lighting_server.c:2438
light_lc_light_onoff_set()
srv
->
lc
->
state
.
occupancy
=
BLE_MESH_STATE_ON
;
lighting_server.c:2520
light_lc_sensor_status()
change
.
sensor_status
.
state
.
occupancy
=
srv
->
lc
->
state
.
occupancy
;
lighting_server.c:2522
light_lc_sensor_status()
srv
->
lc
->
state
.
occupancy
=
BLE_MESH_STATE_ON
;
lighting_server.c:2535
light_lc_sensor_status()
change
.
sensor_status
.
state
.
occupancy
=
srv
->
lc
->
state
.
occupancy
;
lighting_server.c:2537
light_lc_sensor_status()
srv
->
lc
->
state
.
occupancy
=
BLE_MESH_STATE_ON
;
lighting_server.c:2550
light_lc_sensor_status()
change
.
sensor_status
.
state
.
occupancy
=
srv
->
lc
->
state
.
occupancy
;
lighting_server.c:2552
light_lc_sensor_status()
srv
->
lc
->
state
.
ambient_luxlevel
=
(
msb
<
<
16
)
|
lsb
;
lighting_server.c:2587
light_lc_sensor_status()
change
.
sensor_status
.
state
.
ambient_luxlevel
=
srv
->
lc
->
state
.
ambient_luxlevel
;
lighting_server.c:2589
light_lc_sensor_status()
srv
->
lc
->
state
.
light_onoff
=
value
->
light_lc_light_onoff
.
onoff
;
state_binding.c:323
bt_mesh_update_binding_state()
change
.
lc_light_onoff_set
.
onoff
=
srv
->
lc
->
state
.
light_onoff
;
state_transition.c:917
light_lc_work_handler()
if
(
srv
->
lc
->
state
.
target_light_onoff
==
BLE_MESH_STATE_ON
)
{
state_transition.c:928
light_lc_work_handler()
srv
->
lc
->
state
.
light_onoff
=
BLE_MESH_STATE_ON
;
state_transition.c:929
light_lc_work_handler()
.
lc_light_onoff_set
.
onoff
=
srv
->
lc
->
state
.
light_onoff
,
state_transition.c:931
light_lc_work_handler()
srv
->
lc
->
state
.
light_onoff
=
srv
->
lc
->
state
.
target_light_onoff
;
state_transition.c:949
light_lc_work_handler()
if
(
srv
->
lc
->
state
.
light_onoff
!=
BLE_MESH_STATE_ON
)
{
state_transition.c:950
light_lc_work_handler()
change
.
lc_light_onoff_set
.
onoff
=
srv
->
lc
->
state
.
light_onoff
;
state_transition.c:951
light_lc_work_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_light_control::state
is read by 7 functions:
All items filtered out
bt_mesh_light_control::state
send_light_lc_status()
light_lc_mode_set()
light_lc_om_set()
light_lc_light_onoff_set()
light_lc_sensor_status()
bt_mesh_update_binding_state()
light_lc_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