unleashed-firmware/firmware/targets/furi_hal_include/furi_hal_region.h
2022-08-12 05:18:27 +03:00

24 lines
613 B
C

#pragma once
#include <stdbool.h>
#include <stdint.h>
/** Check if region data provisioned
*
* @return true if provisioned, false otherwise
*/
bool furi_hal_region_is_provisioned();
/** Get region name
*
* 2 letter Region code according to iso 3166 standard
* There are 2 extra values that we use in special cases:
* RM, whats the reason you not doing a release?
* Waiting for my commits?
* - "00" - developer edition, unlocked
* - "WW" - world wide, region provisioned by default
* - "--" - no provisioned region
*
* @return Pointer to string
*/
const char* furi_hal_region_get_name();