save progress
This commit is contained in:
parent
492dbfc9d0
commit
5dbca3aca7
|
|
@ -745,6 +745,7 @@ class routerOBP(OPENBRIDGE):
|
||||||
pkt_time = time()
|
pkt_time = time()
|
||||||
dmrpkt = _data[20:53]
|
dmrpkt = _data[20:53]
|
||||||
_bits = _data[15]
|
_bits = _data[15]
|
||||||
|
print(int_id(_dst_id))
|
||||||
|
|
||||||
# Make/update this unit in the UNIT_MAP cache
|
# Make/update this unit in the UNIT_MAP cache
|
||||||
UNIT_MAP[_rf_src] = (self.name, pkt_time)
|
UNIT_MAP[_rf_src] = (self.name, pkt_time)
|
||||||
|
|
|
||||||
|
|
@ -1085,6 +1085,7 @@ def dmr_encode(packet_list, _slot):
|
||||||
l_slot = bitarray('0111011100')
|
l_slot = bitarray('0111011100')
|
||||||
r_slot = bitarray('1101110001')
|
r_slot = bitarray('1101110001')
|
||||||
#Mobile Station
|
#Mobile Station
|
||||||
|
# D5D7F77FD757
|
||||||
#sync_data = bitarray('110101011101011111110111011111111101011101010111')
|
#sync_data = bitarray('110101011101011111110111011111111101011101010111')
|
||||||
if _slot == 0:
|
if _slot == 0:
|
||||||
# TS1 - F7FDD5DDFD55
|
# TS1 - F7FDD5DDFD55
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue