The etimer will post an event when the timer is expiring. Since it posts and event you will need to have a process around it to handle the event. PROCESS_THREAD(etimer_process, ev, data) { static ...