X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Fgps303proto.py;h=83ac19cd4d68a67ba06091c8b3e0c9274f027110;hb=c772f9219b7a90be63174ef8e66c2f1249200c85;hp=6fa76550db1031ea901ff55d71998d1aeb9fd640;hpb=4c173a5448990cd4da398be1bf3479bef17b1048;p=loctrkd.git diff --git a/gps303/gps303proto.py b/gps303/gps303proto.py index 6fa7655..83ac19c 100755 --- a/gps303/gps303proto.py +++ b/gps303/gps303proto.py @@ -25,7 +25,6 @@ __all__ = ( "make_response", "parse_message", "proto_by_name", - "set_config", "GPS303Pkt", "UNKNOWN", "LOGIN", @@ -58,7 +57,6 @@ log = getLogger("gps303") class GPS303Pkt: PROTO: int - CONFIG = None def __init__(self, *args, **kwargs): assert len(args) == 0 @@ -437,6 +435,3 @@ def make_response(msg, **kwargs): # DEPRECATED inframe = msg.response(**kwargs) return None if inframe is None else b"xx" + inframe + b"\r\n" - -def set_config(config): # Note that we are setting _class_ attribute - GPS303Pkt.CONFIG = config