Application structure & commissioning start

nRF5 SDK for Thread and Zigbee v4.2.0

Macros

#define MAIN()   main(a,v)
 
#define MAIN_RETURN(retc)   return (retc)
 

Detailed Description

Macro Definition Documentation

◆ MAIN

#define MAIN ( )    main(a,v)

ZBOSS application entry point.

Application program using ZBOSS must use MAIN() as an entry point and do not implement function main(). At some, but not at all platforms MAIN() is an alias for main().

◆ MAIN_RETURN

#define MAIN_RETURN (   retc)    return (retc)

Return statement of ZBOSS application entry point. Corresponds to exit() call from main(). Platform-dependent.