kf7eel / hbnet

HBNet is a fork of HBlink that includes a web GUI, APRS, SMS decoding, and other features.
https://hbnet.xyz
GNU General Public License v3.0
46 stars 23 forks source link

aprs_features not work fine. #12

Closed iu7igu closed 3 years ago

iu7igu commented 3 years ago

Last update of aprs_features not send aprs data of repeater and hotspots to server because had a bug in string:

if self._config['APRS_ENABLED'] in hblink.py

I would like to suggest to update my aprs section in your works with my ultimate release because first version generate mooooore packet on aprs server.

Thanks for your time spent on this project. If you need an hand i would helps you.

73s de IU7IGU

kf7eel commented 3 years ago

Sure. I haven't had time to apply your update to hblink.py. If you wouldn't mind submitting a pull request, I would love to get your work in the commit history again. I wasn't able to preserve your history when combining everything for the aprs_features branch.

kf7eel commented 3 years ago

Added your fix, then inserted an if statement to check if APRS_ENABLED is true in each MASTER config. This will only allow a position if APRS_ENABLED = True is in the MASTER config.