Sequence number.
Turn off callsign
This commit is contained in:
parent
c2585a8b3f
commit
6f3f1738cd
@ -595,11 +595,11 @@ class routerHBP(HBSYSTEM):
|
|||||||
|
|
||||||
#Speak callsign before message
|
#Speak callsign before message
|
||||||
_say = [words['silence']]
|
_say = [words['silence']]
|
||||||
_systemcs = re.sub(r'\W+', '', self._system)
|
# _systemcs = re.sub(r'\W+', '', self._system)
|
||||||
_systemcs.upper()
|
# _systemcs.upper()
|
||||||
for character in _systemcs:
|
# for character in _systemcs:
|
||||||
_say.append(words[character])
|
# _say.append(words[character])
|
||||||
_say.append(words['silence'])
|
# _say.append(words['silence'])
|
||||||
|
|
||||||
#If disconnection called
|
#If disconnection called
|
||||||
if _int_dst_id == 4000:
|
if _int_dst_id == 4000:
|
||||||
|
@ -86,6 +86,9 @@ def pkt_gen(_rf_src, _dst_id, _peer, _slot, _phrase):
|
|||||||
SEQ = (SEQ + 1) % 0x100
|
SEQ = (SEQ + 1) % 0x100
|
||||||
yield pkt
|
yield pkt
|
||||||
|
|
||||||
|
if SEQ == 255:
|
||||||
|
SEQ = 0
|
||||||
|
|
||||||
# Return False to indicate we're done.
|
# Return False to indicate we're done.
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user