ESP-IDF
bt_mesh_light_lc_srv::lc
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/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_lc_srv::lc
bt_mesh_light_lc_srv::lc field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:258
struct
bt_mesh_light_control
*
lc
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_light_control
*
lc
;
lighting_server.h:258
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()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2235
light_lc_get()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2269
light_lc_publish()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2284
light_lc_mode_set()
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()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2326
light_lc_om_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()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2371
light_lc_light_onoff_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()
if
(
srv
==
NULL
||
srv
->
lc
==
NULL
)
{
lighting_server.c:2486
light_lc_sensor_status()
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()
if
(
val
<=
srv
->
lc
->
prop_state
.
time_occupancy_delay
)
{
lighting_server.c:2564
light_lc_sensor_status()
srv
->
lc
->
prop_state
.
set_occupancy_to_1_delay
=
lighting_server.c:2565
light_lc_sensor_status()
srv
->
lc
->
prop_state
.
time_occupancy_delay
-
val
;
lighting_server.c:2566
light_lc_sensor_status()
change
.
sensor_status
.
state
.
set_occupancy_to_1_delay
=
srv
->
lc
->
prop_state
.
set_occupancy_to_1_delay
;
lighting_server.c:2568
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()
if
(
srv
->
lc
==
NULL
)
{
lighting_server.c:3071
light_server_init()
if
(
srv
->
lc
==
NULL
)
{
lighting_server.c:3369
light_server_deinit()
value
=
srv
->
lc
->
prop_state
.
time_run_on
&
0xFFFFFF
;
server_common.c:93
bt_mesh_get_light_lc_trans_time()
if
(
srv
->
lc
==
NULL
)
{
state_binding.c:317
bt_mesh_update_binding_state()
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_lc_srv::lc
is read by 12 functions:
All items filtered out
bt_mesh_light_lc_srv::lc
send_light_lc_status()
light_lc_get()
light_lc_publish()
light_lc_mode_set()
light_lc_om_set()
light_lc_light_onoff_set()
light_lc_sensor_status()
light_server_init()
light_server_deinit()
bt_mesh_get_light_lc_trans_time()
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