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
|
||||
_say = [words['silence']]
|
||||
_systemcs = re.sub(r'\W+', '', self._system)
|
||||
_systemcs.upper()
|
||||
for character in _systemcs:
|
||||
_say.append(words[character])
|
||||
_say.append(words['silence'])
|
||||
# _systemcs = re.sub(r'\W+', '', self._system)
|
||||
# _systemcs.upper()
|
||||
# for character in _systemcs:
|
||||
# _say.append(words[character])
|
||||
# _say.append(words['silence'])
|
||||
|
||||
#If disconnection called
|
||||
if _int_dst_id == 4000:
|
||||
|
@ -86,6 +86,9 @@ def pkt_gen(_rf_src, _dst_id, _peer, _slot, _phrase):
|
||||
SEQ = (SEQ + 1) % 0x100
|
||||
yield pkt
|
||||
|
||||
if SEQ == 255:
|
||||
SEQ = 0
|
||||
|
||||
# Return False to indicate we're done.
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user