restructure the code to have the parser sit where all the parsers sit

This commit is contained in:
Jakob Ketterl
2019-08-15 15:45:15 +02:00
parent 7beb773a37
commit 0207374592
7 changed files with 238 additions and 185 deletions

View File

@ -205,8 +205,8 @@ class OpenWebRxReceiverClient(Client):
def write_dial_frequendies(self, frequencies):
self.protected_send({"type": "dial_frequencies", "value": frequencies})
def write_packet_data(self, data):
self.protected_send({"type": "packet_data", "value": data})
def write_aprs_data(self, data):
self.protected_send({"type": "aprs_data", "value": data})
class MapConnection(Client):