kopia lustrzana https://github.com/glidernet/python-ogn-client
Updated readme and changelog
rodzic
0621307952
commit
3e7ec2d917
|
@ -1,6 +1,10 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
# 1.2.0: - 2021-06-01
|
## unreleased
|
||||||
|
- client: Added peer IP to log messages
|
||||||
|
- parser: Added rainfall_1h and rainfall_24h to beacon_type 'position_weather'
|
||||||
|
|
||||||
|
## 1.2.0: - 2021-06-01
|
||||||
- parser: Added support for OGNSKY (safesky) beacons
|
- parser: Added support for OGNSKY (safesky) beacons
|
||||||
- client: Replace bad characters with <20> instead of raising an exception (restore old behaviour with parameter ignore_decoding_error=False)
|
- client: Replace bad characters with <20> instead of raising an exception (restore old behaviour with parameter ignore_decoding_error=False)
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,8 @@ def process_beacon(raw_message):
|
||||||
print('Received {aprs_type}: {raw_message}'.format(**beacon))
|
print('Received {aprs_type}: {raw_message}'.format(**beacon))
|
||||||
except ParseError as e:
|
except ParseError as e:
|
||||||
print('Error, {}'.format(e.message))
|
print('Error, {}'.format(e.message))
|
||||||
|
except NotImplementedError as e:
|
||||||
|
print('{}: {}'.format(e, raw_message))
|
||||||
|
|
||||||
client = AprsClient(aprs_user='N0CALL')
|
client = AprsClient(aprs_user='N0CALL')
|
||||||
client.connect()
|
client.connect()
|
||||||
|
|
Ładowanie…
Reference in New Issue