You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using contiki-6lbr on my CC1310 custom board. In my application code, I periodically(every 5 second) perform an action. Code is something like below:
while(1)
{
PROCESS_YIELD();
if(ev == PROCESS_EVENT_TIMER && data == &et_periodic)
{
//Perform some action
//PRINTF statements
}
}
}
Code is running perfectly fine for initial few days. After few days of non-stop working, code behaves weirdly and doesn't enter if condition of et_periodic timer. The code is still working as few other threads are still printing the logs. It seems that Contiki timer service thread is hanging after few days. However, I am not able to figure out the root cause. Any leads would be highly appreciated.
Thank you!
Apurva
The text was updated successfully, but these errors were encountered:
Hi,
I am using contiki-6lbr on my CC1310 custom board. In my application code, I periodically(every 5 second) perform an action. Code is something like below:
PROCESS_THREAD(udp_client_process, ev, data)
{
PROCESS_BEGIN();
etimer_set(&et_periodic, 5 * CLOCK_SECOND);
// Initialization code
}
Code is running perfectly fine for initial few days. After few days of non-stop working, code behaves weirdly and doesn't enter if condition of et_periodic timer. The code is still working as few other threads are still printing the logs. It seems that Contiki timer service thread is hanging after few days. However, I am not able to figure out the root cause. Any leads would be highly appreciated.
Thank you!
Apurva
The text was updated successfully, but these errors were encountered: