cyclops1982 / RAKTracker

Example code that get's a distance measure and sends it via lora. First implementation. Very basic.
0 stars 0 forks source link

Change `BlinkHalt()` #15

Closed cyclops1982 closed 4 weeks ago

cyclops1982 commented 2 months ago

BlinkHalt() does an SOS pattern. It always does that, meaning it has no context of /what/ went wrong.

We should change this to a number of blinks and then a second delay. The number of blinks should be an argument.

This allows us to report error codes via the number of blinks. In between the blinks we put a full second delay.

This helps remote troubleshooting. Can ask the person to count the blinks and report that.

cyclops1982 commented 4 weeks ago

Blinkhalt options:

2 = Initialization of config failed 3 = GPS Initialization failed 4 = powersave failed