Add FT-5D GPS support for the DGIdGateway.

This commit is contained in:
Jonathan Naylor 2021-09-22 21:57:38 +01:00
parent 04d4c91f7c
commit c848b32cce
4 changed files with 9 additions and 3 deletions

View file

@ -158,12 +158,15 @@ void CAPRSWriter::write(const unsigned char* source, const char* type, unsigned
case 0x24U:
case 0x28U:
case 0x30U:
case 0x33U:
symbol = '[';
break;
case 0x25U:
case 0x29U:
case 0x31U:
symbol = '>';
break;
case 0x20U:
case 0x26U:
symbol = 'r';
break;

View file

@ -270,6 +270,9 @@ void CGPS::transmitGPS(const unsigned char* source)
case 0x30U:
::strcpy(radio, "FT-3D");
break;
case 0x33U:
::strcpy(radio, "FT-5D");
break;
default:
::sprintf(radio, "0x%02X", m_buffer[4U]);
break;

View file

@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20210228";
const char* VERSION = "20210922";
#endif

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2015-2020 by Jonathan Naylor G4KLX
* Copyright (C) 2015-2021 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20201108";
const char* VERSION = "20210922";
#endif