mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
Added country to AIS app, so you know from which country a vessel is.
It's using the MID database, which is also part of the PR. mids.db should be placed in /AIS folder on SD card.
This commit is contained in:
parent
68d40ebce8
commit
be0427889f
9 changed files with 403 additions and 2 deletions
|
@ -44,6 +44,12 @@ public:
|
|||
#define DATABASE_NOT_FOUND -1 // database not found / could not be opened
|
||||
#define DATABASE_RECORD_NOT_FOUND -2 // record could not be found in database
|
||||
|
||||
struct MidDBRecord {
|
||||
char country[32]; // country name
|
||||
};
|
||||
|
||||
int retrieve_mid_record(MidDBRecord* record, std::string search_term);
|
||||
|
||||
struct AirlinesDBRecord {
|
||||
char airline[32]; // airline name
|
||||
char country[32]; // country name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue