SQ9MDD / TTGO-T-Beam-LoRa-APRS

Use TTGO T-Beam as LoRa APRS Tracker
64 stars 23 forks source link

Smart Beaconing - high packet rate when walking #104

Open rob-uk-hub opened 1 year ago

rob-uk-hub commented 1 year ago

I believe there is an issue with the Smart Beaconing logic.

When travelling in a straight line it seems fine, but when walking slowly, and often stopping or doubling back (when the dog hides :-) ) aprs.fi reports a lot of [Rate limited (< 5 sec)] warnings, the packets are ~2 seconds apart.

My config has a minimal interval of 30 seconds, so I was not expecting this, but my understanding of smart beaconing may be incorrect.

Looking at the code if the course bearing changes more than the threshold then the next beacon interval is set to 1 second (nextTX = 1), should this be nextTX = sb_min_interval to prevent frequent packets?