From 844339f27b719b05ed1199bcfcc332349f0007be Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sat, 24 May 2014 14:24:24 -0500 Subject: [PATCH] Master + Repeater Firmware Compatibility Change the reported IPSC version type to deal with some weird 2nd registration packet we saw from repeaters with newer firmware --- ipsc/ipsc_message_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipsc/ipsc_message_types.py b/ipsc/ipsc_message_types.py index 72bce98..284c6f1 100644 --- a/ipsc/ipsc_message_types.py +++ b/ipsc/ipsc_message_types.py @@ -44,7 +44,7 @@ IPSC_VER_22 = '\x04' LINK_TYPE_IPSC = '\x04' # IPSC Version and Link Type are Used for a 4-byte version field in registration packets -IPSC_VER = LINK_TYPE_IPSC + IPSC_VER_19 + LINK_TYPE_IPSC + IPSC_VER_17 +IPSC_VER = LINK_TYPE_IPSC + IPSC_VER_17 + LINK_TYPE_IPSC + IPSC_VER_16 # Packets that must originate from a peer (or master peer) ANY_PEER_REQUIRED = [GROUP_VOICE, PVT_VOICE, GROUP_DATA, PVT_DATA, CALL_MON_STATUS, CALL_MON_RPT, CALL_MON_NACK, XCMP_XNL, RPT_WAKE_UP, DE_REG_REQ]