![]() |
Wirepas SDK
|
Go to the source code of this file.
Functions | |
| app_res_e | Shared_Shutdown_init (void) |
| Initialize the shared Shutdown library. More... | |
| app_res_e | Shared_Shutdown_addShutDownCb (app_lib_system_shutdown_cb_f callback, uint16_t *cb_id) |
| Add a new callback about shutdown cb. More... | |
| app_res_e | Shared_Shutdown_removeShutDownCb (uint16_t cb_id) |
| Remove a shutdown cb item from the list. Removed item fields are all set to 0. More... | |
| app_res_e Shared_Shutdown_addShutDownCb | ( | app_lib_system_shutdown_cb_f | callback, |
| uint16_t * | cb_id | ||
| ) |
Add a new callback about shutdown cb.
| callback | New callback |
| cb_id | Id to be used with Shared_Shutdown_removeShutDownCb. Set only if return code is APP_RES_OK. |
| app_res_e Shared_Shutdown_init | ( | void | ) |
Initialize the shared Shutdown library.
| app_res_e Shared_Shutdown_removeShutDownCb | ( | uint16_t | cb_id | ) |
Remove a shutdown cb item from the list. Removed item fields are all set to 0.
| cb_id | item to remove. |