aligenie_demo sample
lightbulb_status_t::value
is only used within aligenie_demo sample.
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
aligenie_demo sample
lightbulb_status_t::value
lightbulb_status_t::value field
Syntax
Show:
Summary
Declaration
from
lightbulb.h:178
uint8_t
value
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
value
;
// range: 0-100
lightbulb.h:178
.
init_status
.
value
=
100
,
board.c:67
board_led_init()
ESP_LOGI
(
TAG
,
"hue: %d, saturation: %d, value: %d"
,
s_lb_obj
->
status
.
hue
,
s_lb_obj
->
status
.
saturation
,
s_lb_obj
->
status
.
value
)
;
lightbulb.c:437
print_func()
return
lightbulb_set_hsv
(
hue
,
s_lb_obj
->
status
.
saturation
,
s_lb_obj
->
status
.
value
)
;
lightbulb.c:887
lightbulb_set_hue()
return
lightbulb_set_hsv
(
s_lb_obj
->
status
.
hue
,
saturation
,
s_lb_obj
->
status
.
value
)
;
lightbulb.c:892
lightbulb_set_saturation()
s_lb_obj
->
status
.
value
=
value
;
lightbulb.c:971
lightbulb_set_hsv()
s_lb_obj
->
status
.
value
=
brightness
;
lightbulb.c:1055
lightbulb_set_cctb()
s_lb_obj
->
status
.
value
=
(
s_lb_obj
->
status
.
value
)
?
s_lb_obj
->
status
.
value
:
100
;
lightbulb.c:1114
lightbulb_set_switch()
err
=
lightbulb_set_hsv
(
s_lb_obj
->
status
.
hue
,
s_lb_obj
->
status
.
saturation
,
s_lb_obj
->
status
.
value
)
;
lightbulb.c:1115
lightbulb_set_switch()
int8_t
result
=
s_lb_obj
->
status
.
value
;
lightbulb.c:1164
lightbulb_get_value()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lightbulb_status_t::value
is written by 3 functions and is read by 5 functions:
lightbulb_set_hsv()
lightbulb_set_cctb()
lightbulb_set_switch()
All items filtered out
lightbulb_status_t::value
print_func()
lightbulb_set_hue()
lightbulb_set_saturation()
lightbulb_set_switch()
lightbulb_get_value()
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