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:
Arjan Onwezen 2022-03-26 07:05:13 -04:00
parent 68d40ebce8
commit be0427889f
9 changed files with 403 additions and 2 deletions

View file

@ -131,11 +131,11 @@ private:
AISRecentEntry entry_ { };
Button button_done {
{ 125, 216, 96, 24 },
{ 125, 224, 96, 24 },
"Done"
};
Button button_see_map {
{ 19, 216, 96, 24 },
{ 19, 224, 96, 24 },
"See on map"
};
GeoMapView* geomap_view { nullptr };
@ -169,6 +169,7 @@ private:
static constexpr uint32_t initial_target_frequency = 162025000;
static constexpr uint32_t sampling_rate = 2457600;
static constexpr uint32_t baseband_bandwidth = 1750000;
NavigationView& nav_;
AISRecentEntries recent { };