#include "returncodes.h"
Functions | |
rc_ReturnCode_t | swi_sys_Init () |
Initializes the module. | |
rc_ReturnCode_t | swi_sys_Destroy () |
Destroys the System library. | |
rc_ReturnCode_t | swi_sys_Reboot (const char *reasonPtr) |
Requests a reboot of the system, with an optional reason passed as a string, which will be logged. |
rc_ReturnCode_t swi_sys_Destroy | ( | ) |
Destroys the System library.
rc_ReturnCode_t swi_sys_Init | ( | ) |
Initializes the module.
A call to init is mandatory to enable System library API.
rc_ReturnCode_t swi_sys_Reboot | ( | const char * | reasonPtr | ) |
Requests a reboot of the system, with an optional reason passed as a string, which will be logged.
reasonPtr | [IN] the (logged) reason why the reboot is requested |