ESP-IDF
bt_mesh_light_hsl_srv::transition
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_srv::transition
bt_mesh_light_hsl_srv::transition field
Syntax
Show:
Summary
Declaration
from
lighting_server.h:122
struct
bt_mesh_state_transition
transition
;
Examples
References
from
examples
Code
Location
Referrer
struct
bt_mesh_state_transition
transition
;
lighting_server.h:122
if
(
srv
->
transition
.
counter
)
{
lighting_server.c:1116
send_light_hsl_status()
bt_mesh_server_calc_remain_time
(
&
srv
->
transition
)
;
lighting_server.c:1117
send_light_hsl_status()
net_buf_simple_add_u8
(
msg
,
srv
->
transition
.
remain_time
)
;
lighting_server.c:1118
send_light_hsl_status()
if
(
srv
->
transition
.
counter
)
{
lighting_server.c:1124
send_light_hsl_status()
bt_mesh_server_calc_remain_time
(
&
srv
->
transition
)
;
lighting_server.c:1125
send_light_hsl_status()
net_buf_simple_add_u8
(
msg
,
srv
->
transition
.
remain_time
)
;
lighting_server.c:1126
send_light_hsl_status()
bt_mesh_server_stop_transition
(
&
srv
->
transition
)
;
lighting_server.c:1375
light_hsl_set()
if
(
srv
->
transition
.
timer
.
work
.
user_data
)
{
lighting_server.c:1419
light_hsl_set()
memcpy
(
srv
->
transition
.
timer
.
work
.
user_data
,
ctx
,
sizeof
(
struct
bt_mesh_msg_ctx
)
)
;
lighting_server.c:1420
light_hsl_set()
if
(
srv
->
transition
.
counter
==
0U
)
{
lighting_server.c:1424
light_hsl_set()
srv
->
transition
.
just_started
=
true
;
lighting_server.c:1430
light_hsl_set()
bt_mesh_server_start_transition
(
&
srv
->
transition
)
;
lighting_server.c:1438
light_hsl_set()
bt_mesh_server_alloc_ctx
(
&
srv
->
transition
.
timer
.
work
)
;
lighting_server.c:3006
light_server_init()
k_delayed_work_init
(
&
srv
->
transition
.
timer
,
light_hsl_work_handler
)
;
lighting_server.c:3007
light_server_init()
bt_mesh_server_free_ctx
(
&
srv
->
transition
.
timer
.
work
)
;
lighting_server.c:3326
light_server_deinit()
k_delayed_work_free
(
&
srv
->
transition
.
timer
)
;
lighting_server.c:3327
light_server_deinit()
bt_mesh_server_stop_transition
(
&
srv
->
transition
)
;
state_binding.c:235
bt_mesh_update_binding_state()
bt_mesh_server_stop_transition
(
&
srv
->
transition
)
;
state_binding.c:254
bt_mesh_update_binding_state()
transition_time_values
(
&
srv
->
transition
,
trans_time
,
delay
)
;
state_transition.c:185
light_hsl_tt_values()
(
(
float
)
(
srv
->
state
->
lightness
-
srv
->
state
->
target_lightness
)
/
srv
->
transition
.
counter
)
;
state_transition.c:187
light_hsl_tt_values()
(
(
float
)
(
srv
->
state
->
hue
-
srv
->
state
->
target_hue
)
/
srv
->
transition
.
counter
)
;
state_transition.c:189
light_hsl_tt_values()
(
(
float
)
(
srv
->
state
->
saturation
-
srv
->
state
->
target_saturation
)
/
srv
->
transition
.
counter
)
;
state_transition.c:191
light_hsl_tt_values()
transition
.
timer
.
work
)
;
state_transition.c:677
light_hsl_work_handler()
srv
->
transition
.
timer
.
work
.
user_data
==
NULL
)
{
state_transition.c:682
light_hsl_work_handler()
ctx
=
(
struct
bt_mesh_msg_ctx
*
)
srv
->
transition
.
timer
.
work
.
user_data
;
state_transition.c:689
light_hsl_work_handler()
if
(
srv
->
transition
.
just_started
)
{
state_transition.c:691
light_hsl_work_handler()
srv
->
transition
.
just_started
=
false
;
state_transition.c:692
light_hsl_work_handler()
if
(
srv
->
transition
.
counter
==
0U
)
{
state_transition.c:693
light_hsl_work_handler()
bt_mesh_atomic_clear_bit
(
srv
->
transition
.
flag
,
BLE_MESH_TRANS_TIMER_START
)
;
state_transition.c:699
light_hsl_work_handler()
transition_timer_start
(
&
srv
->
transition
)
;
state_transition.c:701
light_hsl_work_handler()
if
(
srv
->
transition
.
counter
!=
0U
)
{
state_transition.c:708
light_hsl_work_handler()
srv
->
transition
.
counter
--
;
state_transition.c:709
light_hsl_work_handler()
if
(
srv
->
transition
.
counter
==
0U
)
{
state_transition.c:715
light_hsl_work_handler()
transition_timer_stop
(
&
srv
->
transition
)
;
state_transition.c:716
light_hsl_work_handler()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
bt_mesh_light_hsl_srv::transition
is read by 6 functions:
All items filtered out
bt_mesh_light_hsl_srv::transition
send_light_hsl_status()
light_hsl_set()
light_server_init()
light_server_deinit()
light_hsl_tt_values()
light_hsl_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