Commit graph

15 commits

Author SHA1 Message Date
Chris Smith ac181cff5f Adding fix for the negative altitude problem. Only tested in positive
altitudes, but doesn't seem to break anything else, and probably works.
2022-04-06 22:06:54 -05:00
Chris Smith 299cea7aff Fixed problem where course/speed may not have been added in every case where it was available. 2021-04-10 01:11:28 -05:00
Chris Smith 66f2a95580 Fixed process by which the comment is assembled to be functionally identical, but more sensible. 2021-04-08 19:43:25 -05:00
Chris Smith 7d0531eb26 Some changes to the way missed APRS packets are handled. 2021-04-08 15:23:50 -05:00
Chris Smith 4748d06de7 Fixed bug from issue #3, where old updates would get re-published due to a bad condition on an if statement. Also fixed design flaw where None was sometimes returned from getEvents(), causing trouble in the event-handling loop. There is now always a list of events; it should just be empty in every case where we don't find current data. 2021-04-06 20:39:11 -05:00
Chris Smith 8673dcd574 Fixed(?) problem with tracking of last forwarded update. 2021-04-06 14:27:53 -05:00
Chris Smith 5b91974c23 Fixed up configuration handling a bit. os.path now used to build pathnames, also added an attempt to load the configuration file from the same directory as the script, between current directory and /etc. Also added message about which configuration file is used during startup. 2021-04-03 16:02:46 -05:00
Chris Smith 064f144955
Fixed comment/SMS duplication bug. 2021-04-02 21:22:21 -05:00
Christopher Smith 388fd9401f Signal handling added, --genpass option added for calculating passcodes, other cleanup. 2021-04-02 00:23:11 -05:00
Christopher Smith a77161399d Cleaned up some chattiness in output. 2021-04-01 04:25:09 -05:00
Christopher Smith 964efba308 Most all of the code refactored to be less ridiculous. Sending of APRS position reports is now decoupled from fetching position updates. Main loop nearly simplified into obvlivion. getEvents() function added to get a list of all new events. sendAPRS now works on an individual event in the list. Most of the large try blocks eleminated in favor of less absurd things. Some other minor changes too. 2021-04-01 00:20:25 -05:00
Christopher Smith 9a67fc084a Fixed gate in APRS packets to always use the SSID configured in the [APRS] section of the config. Fixed failure case for loading default configuration to exit after complaining. 2021-03-29 15:27:50 -05:00
Christopher Smith 3f0600e2be Untested support for multiple devices added. Single device should still be working ok. 2021-03-29 02:55:29 -05:00
Christopher Smith 90103e9c3a Added support for HTTP authentication to inReach service, and support for device SMS in APRS comments. 2021-03-26 19:47:53 -05:00
Christopher Smith d0dce8d84d Initial commit. Error handling is still a bit of a mess. 2021-03-25 23:03:37 -05:00