Sequence number.

Turn off callsign
This commit is contained in:
Simon 2020-09-18 00:49:48 +01:00
parent c2585a8b3f
commit 6f3f1738cd
2 changed files with 8 additions and 5 deletions

View File

@ -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:

View File

@ -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