kopia lustrzana https://github.com/glidernet/python-ogn-client
Fixed #72
rodzic
858b0af032
commit
e0f363be91
|
@ -1,4 +1,7 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
## unreleased
|
||||||
|
- parser: Added support for OGPAW (PilotAware) beacons
|
||||||
|
|
||||||
## 0.9.6: - 2020-01-17
|
## 0.9.6: - 2020-01-17
|
||||||
- parser: Better support for OGFLR beacons from PilotAware
|
- parser: Better support for OGFLR beacons from PilotAware
|
||||||
- client: Allow dynamic settings override with optional "settings" parameter
|
- client: Allow dynamic settings override with optional "settings" parameter
|
||||||
|
|
|
@ -107,6 +107,7 @@ dstcall_parser_mapping = {'APRS': OgnParser(),
|
||||||
'OGINREACH': InreachParser(),
|
'OGINREACH': InreachParser(),
|
||||||
'OGLT24': LT24Parser(),
|
'OGLT24': LT24Parser(),
|
||||||
'OGNAVI': NaviterParser(),
|
'OGNAVI': NaviterParser(),
|
||||||
|
'OGPAW': GenericParser(beacon_type='pilot_aware'),
|
||||||
'OGSKYL': SkylinesParser(),
|
'OGSKYL': SkylinesParser(),
|
||||||
'OGSPID': SpiderParser(),
|
'OGSPID': SpiderParser(),
|
||||||
'OGSPOT': SpotParser(),
|
'OGSPOT': SpotParser(),
|
||||||
|
|
|
@ -54,6 +54,9 @@ class TestStringMethods(unittest.TestCase):
|
||||||
def test_naviter_beacons(self):
|
def test_naviter_beacons(self):
|
||||||
self.parse_valid_beacon_data_file(filename='naviter.txt', beacon_type='naviter')
|
self.parse_valid_beacon_data_file(filename='naviter.txt', beacon_type='naviter')
|
||||||
|
|
||||||
|
def test_pilot_aware_beacons(self):
|
||||||
|
self.parse_valid_beacon_data_file(filename='pilot_aware.txt', beacon_type='pilot_aware')
|
||||||
|
|
||||||
def test_skylines_beacons(self):
|
def test_skylines_beacons(self):
|
||||||
self.parse_valid_beacon_data_file(filename='skylines.txt', beacon_type='skylines')
|
self.parse_valid_beacon_data_file(filename='skylines.txt', beacon_type='skylines')
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
# The following beacons are example for PilotAware's APRS format version OGPAW-1
|
||||||
|
# source: https://github.com/glidernet/ogn-aprs-protocol
|
||||||
|
#
|
||||||
|
ICA404EC3>OGPAW,qAS,UKWOG:/104337h5211.24N\00032.65W^124/081/A=004026 !W62! id21404EC3 12.5dB +2.2kHz
|
||||||
|
ICA404EC3>OGPAW,qAS,UKWOG:/104341h5211.18N\00032.53W^131/081/A=004010 !W85! id21404EC3 9.2dB +2.2kHz +10.0dBm
|
Ładowanie…
Reference in New Issue