2015-04-12 17:24:50 +00:00
|
|
|
/**
|
|
|
|
* Autogenerated country structures. See sim/geofence
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GEOFENCE_COUNTRIES_H
|
|
|
|
#define GEOFENCE_COUNTRIES_H
|
|
|
|
|
|
|
|
|
2015-04-12 20:13:53 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
2015-04-12 17:24:50 +00:00
|
|
|
#include "samd20.h"
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* struct representing all we need to know about a country
|
|
|
|
*/
|
|
|
|
struct country_t {
|
2015-05-12 20:38:16 +00:00
|
|
|
const int32_t** outlines;
|
2015-06-07 21:24:20 +00:00
|
|
|
const int32_t outline_count;
|
2015-05-12 20:38:16 +00:00
|
|
|
const uint32_t* outline_lengths;
|
2015-04-12 20:13:53 +00:00
|
|
|
char* name;
|
|
|
|
char* isocode;
|
2015-04-12 17:24:50 +00:00
|
|
|
bool data_tx, aprs_tx;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2015-05-12 20:38:16 +00:00
|
|
|
const struct country_t countries[233];
|
2015-04-12 17:24:50 +00:00
|
|
|
|
|
|
|
#endif /* GEOFENCE_COUNTRIES_H */
|