zwischenstand
This commit is contained in:
23
firmware/libs/fw_mgmt/include/fw_mgmt.h
Normal file
23
firmware/libs/fw_mgmt/include/fw_mgmt.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef FW_MGMT_H
|
||||
#define FW_MGMT_H
|
||||
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
FW_STATE_CONFIRMED = 0x00,
|
||||
FW_STATE_PENDING = 0x01,
|
||||
FW_STATE_TESTING = 0x02,
|
||||
FW_STATE_UNKNOWN = 0xFF
|
||||
} fw_state_t;
|
||||
|
||||
const char *fw_mgmt_get_fw_version_string(void);
|
||||
const char *fw_mgmt_get_kernel_version_string(void);
|
||||
const char *fw_mgmt_get_board_name();
|
||||
const char *fw_mgmt_get_board_revision();
|
||||
const char *fw_mgmt_get_soc_name();
|
||||
int fw_mgmt_get_id(uint8_t *buffer, size_t length);
|
||||
ssize_t fw_mgmt_get_slot1_size(void);
|
||||
|
||||
fw_state_t fw_mgmt_get_fw_state(void);
|
||||
#endif /* FW_MGMT_H */
|
||||
Reference in New Issue
Block a user