nRF5 SDK for Thread and Zigbee v4.1.0
Functions

Functions

void zboss_main_loop (void)
 
void zboss_main_loop_iteration (void)
 

Detailed Description

Function Documentation

void zboss_main_loop ( void  )

ZBOSS main loop. Must be called after ZB_INIT() and zboss_start(). Loops infinitely.

See any sample

void zboss_main_loop_iteration ( void  )

ZBOSS main loop iteration.

This function is useful iw application wants to do something special in the main loop without involving ZBOSS scheduler.

Must be called after ZB_INIT() and zboss_start() / zboss_start_no_autostart() inside the application's main cycle.

void my_main_loop()
{
while (1)
{
/* ... User code ... */
/* ... User code ... */
}
}

Documentation feedback | Developer Zone | Subscribe | Updated