Home
last modified time | relevance | path

Searched refs:poll_evt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/bluetooth/extended_adv/advertiser/src/
Dmain.c30 static struct k_poll_event poll_evt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, variable
36 k_poll_signal_raise(poll_evt.signal, 1); in raise_evt()
126 k_poll(&poll_evt, 1, K_FOREVER); in main()
128 k_poll_signal_reset(poll_evt.signal); in main()
129 poll_evt.state = K_POLL_STATE_NOT_READY; in main()
139 if (k_poll(&poll_evt, 1, K_SECONDS(5)) == 0) { in main()
/Zephyr-latest/samples/bluetooth/extended_adv/scanner/src/
Dmain.c37 static struct k_poll_event poll_evt = K_POLL_EVENT_INITIALIZER(K_POLL_TYPE_SIGNAL, variable
43 k_poll_signal_raise(poll_evt.signal, 1); in raise_evt()
149 (void)k_poll(&poll_evt, 1, K_FOREVER); in main()
151 k_poll_signal_reset(poll_evt.signal); in main()
152 poll_evt.state = K_POLL_STATE_NOT_READY; in main()