mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Second run reducing number of problems
This commit is contained in:
parent
c71369aa44
commit
520f32aac2
2 changed files with 3 additions and 0 deletions
|
@ -230,6 +230,7 @@ def callsign_to_bytes(callsign) -> bytes:
|
|||
return encode_call(callsign + ssid)
|
||||
# return bytes(bytestring)
|
||||
|
||||
|
||||
def bytes_to_callsign(bytestring: bytes) -> bytes:
|
||||
"""
|
||||
Convert our callsign, received by a frame to a callsign in a human readable format
|
||||
|
|
|
@ -438,6 +438,7 @@ def process_tnc_commands(data):
|
|||
log.error("[TNC] JSON decoding error", e=err)
|
||||
|
||||
|
||||
|
||||
def send_tnc_state():
|
||||
"""
|
||||
send the tnc state to network
|
||||
|
@ -670,6 +671,7 @@ def process_daemon_commands(data):
|
|||
log.warning("[SCK] command execution error", e=err, command=received_json)
|
||||
|
||||
|
||||
|
||||
def send_daemon_state():
|
||||
"""
|
||||
send the daemon state to network
|
||||
|
|
Loading…
Reference in a new issue