Version HAL API. More...
Go to the source code of this file.
Enumerations | |
| enum | FuriHalVersionOtpVersion { FuriHalVersionOtpVersion0 = 0x00 , FuriHalVersionOtpVersion1 = 0x01 , FuriHalVersionOtpVersion2 = 0x02 , FuriHalVersionOtpVersionEmpty = 0xFFFFFFFE , FuriHalVersionOtpVersionUnknown = 0xFFFFFFFF } |
| OTP Versions enum. | |
| enum | FuriHalVersionColor { FuriHalVersionColorUnknown = 0x00 , FuriHalVersionColorBlack = 0x01 , FuriHalVersionColorWhite = 0x02 , FuriHalVersionColorTransparent = 0x03 } |
| Device Colors. | |
| enum | FuriHalVersionRegion { FuriHalVersionRegionUnknown = 0x00 , FuriHalVersionRegionEuRu = 0x01 , FuriHalVersionRegionUsCaAu = 0x02 , FuriHalVersionRegionJp = 0x03 , FuriHalVersionRegionWorld = 0x04 } |
| Device Regions. | |
| enum | FuriHalVersionDisplay { FuriHalVersionDisplayUnknown = 0x00 , FuriHalVersionDisplayErc = 0x01 , FuriHalVersionDisplayMgg = 0x02 } |
| Device Display. | |
Functions | |
| void | furi_hal_version_init (void) |
| Init flipper version. | |
| bool | furi_hal_version_do_i_belong_here (void) |
| Check target firmware version. | |
| const char * | furi_hal_version_get_model_name (void) |
| Get model name. | |
| const char * | furi_hal_version_get_model_code (void) |
| Get model name. | |
| const char * | furi_hal_version_get_fcc_id (void) |
| Get FCC ID. | |
| const char * | furi_hal_version_get_ic_id (void) |
| Get IC id. | |
| const char * | furi_hal_version_get_mic_id (void) |
| Get MIC id. | |
| const char * | furi_hal_version_get_srrc_id (void) |
| Get SRRC id. | |
| const char * | furi_hal_version_get_ncc_id (void) |
| Get NCC id. | |
| FuriHalVersionOtpVersion | furi_hal_version_get_otp_version (void) |
| Get OTP version. | |
| uint8_t | furi_hal_version_get_hw_version (void) |
| Get hardware version. | |
| uint8_t | furi_hal_version_get_hw_target (void) |
| Get hardware target. | |
| uint8_t | furi_hal_version_get_hw_body (void) |
| Get hardware body. | |
| FuriHalVersionColor | furi_hal_version_get_hw_color (void) |
| Get hardware body color. | |
| uint8_t | furi_hal_version_get_hw_connect (void) |
| Get hardware connect. | |
| FuriHalVersionRegion | furi_hal_version_get_hw_region (void) |
| Get hardware region. | |
| const char * | furi_hal_version_get_hw_region_name (void) |
| Get hardware region name. | |
| FuriHalVersionDisplay | furi_hal_version_get_hw_display (void) |
| Get hardware display id. | |
| uint32_t | furi_hal_version_get_hw_timestamp (void) |
| Get hardware timestamp. | |
| const char * | furi_hal_version_get_name_ptr (void) |
| Get pointer to target name. | |
| const char * | furi_hal_version_get_device_name_ptr (void) |
| Get pointer to target device name. | |
| const char * | furi_hal_version_get_ble_local_device_name_ptr (void) |
| Get pointer to target ble local device name. | |
| const uint8_t * | furi_hal_version_get_ble_mac (void) |
| Get BLE MAC address. | |
| const struct Version * | furi_hal_version_get_firmware_version (void) |
| Get address of version structure of firmware. | |
| size_t | furi_hal_version_uid_size (void) |
| Get platform UID size in bytes. | |
| const uint8_t * | furi_hal_version_uid (void) |
| Get const pointer to UID. | |
Version HAL API.
| bool furi_hal_version_do_i_belong_here | ( | void | ) |
Check target firmware version.
| const char * furi_hal_version_get_ble_local_device_name_ptr | ( | void | ) |
Get pointer to target ble local device name.
| const uint8_t * furi_hal_version_get_ble_mac | ( | void | ) |
Get BLE MAC address.
| const char * furi_hal_version_get_device_name_ptr | ( | void | ) |
Get pointer to target device name.
| const char * furi_hal_version_get_fcc_id | ( | void | ) |
Get FCC ID.
| const struct Version * furi_hal_version_get_firmware_version | ( | void | ) |
Get address of version structure of firmware.
| uint8_t furi_hal_version_get_hw_body | ( | void | ) |
Get hardware body.
| FuriHalVersionColor furi_hal_version_get_hw_color | ( | void | ) |
Get hardware body color.
| uint8_t furi_hal_version_get_hw_connect | ( | void | ) |
Get hardware connect.
| FuriHalVersionDisplay furi_hal_version_get_hw_display | ( | void | ) |
Get hardware display id.
| FuriHalVersionRegion furi_hal_version_get_hw_region | ( | void | ) |
Get hardware region.
| const char * furi_hal_version_get_hw_region_name | ( | void | ) |
Get hardware region name.
| uint8_t furi_hal_version_get_hw_target | ( | void | ) |
Get hardware target.
| uint32_t furi_hal_version_get_hw_timestamp | ( | void | ) |
Get hardware timestamp.
| uint8_t furi_hal_version_get_hw_version | ( | void | ) |
Get hardware version.
| const char * furi_hal_version_get_ic_id | ( | void | ) |
Get IC id.
| const char * furi_hal_version_get_mic_id | ( | void | ) |
Get MIC id.
| const char * furi_hal_version_get_model_code | ( | void | ) |
Get model name.
| const char * furi_hal_version_get_model_name | ( | void | ) |
Get model name.
| const char * furi_hal_version_get_name_ptr | ( | void | ) |
Get pointer to target name.
| const char * furi_hal_version_get_ncc_id | ( | void | ) |
Get NCC id.
| FuriHalVersionOtpVersion furi_hal_version_get_otp_version | ( | void | ) |
Get OTP version.
| const char * furi_hal_version_get_srrc_id | ( | void | ) |
Get SRRC id.
| const uint8_t * furi_hal_version_uid | ( | void | ) |
Get const pointer to UID.
| size_t furi_hal_version_uid_size | ( | void | ) |
Get platform UID size in bytes.