Wykres commitów

10 Commity (ba7ae37ef273aa5840719b31e4bca0c16d99eadd)

Autor SHA1 Wiadomość Data
Fabian P. Schmidt d69476158b ogn.gateway: Remove implicit sqlalchemy dependency
The callback gets the beacon data by a python dict instead of a sqlalchemy class
2016-02-18 22:49:56 +01:00
Fabian P. Schmidt 2012310ad2 Rename module ogn.exceptions to ogn.parser.exceptions 2016-02-18 16:01:06 +01:00
Fabian P. Schmidt 37ab7991f3 Move function 'create_aprs_login' to ogn.gateway 2016-02-18 15:42:21 +01:00
Fabian P. Schmidt e22e6a619e gateway: Add logging of dropped packets 2016-01-29 03:44:21 +01:00
Fabian P. Schmidt 4baeb83516 Cleanup 2016-01-06 00:23:45 +01:00
Fabian P. Schmidt 757e9143a8 aprs_utils: Raise AmbigousTimeError for outdated packets
The aprs string only contains time information, no date.
Manual date correction is applied +-one hour around midnight.
Thus, packets older than one hour are dropped.
2015-12-10 17:44:13 +01:00
Fabian P. Schmidt ff02699f7c gateway: Use the correct aprs port.
For client-defined filters, use port 14580;
for full-feed, use port 10152.
2015-11-30 15:26:20 +01:00
Fabian P. Schmidt 81fccc154e gateway: Add callback 'process_beacon'
This change enables us to define a custom callback which is
called when the gateway receives a packet
(e.g. save the incoming beacon in a database and generate
some statistics/aggregate data).
2015-11-30 15:11:10 +01:00
Fabian P. Schmidt 851559aced Logging: Enable custom logfile location. 2015-11-30 15:03:38 +01:00
Fabian P. Schmidt 6af31fe7a7 Move ogn client (gateway) to a separate file.
The documentation[1] says:
> In the simplest case, __init__.py can just be an empty file,
> but it can also execute initialization code for the package or
> set the __all__ variable, described later.

A class like 'ognGateway' can't be considered 'initialization code'.

[1]: https://docs.python.org/3/tutorial/modules.html#packages
2015-11-29 21:59:34 +01:00