#include <contiki.h>
#include <stdbool.h>
Go to the source code of this file.
void sol_mainloop_contiki_event_set |
( |
process_event_t |
ev, |
|
|
process_data_t |
data |
|
) |
| |
Set the event and data that woke up the Soletta protothread, so this event can be internally handled.
- Warning
- Should only be used on Contiki implementation of SOL_MAIN_DEFAULT().
- Parameters
-
ev | the event that woke up the Soletta protothread, this can be a timer or a sensor event for example. |
data | the data of the event |
- See Also
- SOL_MAIN_DEFAULT()
bool sol_mainloop_contiki_iter |
( |
void |
| ) |
|