From c1e867721b490b5710e2a1e7f231a3381ee99203 Mon Sep 17 00:00:00 2001 From: KF7EEL Date: Mon, 6 Sep 2021 11:26:57 -0700 Subject: [PATCH] add UNIT tracking via SVRD --- data_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_gateway.py b/data_gateway.py index 50a174c..a995f12 100644 --- a/data_gateway.py +++ b/data_gateway.py @@ -749,7 +749,7 @@ def create_sms_seq(dst_id, src_id, peer_id, _slot, _call_type, dmr_string): mmdvm_send_seq.append(ahex(the_mmdvm_pkt)) cap_in = cap_in + 1 print(ahex(the_mmdvm_pkt)) - systems['OBP-2'].send_system(the_mmdvm_pkt) + systems[UNIT_MAP[bytes.fromhex(dst_id)][0]].send_system(the_mmdvm_pkt) with open('/tmp/.hblink_data_que_' + str(CONFIG['DATA_CONFIG']['APRS_LOGIN_CALL']).upper() + '/' + str(random.randint(1000, 9999)) + '.mmdvm_seq', "w") as packet_write_file: packet_write_file.write(str(mmdvm_send_seq))