From 109b5713775b38a319030aa1ad33cd31d0eb8a54 Mon Sep 17 00:00:00 2001 From: srichs <13246896+srichs@users.noreply.github.com> Date: Fri, 3 Sep 2021 23:15:20 -0600 Subject: [PATCH] Added Plus Codes and OS Grid Reference Added GPS coordinate format options for Google's Open Location Codes and the United Kingdom's Ordnance Survey Grid Reference System. --- radioconfig.proto | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/radioconfig.proto b/radioconfig.proto index 5b696a2d7e..ffc45fa70c 100644 --- a/radioconfig.proto +++ b/radioconfig.proto @@ -143,7 +143,17 @@ enum GpsCoordinateFormat { */ GpsFormatMGRS = 3; - // GpsFormatOLC = 4; // Plus Codes, maybe one day? + /* + * GPS coordinates are displayed in Open Location Code (aka Plus Codes). + */ + GpsFormatOLC = 4; + + /* + * GPS coordinates are displayed in Ordnance Survey Grid Reference (the National Grid System of the UK). + * Format: AB EEEEE NNNNN, where A is the east 100k square, B is the north 100k square, E is the easting, + * N is the northing + */ + GpsFormatOSGR = 5; } /*