1
0
Fork 0

Add FT-5D GPS support for the DGIdGateway.

master
Jonathan Naylor 3 years ago
parent 04d4c91f7c
commit c848b32cce

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

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

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

@ -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 * 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 * it under the terms of the GNU General Public License as published by
@ -19,6 +19,6 @@
#if !defined(VERSION_H) #if !defined(VERSION_H)
#define VERSION_H #define VERSION_H
const char* VERSION = "20201108"; const char* VERSION = "20210922";
#endif #endif

Loading…
Cancel
Save