System
include/rid/system.h
System message handling per ASTM F3411-22a.
Example usage:
rid_system_t system;
rid_system_init(&system);
rid_system_set_operator_location_type(&system, RID_OPERATOR_LOCATION_TYPE_TAKEOFF);
rid_system_set_classification_type(&system, RID_CLASSIFICATION_TYPE_EUROPEAN_UNION);
rid_system_set_ua_classification_category(&system, RID_UA_CLASSIFICATION_CATEGORY_OPEN);
rid_system_set_ua_classification_class(&system, RID_UA_CLASSIFICATION_CLASS_1);
rid_system_set_operator_coordinates(&system, 60.2870324, 24.5397187);
rid_system_set_operator_altitude(&system, 50.0f);
rid_system_set_area_count(&system, 1);
rid_system_set_area_radius(&system, 100);
rid_system_set_area_ceiling(&system, 120.0f);
rid_system_set_area_floor(&system, 0.0f);
rid_system_set_timestamp(&system, 3600);
hexdump(&system, sizeof(system));
printf("Protocol version: %u\n", rid_message_get_protocol_version(&system));
printf("Message type: %u\n", rid_message_get_type(&system));
printf("Operator loc type: %u\n", rid_system_get_operator_location_type(&system));
printf("Classification: %u\n", rid_system_get_classification_type(&system));
printf("Operator latitude: %.6f\n", rid_system_get_operator_latitude(&system));
printf("Operator longitude: %.6f\n", rid_system_get_operator_longitude(&system));
printf("Area count: %u\n", rid_system_get_area_count(&system));
printf("Area radius: %u m\n", rid_system_get_area_radius(&system));
printf("Area ceiling: %.1f m\n", (double)rid_system_get_area_ceiling(&system));
printf("Area floor: %.1f m\n", (double)rid_system_get_area_floor(&system));
printf("UA class: %u\n", rid_system_get_ua_classification_class(&system));
printf("UA category: %u\n", rid_system_get_ua_classification_category(&system));
printf("Operator altitude: %.1f m\n", (double)rid_system_get_operator_altitude(&system));
printf("Timestamp: %u\n", rid_system_get_timestamp(&system));
printf("Unixtime: %u\n", rid_system_get_unixtime(&system));
Structures and Types
| Type | Name |
|---|---|
| enum | rid_classification_type_t Classification type per ASTM F3411-22a. |
| enum | rid_operator_location_type_t Operator location type per ASTM F3411-22a. |
| struct | rid_system_t System message structure per ASTM F3411-22a. |
| enum | rid_ua_classification_category_t UA classification category per ASTM F3411-22a. |
| enum | rid_ua_classification_class_t UA classification class per ASTM F3411-22a. |
Functions
| Type | Name |
|---|---|
| const char * | rid_classification_type_to_string (rid_classification_type_t type) Convert classification type to string representation. |
| const char * | rid_operator_location_type_to_string (rid_operator_location_type_t type) Convert operator location type to string representation. |
| float | rid_system_get_area_ceiling (const rid_system_t *system) Get the area ceiling from a System message. |
| uint16_t | rid_system_get_area_count (const rid_system_t *system) Get the area count from a System message. |
| float | rid_system_get_area_floor (const rid_system_t *system) Get the area floor from a System message. |
| uint16_t | rid_system_get_area_radius (const rid_system_t *system) Get the area radius from a System message. |
| rid_classification_type_t | rid_system_get_classification_type (const rid_system_t *system) Get the classification type from a System message. |
| float | rid_system_get_operator_altitude (const rid_system_t *system) Get the operator altitude from a System message. |
| double | rid_system_get_operator_latitude (const rid_system_t *system) Get the operator latitude from a System message. |
| rid_operator_location_type_t | rid_system_get_operator_location_type (const rid_system_t *system) Get the operator location type from a System message. |
| double | rid_system_get_operator_longitude (const rid_system_t *system) Get the operator longitude from a System message. |
| uint32_t | rid_system_get_timestamp (const rid_system_t *system) Get the timestamp from a System message. |
| rid_ua_classification_category_t | rid_system_get_ua_classification_category (const rid_system_t *system) Get the UA classification category from a System message. |
| rid_ua_classification_class_t | rid_system_get_ua_classification_class (const rid_system_t *system) Get the UA classification class from a System message. |
| uint32_t | rid_system_get_unixtime (const rid_system_t *system) Get the timestamp as Unix timestamp. |
| int | rid_system_init (rid_system_t *system) Initialize a System message with default values. |
| int | rid_system_set_area_ceiling (rid_system_t *system, float altitude) Set the area ceiling for a System message. |
| int | rid_system_set_area_count (rid_system_t *system, uint16_t count) Set the area count for a System message. |
| int | rid_system_set_area_floor (rid_system_t *system, float altitude) Set the area floor for a System message. |
| int | rid_system_set_area_radius (rid_system_t *system, uint16_t meters) Set the area radius for a System message. |
| int | rid_system_set_classification_type (rid_system_t *system, rid_classification_type_t type) Set the classification type for a System message. |
| int | rid_system_set_operator_altitude (rid_system_t *system, float altitude) Set the operator altitude for a System message. |
| int | rid_system_set_operator_coordinates (rid_system_t *system, double latitude, double longitude) Set the operator latitude and longitude for a System message. |
| int | rid_system_set_operator_location_type (rid_system_t *system, rid_operator_location_type_t type) Set the operator location type for a System message. |
| int | rid_system_set_timestamp (rid_system_t *system, uint32_t timestamp) Set the timestamp for a System message. |
| int | rid_system_set_ua_classification_category (rid_system_t *system, rid_ua_classification_category_t category) Set the UA classification category for a System message. |
| int | rid_system_set_ua_classification_class (rid_system_t *system, rid_ua_classification_class_t class) Set the UA classification class for a System message. |
| int | rid_system_set_unixtime (rid_system_t *system, uint32_t unixtime) Set the timestamp for a System message from Unix timestamp. |
| int | rid_system_to_json (const rid_system_t *system, char *buffer, size_t buffer_size, size_t *needed_size) Format a System message as a JSON string. |
| int | rid_system_validate (const rid_system_t *system) Validate a System message structure. |
| const char * | rid_ua_classification_category_to_string (rid_ua_classification_category_t category) Convert UA classification category to string representation. |
| const char * | rid_ua_classification_class_to_string (rid_ua_classification_class_t class) Convert UA classification class to string representation. |
Macros
| Type | Name |
|---|---|
| define | RID_AREA_CEILING_INVALID -1000.0f Value indicating invalid area ceiling altitude. |
| define | RID_AREA_CEILING_INVALID_ENCODED 0 Encoded value for invalid area ceiling altitude. |
| define | RID_AREA_CEILING_MAX 31767.0f Maximum area ceiling altitude in meters. |
| define | RID_AREA_CEILING_MIN -1000.0f Minimum area ceiling altitude in meters. |
| define | RID_AREA_COUNT_MAX UINT16_MAX Maximum area count value. |
| define | RID_AREA_FLOOR_INVALID -1000.0f Value indicating invalid area floor altitude. |
| define | RID_AREA_FLOOR_INVALID_ENCODED 0 Encoded value for invalid area floor altitude. |
| define | RID_AREA_FLOOR_MAX 31767.0f Maximum area floor altitude in meters. |
| define | RID_AREA_FLOOR_MIN -1000.0f Minimum area floor altitude in meters. |
| define | RID_AREA_RADIUS_MAX 2550 Maximum area radius in meters. |
| define | RID_OPERATOR_ALTITUDE_INVALID -1000.0f Value indicating invalid operator altitude. |
| define | RID_OPERATOR_ALTITUDE_INVALID_ENCODED 0 Encoded value for invalid operator altitude. |
| define | RID_OPERATOR_LATITUDE_INVALID DBL_MAX Value indicating invalid operator latitude. |
| define | RID_OPERATOR_LONGITUDE_INVALID DBL_MAX Value indicating invalid operator longitude. |
| define | RID_SYSTEM_TIMESTAMP_EPOCH 1546300800 Timestamp epoch (2019-01-01 00:00:00 UTC as Unix timestamp). |
Structures and Types Documentation
enum rid_classification_type_t
Classification type per ASTM F3411-22a.
enum rid_classification_type_t {
RID_CLASSIFICATION_TYPE_UNDECLARED = 0,
RID_CLASSIFICATION_TYPE_EUROPEAN_UNION = 1,
RID_CLASSIFICATION_TYPE_MAX = 7
};
enum rid_operator_location_type_t
Operator location type per ASTM F3411-22a.
enum rid_operator_location_type_t {
RID_OPERATOR_LOCATION_TYPE_TAKEOFF = 0,
RID_OPERATOR_LOCATION_TYPE_DYNAMIC = 1,
RID_OPERATOR_LOCATION_TYPE_FIXED = 2,
RID_OPERATOR_LOCATION_TYPE_MAX = 3
};
struct rid_system_t
System message structure per ASTM F3411-22a.
Variables:
-
uint16_t area_ceiling
-
uint16_t area_count
-
uint16_t area_floor
-
uint8_t area_radius
-
uint8_t classification_type
-
uint8_t message_type
-
uint16_t operator_altitude
-
int32_t operator_latitude
-
uint8_t operator_location_type
-
int32_t operator_longitude
-
uint8_t protocol_version
-
uint8_t reserved_1
-
uint8_t reserved_2
-
uint32_t timestamp
-
uint8_t ua_classification_category
-
uint8_t ua_classification_class
enum rid_ua_classification_category_t
UA classification category per ASTM F3411-22a.
enum rid_ua_classification_category_t {
RID_UA_CLASSIFICATION_CATEGORY_UNDEFINED = 0,
RID_UA_CLASSIFICATION_CATEGORY_OPEN = 1,
RID_UA_CLASSIFICATION_CATEGORY_SPECIFIC = 2,
RID_UA_CLASSIFICATION_CATEGORY_CERTIFIED = 3,
RID_UA_CLASSIFICATION_CATEGORY_MAX = 15
};
enum rid_ua_classification_class_t
UA classification class per ASTM F3411-22a.
enum rid_ua_classification_class_t {
RID_UA_CLASSIFICATION_CLASS_UNDEFINED = 0,
RID_UA_CLASSIFICATION_CLASS_0 = 1,
RID_UA_CLASSIFICATION_CLASS_1 = 2,
RID_UA_CLASSIFICATION_CLASS_2 = 3,
RID_UA_CLASSIFICATION_CLASS_3 = 4,
RID_UA_CLASSIFICATION_CLASS_4 = 5,
RID_UA_CLASSIFICATION_CLASS_5 = 6,
RID_UA_CLASSIFICATION_CLASS_6 = 7,
RID_UA_CLASSIFICATION_CLASS_MAX = 15
};
Functions Documentation
function rid_classification_type_to_string
Convert classification type to string representation.
const char * rid_classification_type_to_string (
rid_classification_type_t type
)
Parameters:
typeThe classification type to convert.
Returns:
String representation of the classification type. Returns "UNKNOWN" for invalid values.
function rid_operator_location_type_to_string
Convert operator location type to string representation.
const char * rid_operator_location_type_to_string (
rid_operator_location_type_t type
)
Parameters:
typeThe operator location type to convert.
Returns:
String representation of the operator location type. Returns "UNKNOWN" for invalid values.
function rid_system_get_area_ceiling
Get the area ceiling from a System message.
float rid_system_get_area_ceiling (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The ceiling altitude in meters or RID_AREA_CEILING_INVALID when uknnown, including when system is NULL.
function rid_system_get_area_count
Get the area count from a System message.
uint16_t rid_system_get_area_count (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The number of aircraft in the area or 0 if system is NULL.
function rid_system_get_area_floor
Get the area floor from a System message.
float rid_system_get_area_floor (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The floor altitude in meters or RID_AREA_FLOOR_INVALID when unknown, including when system is NULL.
function rid_system_get_area_radius
Get the area radius from a System message.
uint16_t rid_system_get_area_radius (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The radius in meters or 0 if system is NULL.
function rid_system_get_classification_type
Get the classification type from a System message.
rid_classification_type_t rid_system_get_classification_type (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The classification type or RID_CLASSIFICATION_TYPE_UNDECLARED if system is NULL.
function rid_system_get_operator_altitude
Get the operator altitude from a System message.
float rid_system_get_operator_altitude (
const rid_system_t *system
)
Decodes altitude from encoded uint16_t value per ASTM F3411-22a.
Parameters:
systemPointer to the System message structure.
Returns:
Altitude in meters or RID_OPERATOR_ALTITUDE_INVALID when uknown, including when system is NULL.
function rid_system_get_operator_latitude
Get the operator latitude from a System message.
double rid_system_get_operator_latitude (
const rid_system_t *system
)
Decodes latitude from encoded int32_t value per ASTM F3411-22a.
Parameters:
systemPointer to the System message structure.
Returns:
Latitude in degrees or RID_OPERATOR_LATITUDE_INVALID if system is NULL or if both encoded latitude and longitude are 0.
function rid_system_get_operator_location_type
Get the operator location type from a System message.
rid_operator_location_type_t rid_system_get_operator_location_type (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The operator location type or RID_OPERATOR_LOCATION_TYPE_TAKEOFF if system is NULL.
function rid_system_get_operator_longitude
Get the operator longitude from a System message.
double rid_system_get_operator_longitude (
const rid_system_t *system
)
Decodes longitude from encoded int32_t value per ASTM F3411-22a.
Parameters:
systemPointer to the System message structure.
Returns:
Longitude in degrees or RID_OPERATOR_LONGITUDE_INVALID if system is NULL or if both encoded latitude and longitude are 0.
function rid_system_get_timestamp
Get the timestamp from a System message.
uint32_t rid_system_get_timestamp (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
Seconds since RID epoch (2019-01-01 00:00:00 UTC) or 0 if system is NULL.
function rid_system_get_ua_classification_category
Get the UA classification category from a System message.
rid_ua_classification_category_t rid_system_get_ua_classification_category (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The UA classification category or RID_UA_CLASSIFICATION_CATEGORY_UNDEFINED if system is NULL.
function rid_system_get_ua_classification_class
Get the UA classification class from a System message.
rid_ua_classification_class_t rid_system_get_ua_classification_class (
const rid_system_t *system
)
Parameters:
systemPointer to the System message structure.
Returns:
The UA classification class or RID_UA_CLASSIFICATION_CLASS_UNDEFINED if system is NULL.
function rid_system_get_unixtime
Get the timestamp as Unix timestamp.
uint32_t rid_system_get_unixtime (
const rid_system_t *system
)
Get RID timestamp as Unix timestamp.
Parameters:
systemPointer to the System message structure.
Returns:
Unix timestamp (seconds since 1970-01-01 00:00:00 UTC) or 0 if system is NULL.
function rid_system_init
Initialize a System message with default values.
int rid_system_init (
rid_system_t *system
)
Sets protocol version to 2 and message type to SYSTEM. All other fields are set to zero.
Parameters:
systemPointer to the System message structure.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_area_ceiling
Set the area ceiling for a System message.
int rid_system_set_area_ceiling (
rid_system_t *system,
float altitude
)
Parameters:
systemPointer to the System message structure.altitudeThe ceiling altitude in meters (-1000 to 31767). Use RID_AREA_CEILING_INVALID for invalid/unknown.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_OUT_OF_RANGEif altitude is outside valid range.
function rid_system_set_area_count
Set the area count for a System message.
int rid_system_set_area_count (
rid_system_t *system,
uint16_t count
)
Parameters:
systemPointer to the System message structure.countThe number of aircraft in the area.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_area_floor
Set the area floor for a System message.
int rid_system_set_area_floor (
rid_system_t *system,
float altitude
)
Parameters:
systemPointer to the System message structure.altitudeThe floor altitude in meters (-1000 to 31767). Use RID_AREA_FLOOR_INVALID for invalid/unknown.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_OUT_OF_RANGEif altitude is outside valid range.
function rid_system_set_area_radius
Set the area radius for a System message.
int rid_system_set_area_radius (
rid_system_t *system,
uint16_t meters
)
Parameters:
systemPointer to the System message structure.metersThe radius in meters (0 to 2550, 10m resolution).
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_OUT_OF_RANGEif meters exceeds 2550.
function rid_system_set_classification_type
Set the classification type for a System message.
int rid_system_set_classification_type (
rid_system_t *system,
rid_classification_type_t type
)
Parameters:
systemPointer to the System message structure.typeThe classification type to set.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_operator_altitude
Set the operator altitude for a System message.
int rid_system_set_operator_altitude (
rid_system_t *system,
float altitude
)
Encodes altitude in meters per ASTM F3411-22a ((value + 1000) / 0.5).
Parameters:
systemPointer to the System message structure.altitudeAltitude in meters (-1000.0 to 31767.0). Use RID_OPERATOR_ALTITUDE_INVALID for invalid/unknown.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_OUT_OF_RANGEif altitude is outside valid range.
function rid_system_set_operator_coordinates
Set the operator latitude and longitude for a System message.
int rid_system_set_operator_coordinates (
rid_system_t *system,
double latitude,
double longitude
)
Encodes both values per ASTM F3411-22a. Pass RID_OPERATOR_LATITUDE_INVALID and RID_OPERATOR_LONGITUDE_INVALID together to set the operator position as unknown. A mixed invalid and valid pair is rejected.
Parameters:
systemPointer to the System message structure.latitudeLatitude in degrees (-90.0 to +90.0) or RID_OPERATOR_LATITUDE_INVALID.longitudeLongitude in degrees (-180.0 to +180.0) or RID_OPERATOR_LONGITUDE_INVALID.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_INVALID_COMBINATIONif only one of latitude or longitude is invalid.RID_ERROR_INVALID_LATITUDEif latitude is outside the valid range.RID_ERROR_INVALID_LONGITUDEif longitude is outside the valid range.
function rid_system_set_operator_location_type
Set the operator location type for a System message.
int rid_system_set_operator_location_type (
rid_system_t *system,
rid_operator_location_type_t type
)
Parameters:
systemPointer to the System message structure.typeThe operator location type to set.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_timestamp
Set the timestamp for a System message.
int rid_system_set_timestamp (
rid_system_t *system,
uint32_t timestamp
)
Parameters:
systemPointer to the System message structure.timestampSeconds since RID epoch (2019-01-01 00:00:00 UTC).
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_ua_classification_category
Set the UA classification category for a System message.
int rid_system_set_ua_classification_category (
rid_system_t *system,
rid_ua_classification_category_t category
)
Parameters:
systemPointer to the System message structure.categoryThe UA classification category to set.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_set_ua_classification_class
Set the UA classification class for a System message.
int rid_system_set_ua_classification_class (
rid_system_t *system,
rid_ua_classification_class_t class
)
Parameters:
systemPointer to the System message structure.classThe UA classification class to set.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_OUT_OF_RANGEif classification_class exceeds RID_UA_CLASSIFICATION_CLASS_MAX.
function rid_system_set_unixtime
Set the timestamp for a System message from Unix timestamp.
int rid_system_set_unixtime (
rid_system_t *system,
uint32_t unixtime
)
Converts Unix timestamp to RID epoch and stores.
Parameters:
systemPointer to the System message structure.unixtimeUnix timestamp (seconds since 1970-01-01 00:00:00 UTC).
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERif system is NULL.
function rid_system_to_json
Format a System message as a JSON string.
int rid_system_to_json (
const rid_system_t *system,
char *buffer,
size_t buffer_size,
size_t *needed_size
)
Parameters:
systemPointer to the System message structure.bufferBuffer to store the JSON string or NULL.buffer_sizeSize of the buffer.needed_sizeIf non-NULL receives the required buffer size.
Return value:
RID_SUCCESSon success.RID_ERROR_NULL_POINTERifsystemis NULL or if bothbufferandneeded_sizeare NULL.RID_ERROR_BUFFER_TOO_SMALLifbufferis too small.
function rid_system_validate
Validate a System message structure.
int rid_system_validate (
const rid_system_t *system
)
Checks that all fields contain valid encoded values according to ASTM F3411-22a.
Parameters:
systemPointer to the System message structure to validate.
Return value:
RID_SUCCESSif all fields are valid.RID_ERROR_NULL_POINTERif system is NULL.RID_ERROR_INVALID_PROTOCOL_VERSIONif protocol version is invalid.RID_ERROR_UNKNOWN_MESSAGE_TYPEif message type is not SYSTEM.RID_ERROR_INVALID_LATITUDEif operator latitude is out of range.RID_ERROR_INVALID_LONGITUDEif operator longitude is out of range.
function rid_ua_classification_category_to_string
Convert UA classification category to string representation.
const char * rid_ua_classification_category_to_string (
rid_ua_classification_category_t category
)
Parameters:
categoryThe UA classification category to convert.
Returns:
String representation of the UA classification category. Returns "UNKNOWN" for invalid values.
function rid_ua_classification_class_to_string
Convert UA classification class to string representation.
const char * rid_ua_classification_class_to_string (
rid_ua_classification_class_t class
)
Parameters:
classThe UA classification class to convert.
Returns:
String representation of the UA classification class. Returns "UNKNOWN" for invalid values.
Macros Documentation
define RID_AREA_CEILING_INVALID
Value indicating invalid area ceiling altitude.
#define RID_AREA_CEILING_INVALID -1000.0f
define RID_AREA_CEILING_INVALID_ENCODED
Encoded value for invalid area ceiling altitude.
#define RID_AREA_CEILING_INVALID_ENCODED 0
define RID_AREA_CEILING_MAX
Maximum area ceiling altitude in meters.
#define RID_AREA_CEILING_MAX 31767.0f
define RID_AREA_CEILING_MIN
Minimum area ceiling altitude in meters.
#define RID_AREA_CEILING_MIN -1000.0f
define RID_AREA_COUNT_MAX
Maximum area count value.
#define RID_AREA_COUNT_MAX UINT16_MAX
define RID_AREA_FLOOR_INVALID
Value indicating invalid area floor altitude.
#define RID_AREA_FLOOR_INVALID -1000.0f
define RID_AREA_FLOOR_INVALID_ENCODED
Encoded value for invalid area floor altitude.
#define RID_AREA_FLOOR_INVALID_ENCODED 0
define RID_AREA_FLOOR_MAX
Maximum area floor altitude in meters.
#define RID_AREA_FLOOR_MAX 31767.0f
define RID_AREA_FLOOR_MIN
Minimum area floor altitude in meters.
#define RID_AREA_FLOOR_MIN -1000.0f
define RID_AREA_RADIUS_MAX
Maximum area radius in meters.
#define RID_AREA_RADIUS_MAX 2550
define RID_OPERATOR_ALTITUDE_INVALID
Value indicating invalid operator altitude.
#define RID_OPERATOR_ALTITUDE_INVALID -1000.0f
define RID_OPERATOR_ALTITUDE_INVALID_ENCODED
Encoded value for invalid operator altitude.
#define RID_OPERATOR_ALTITUDE_INVALID_ENCODED 0
define RID_OPERATOR_LATITUDE_INVALID
Value indicating invalid operator latitude.
#define RID_OPERATOR_LATITUDE_INVALID DBL_MAX
define RID_OPERATOR_LONGITUDE_INVALID
Value indicating invalid operator longitude.
#define RID_OPERATOR_LONGITUDE_INVALID DBL_MAX
define RID_SYSTEM_TIMESTAMP_EPOCH
Timestamp epoch (2019-01-01 00:00:00 UTC as Unix timestamp).
#define RID_SYSTEM_TIMESTAMP_EPOCH 1546300800