From ba0313ca7861a9f36b65ea57fdf9a3d133e6f335 Mon Sep 17 00:00:00 2001 From: wb2osz Date: Mon, 11 Sep 2023 00:08:58 +0100 Subject: [PATCH] Add FTM-500D to recognized device identifers. --- src/decode_aprs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/decode_aprs.c b/src/decode_aprs.c index 1d3ec1d..d96274b 100644 --- a/src/decode_aprs.c +++ b/src/decode_aprs.c @@ -1674,6 +1674,7 @@ static void aprs_mic_e (decode_aprs_t *A, packet_t pp, unsigned char *info, int else if (*pfirst == '`' && *(plast-1) == '_' && *plast == '0') { strlcpy (A->g_mfr, "Yaesu FT3D", sizeof(A->g_mfr)); pfirst++; plast-=2; } else if (*pfirst == '`' && *(plast-1) == '_' && *plast == '3') { strlcpy (A->g_mfr, "Yaesu FT5D", sizeof(A->g_mfr)); pfirst++; plast-=2; } else if (*pfirst == '`' && *(plast-1) == '_' && *plast == '1') { strlcpy (A->g_mfr, "Yaesu FTM-300D", sizeof(A->g_mfr)); pfirst++; plast-=2; } + else if (*pfirst == '`' && *(plast-1) == '_' && *plast == '5') { strlcpy (A->g_mfr, "Yaesu FTM-500D", sizeof(A->g_mfr)); pfirst++; plast-=2; } else if (*pfirst == '`' && *(plast-1) == ' ' && *plast == 'X') { strlcpy (A->g_mfr, "AP510", sizeof(A->g_mfr)); pfirst++; plast-=2; } @@ -1799,7 +1800,8 @@ static void aprs_mic_e (decode_aprs_t *A, packet_t pp, unsigned char *info, int * :xxxxxxxxx: ... {mm}aa Message with new style message number and ack. * * - * Reference: See new message id style: http://www.aprs.org/aprs11/replyacks.txt + * Reference: http://www.aprs.org/txt/messages101.txt + * http://www.aprs.org/aprs11/replyacks.txt <-- New (1999) adding ack to outgoing message. * *------------------------------------------------------------------*/