rt-bishop / Look4Sat

Open-source satellite tracker and pass predictor for Android, inspired by Gpredict
https://play.google.com/store/apps/details?id=com.rtbishop.look4sat
GNU General Public License v3.0
612 stars 58 forks source link

Bluetooth added - but needs improvement #87

Closed ajohns1288 closed 2 years ago

ajohns1288 commented 2 years ago

I was able to hack together bluetooth and get it to send, however I know the permissions and all that won't work for most people. It's working perfectly for my use case, hopefully this would be a good starting point.

Drawbacks: Must manually add bluetooth permissions in android settings Must manually type in bluetooth device address Output az/el always 3 digits (001...009, 010...099)

Format String $AZ for azimuth, $EL for elevation, /r, /t, /n escape sequences supported. Example: Sat is at 180az, 60el - W$AZ $EL\r will transmit W180 060 followed by a carriage return

rt-bishop commented 2 years ago

This is epic @ajohns1288, great job! Simple and clean integration. I'll merge it now but release later on with the next version. Will add several minor fixes as well when I manage to find some free time. Thanks for that!