|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
infuse_common_boot API More...
Functions | |
| int | infuse_common_boot_last_reboot (struct infuse_reboot_state *state) |
| Query the reason for the latest reboot. | |
| int | infuse_common_boot_secure_fault_info (struct fault_exception_info_t *fault_info) |
| Query the secure fault information for the latest reboot. | |
infuse_common_boot API
| int infuse_common_boot_last_reboot | ( | struct infuse_reboot_state * | state | ) |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/common_boot.h>
Query the reason for the latest reboot.
| state | Output location for reboot information |
| 0 | On successful state query |
| -ENOENT | No reboot information exists |
| int infuse_common_boot_secure_fault_info | ( | struct fault_exception_info_t * | fault_info | ) |
#include </__w/infuse-sdk/infuse-sdk/infuse-sdk/include/infuse/common_boot.h>
Query the secure fault information for the latest reboot.
| fault_info | Output location for secure fault information |
| 0 | On successful fault info query |
| -ENOENT | If the previous reboot was not a secure fault |