#1 2015-01-08 23:12:43

Stefan
Member
From: Switzerland
Registered: 2014-12-01
Posts: 8
Website

First tests with sending data

Hi Mark,

Today I have tried to implement a small APRS tracker sketch. It was working fine but after I updated to the latest LibAPRS the APRS packets were not accepted anymore by APRX and also by my Yaesu VX-8G.

I looked into the history of LibAPRS and found that AX25.h had been changed to use 7 byte calls. Maybe I am wrong, but I think the 6 bytes is the correct length. Anyway, after I reverted the call length from 7 byte to 6 byte my packets got decoded again :-) That's what I did to your code in AX25.h:

typedef struct AX25Call {
    char call[6];
    uint8_t ssid;
} AX25Call;


Maybe I found a bug or I used the LibAPRS wrong. If you want to have a look at my code, you can find it on GitHub: https://github.com/hb9tws/AprsTracker.git. Was there a specific reason for your change?

Offline

#2 2015-01-09 08:17:37

Stefan
Member
From: Switzerland
Registered: 2014-12-01
Posts: 8
Website

Re: First tests with sending data

I forgot, Source code is on GitHub: https://github.com/hb9tws/AprsTracker.git and here is a pic from my test setup that I am using for programming. It works with a Dorji 818V Transceiver module and a GPS reveiver Navilock NL-552ETTL. I "splittet" the serial port: the GPS Feeds into the RX pin whereas the TX is used for debugging outputs. I hope this will not do any harm to the Micromodems FTDI chip ...

APRS Tracker prototype

Offline

#3 2015-01-09 10:57:57

markqvist
Administrator
Registered: 2014-12-01
Posts: 112

Re: First tests with sending data

Hi Stefan! Thanks, that is actually a bug. But it was introduced because I deliberately changed the length in the struct to 7 bytes to include a null-termination for the Arduino "print" functions to work, and then I apparently forgot to change the sending functions to account for that! Thanks, will fix!

Offline

#4 2015-02-09 11:39:38

DJ7OO
Member
From: Mainz Germany
Registered: 2014-12-02
Posts: 24
Website

Re: First tests with sending data

Hi,
meanwhile i did try some extensions to Stefan's program.
In case of interest see: http://www.radio.cc/post/aprs-tracker

73 de Klaus, DJ7OO

Offline

Board footer

Powered by FluxBB