11 #define SEND_INTERVAL 10 * CLOCK_SECOND
13 PROCESS(do_nothing_process,
"Process that does nothing");
15 AUTOSTART_PROCESSES(&do_nothing_process);
19 static uint8_t blipcounter;
41 if(!(blipcounter % 3))
void etimer_restart(struct etimer *et)
Restart an event timer from the current point in time.
CCIF clock_time_t clock_time(void)
Get the current clock time.
void etimer_set(struct etimer *et, clock_time_t interval)
Set an event timer.
#define PROCESS_END()
Define the end of a process.
#define PROCESS(name, strname)
Declare a process.
#define PROCESS_THREAD(name, ev, data)
Define the body of a process.
static struct etimer et
NIC receiver thread.
#define PROCESS_YIELD()
Yield the currently running process.
int etimer_expired(struct etimer *et)
Check if an event timer has expired.
CCIF unsigned long clock_seconds(void)
Get the current value of the platform seconds.
#define PROCESS_BEGIN()
Define the beginning of a process.