Commit Graph

104 Commits

Author SHA1 Message Date
Bryce Salmi e890fe8e3a Update return statement
Much more simple method of only having data in body be joined by commas
and tacking that onto a packet type indicator to avoid having to remove a
comma later. This was suggested in comments on #27.
2017-03-12 23:54:46 -07:00
Bryce Salmi aa3b1bb165 Updated telemetry value methodology
Per @rossengeorgiev comments on #27 I now use a dictionary with lists to
hold telemetry similar to how aprslib holds telemetry when parsed from
comments.
2017-03-12 23:49:20 -07:00
Bryce Salmi 5bc2eda3b4 Revert "Merge branch 'faradayrfcustombitprojectname' into faradayrfcustom"
This reverts commit 798b2efbe3, reversing
changes made to 9853c1d2af.
2017-03-12 23:29:54 -07:00
Bryce Salmi 798b2efbe3 Merge branch 'faradayrfcustombitprojectname' into faradayrfcustom 2017-03-12 23:27:31 -07:00
Bryce Salmi 9853c1d2af Merge branch 'master' into faradayrfcustom
Pulling in updates from upstream/master that check position coordinates.
2017-03-12 22:20:59 -07:00
Rossen Georgiev 7d5dafa649 PositionReport: validate lat and long
added input validation for latitude and longitude
2017-03-12 12:33:13 +02:00
Bryce Salmi 5e7701144f Added TelemetrySenseProjectReport
This function sends out only digital IO status telemetry as well as a
project name that effectively describes what the APRS station is meant to
do.
2017-03-11 22:15:05 -08:00
Bryce Salmi f992ccfb84 Changed test scaling a1b to 1.0 2017-03-11 22:00:28 -08:00
Bryce Salmi 8f0f72b5f8 Added APRS equations packet support
TelemetryEquationsReport will generate a string of equation parameters to
scale telemetry data to.
2017-03-11 21:42:02 -08:00
Bryce Salmi c6b87a14f5 Added telemetryparameters class to generate parameter string 2017-03-11 21:09:06 -08:00
Bryce Salmi f53d244ca2 Removed unused comment and added comments
Commented that the comma search at the end is due to the comma being able
to change index due to a varying callsign length for the telemetry
callsign. Also removed an unused comment variable. This code does NOT
check for valid length of input data.
2017-03-11 11:12:07 -08:00
Bryce Salmi 7e4da837ad Initial commit with telemetry unit label support
Committing initial code that supports the generation of an APRS unit/label
string. This was testing by sending telemetry labels to APRS-IS and
checked on aprs.fi. Not cleaned up yet.
2017-03-11 10:49:55 -08:00
kb1lqc fa63671ae9 Created custom telemetry packet report
Modeled off of the PositionReport class, I created a TelemetryReport and
used similar serialization to create a working packet that was uploaded to
aprs.fi for testing.
2017-03-10 01:14:22 -08:00
Rossen Georgiev f6a952a109 bump to v0.6.46 2017-01-28 23:24:20 +02:00
Rossen Georgiev 8a3a677c07 fix parsing of message ACK/REJ; #23 2017-01-28 23:22:21 +02:00
Rossen Georgiev 5563a6d8c7 refactor total_seconds() for py2.6 comp 2016-08-16 22:28:00 +01:00
Rossen Georgiev 566446bfd7 fix skip_login check being reversed 2016-08-16 22:22:24 +01:00
Rossen Georgiev 2d0560ce16 bump to v0.6.45 2016-08-16 22:08:50 +01:00
Rossen Georgiev 0964d83097 added parameter 'skip_login', #19
doesn't attempt to login, useful when using software such as xastir
2016-08-16 22:07:32 +01:00
Rossen Georgiev 9e6c292422 fix incorrect caputation of timestamp in some cases 2016-08-16 21:50:21 +01:00
Rossen Georgiev 8abcc85761 fix aprs.inet.IS logger name 2016-03-17 21:42:41 +00:00
Rossen Georgiev 202dc8fa0e fix value error when parsing course & speed 2016-03-17 21:22:55 +00:00
Rossen Georgiev 0ea9f1dede fix undefined packet reference in parsing.position 2016-03-17 20:54:49 +00:00
Rossen Georgiev 20e35f018c fix setup.py not including subpackages 2016-03-04 09:34:29 +00:00
Rossen Georgiev 2724d6682a fix fail to parse telem config with end whitespace 2016-03-04 07:42:07 +00:00
Rossen Georgiev 44dd7da2ed added tests for parsing.common #15 2016-01-27 13:55:10 +00:00
Rossen Georgiev 68190860b7 removed _ prefix from most parse functions 2016-01-27 07:47:53 +00:00
Rossen Georgiev a27c6f3ffe made sendall accept APRSPacket instances 2016-01-26 17:44:11 +00:00
Rossen Georgiev 3a83822674 tiny reorganization in parsing.weather 2016-01-25 11:57:40 +00:00
Rossen Georgiev 50335ddf40 packet or dict can be loaded into packet objects 2016-01-24 11:56:23 +00:00
Rossen Georgiev a04cb87a75 added PositionReport object 2016-01-24 06:42:39 +00:00
Rossen Georgiev 633ad2ea84 added DAO parsing, fix #14 2016-01-23 07:17:34 +00:00
Rossen Georgiev 4b6ee9f27d clean up unused variables #13 2016-01-21 05:52:19 +00:00
Rossen Georgiev 88a15770ff added invalid & user-defined parsing 2016-01-21 05:00:41 +00:00
Rossen Georgiev 25dc1c0577 split parsing module into submodules 2016-01-21 04:38:57 +00:00
Rossen Georgiev 8dce8866f0 use absolute imports 2016-01-21 02:18:00 +00:00
Rossen Georgiev 17d06ac5f8 turned parsing module to a package 2016-01-21 00:00:56 +00:00
Rossen Georgiev 5ea606ef1a renamed IS module to inet 2016-01-20 06:38:41 +00:00
Rossen Georgiev 7c87cd7eb7 more refactor to base91.from_decimal 2016-01-20 04:53:04 +00:00
Rossen Georgiev 1bdf8f21ae update CHANGES and verison number 2016-01-19 22:26:57 +00:00
Rossen Georgiev 87f0bfd1bf fix #12, fixed rounding error, code refactor 2016-01-19 22:22:09 +00:00
Rossen Georgiev ba395385a0 fix #11, EUC-TW encoding exception 2016-01-19 07:20:01 +00:00
Rossen Georgiev dc66940fb8 added parsing of positionless wx reports + tests 2016-01-09 14:53:31 +00:00
Rossen Georgiev e06fadaecc put remaining text in 'comment' for wx prase 2016-01-07 15:37:36 +00:00
Rossen Georgiev 67b37ca8a1 refactored wx parsing 2016-01-07 15:23:49 +00:00
John Ronan fc835ea851 Initial attempt at parsing weather data 2016-01-07 09:19:26 +00:00
Rossen Georgiev d57a6ddfdb v0.6.41; fix #8 getpeername() ipv6 exception 2015-12-10 01:15:59 +00:00
Rossen Georgiev 9f3a2131cf bump to v0.6.40 2015-08-10 15:24:52 +01:00
Rossen Georgiev 8605f74d27 removed linux specific socket keepalive settings
fix #6
2015-08-10 13:08:12 +01:00
Rossen Georgiev 18be87d460 IS: added connection related logger lines 2015-08-10 13:06:32 +01:00