Home
last modified time | relevance | path

Searched refs:onpowerup (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/
Dstorage.c27 settings_save_one("ps/gpo", &ctl->onpowerup, sizeof(ctl->onpowerup)); in save_gen_onpowerup_state()
29 if (ctl->onpowerup == 0x02) { in save_gen_onpowerup_state()
135 len = read_cb(cb_arg, &ctl->onpowerup, in ps_set()
136 sizeof(ctl->onpowerup)); in ps_set()
Dmain.c24 ctl->onpowerup = STATE_DEFAULT; in light_default_var_init()
66 switch (ctl->onpowerup) { in light_default_status_init()
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Ddevice_composition.h83 uint8_t onpowerup, tt; member
Ddevice_composition.c902 net_buf_simple_add_u8(msg, ctl->onpowerup); in gen_onpowerup_get()
934 net_buf_simple_add_u8(msg, ctl->onpowerup); in gen_onpowerup_publish()
946 uint8_t onpowerup; in gen_onpowerup_set_unack() local
948 onpowerup = net_buf_simple_pull_u8(buf); in gen_onpowerup_set_unack()
950 if (onpowerup > STATE_RESTORE) { in gen_onpowerup_set_unack()
954 if (ctl->onpowerup != onpowerup) { in gen_onpowerup_set_unack()
955 ctl->onpowerup = onpowerup; in gen_onpowerup_set_unack()
968 uint8_t onpowerup; in gen_onpowerup_set() local
970 onpowerup = net_buf_simple_pull_u8(buf); in gen_onpowerup_set()
972 if (onpowerup > STATE_RESTORE) { in gen_onpowerup_set()
[all …]
Dstate_binding.c169 if (ctl->onpowerup == STATE_RESTORE) { in set_target()