moshe-braner / Open-Glider-Network-Groundstation

Open Glider Network Receiver based on TTGO T-Beam ESP32 hardware.
https://ros-it.ch/open-glider-network-base-station/
GNU General Public License v3.0
7 stars 4 forks source link

APRS not letting some packets through #7

Closed moshe-braner closed 1 year ago

moshe-braner commented 2 years ago

I never see the "status" packets, e.g.: KBTV>OGNSDR,TCPIP,qAC,GLIDERN1:>171759h vMB08q-ESP32-OGNbase 4.2V 0/min 0/0Acfts[1h] 6sat 20_m_uptime show up on APRS, and only the station position packets with "GLIDERN0" (the initial default), e.g.: K2B9>OGFLR,TCPIP,qAC,GLIDERN0:/171804h4352.80NI07215.00W&/A=000692 show up, while the later ones with GLIDERN1 etc do not. Until that is explained, made OGNbase always use "GLIDERN0" even though that is incorrect data.

moshe-braner commented 2 years ago

Thought it must be a bug in my code. E.g., an invisible illegal char after the "GLIDERN2" as copied from the incoming APRS message. Changed the code to avoid that possibility: only the "2" copied over the "0". Still, outgoing GLIDERN0 gets through APRS, GLIDERN2 does not. A mystery.

moshe-braner commented 1 year ago

The underlying reason turned out to be that OGNbase was logging into APRS using the chip ID as the username. It seems that APRS considered the chip ID to be an intermediary, and refused to forward it yet again. Now that I've changed it to use the station name as the username, it works as it should.