2022-08-12 02:18:27 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2022-09-14 16:11:38 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2022-08-12 02:18:27 +00:00
|
|
|
/** 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();
|
2022-08-11 09:21:56 +00:00
|
|
|
|
2022-09-14 16:11:38 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2022-09-14 18:04:04 +00:00
|
|
|
#endif
|