From f81b714002c32736477cc0e445f12176160ecc08 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 22 Jan 2021 13:31:42 +0000 Subject: [PATCH] Add DMRA to proxy --- hotspot_proxy_v2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index e0bdcba..2da98fe 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -93,6 +93,8 @@ class Proxy(DatagramProtocol): if _command == DMRD: # DMRData -- encapsulated DMR data frame _peer_id = data[11:15] + elif _command == DMRA: # DMRAlias -- Talker Alias information + _peer_id = _data[4:8] elif _command == RPTL: # RPTLogin -- a repeater wants to login _peer_id = data[4:8] elif _command == RPTK: # Repeater has answered our login challenge