crc16
Simon 4 years ago
parent 7df4882772
commit 8d5e3cfd1b
No known key found for this signature in database
GPG Key ID: 6ACF11630B5D8F82

@ -2434,7 +2434,7 @@ class routerHBP(HBSYSTEM):
return return
#Duplicate DMR payload to previuos packet (by Crc32) #Duplicate DMR payload to previuos packet (by Crc32)
if self.STATUS[_slot]['packets'] > 1 and _pkt_crc in self.STATUS[_slot]['crcs']: if self.STATUS[_slot]['packets'] > 1 and _pkt_crc in self.STATUS[_slot]['crcs']:
logger.warning("(%s) *PacketControl* DMR packet payload with Crc32: %s seen before in this stream, disgarding. Stream ID:, %s TGID: %s, SEQ: %s, packets: ",self._system,_pkt_crc,int_id(_stream_id),int_id(_dst_id),_seq,self.STATUS[_slot]['packets']) logger.warning("(%s) *PacketControl* DMR packet payload with Crc32: %s seen before in this stream, disgarding. Stream ID:, %s TGID: %s, SEQ: %s, packets %s: ",self._system,_pkt_crc,int_id(_stream_id),int_id(_dst_id),_seq,self.STATUS[_slot]['packets'])
return return
#Inbound out-of-order packets #Inbound out-of-order packets
if _seq and self.STATUS[_slot]['lastSeq'] and (_seq != 1) and (_seq < self.STATUS[_slot]['lastSeq']): if _seq and self.STATUS[_slot]['lastSeq'] and (_seq != 1) and (_seq < self.STATUS[_slot]['lastSeq']):

Loading…
Cancel
Save

Powered by TurnKey Linux.