lora-aprs/LoRa_APRS_Tracker

Switch to alternative beacon message with middle button long press

tekk opened this issue · 3 comments

tekk commented

Hi,
I would love to have the ability to switch to an alternative message (and icon) when holding the middle button.
For example, I'm on a SOTA activation and when returning back I want another beacon message.
Or to switch between pedestrian and car, etc...
Since we have OneButton already included we could use attachLongPressStop to trigger between messages.
We could also have an array of messages (and icons) in the json config file and you would simply select the right message that currently suits your preference by holding the middle button.
Does this make any sense?
Waiting for your replies.
BTW I'm willing to help with the code.

dl6nm commented

I agree with you @tekk.

As a user I'd like to have an option for choosing another callsign/SSID, symbol/overlay and message. Maybe this could be definable in a profiles array or object in the tracker.json or one tracker_{SSID}.json for each profile.

tekk commented

I have implemented required changes in #47
Please review and let me know.
Demo: https://www.youtube.com/watch?v=23KlULfnaD0&ab_channel=tekkoooo
73 OM7TEK

implemented in #47