Commit Graph

94 Commits

Author SHA1 Message Date
Cort Buffington
a62630211f Bug Fix - Master -> Client
Was not re-writing the destination Radio ID on egress packets
2018-02-13 18:58:20 -06:00
Cort Buffington
afd1370143 Fix "limbo" state in the re-connection cycle
Changed the logic for determining when to “re-connect” to the master.
This will break if the ping timeout is set too low. Recommend keeping
it at 4-5 seconds.
2018-02-12 12:16:56 -06:00
Cort Buffington
050aad7cb3 HIGH PROFILE FIXES - Addresses Brandmeister disconnects.
Random:
  * Commented out per-packet debug logger lines (uncomment locally when needed)

Problems Fixed:

CLIENT MODE: hblink.py

hblink.py did not properly parse the radio_id in a MSTNAK message. We searched for
"MSTN" - 4 characters, and neglected to parse the radio ID at offset 6, after "MSTNAK"
instead of after 4, "MSTN".... rookie mistake:

  elif _command == 'MSTN':    # Actually MSTNAK -- a NACK from the master
  -                _radio_id = _data[4:8]
  +                _radio_id = _data[6:10]

hblink.py did not actually keep track of missed keep-alives correctly to reset a connection.
This has probably been fixed. At worst, no more broken than it was. Would like to have
some folks test it by breaking connectivty froma client to master and watch what happens.

Appears to work now.
2018-02-02 14:14:30 -06:00
Cort Buffington
bec229fbe7 Squashed minor logging bug
Minor logging bug when master receives and unknown command. It tried to
log _radio_id, but in this case, we don’t know the radio ID since we
can’t parse the HBP PDU.
2017-08-09 22:33:47 -05:00
Rob
9cb014a55c Added ability to send options to master 2016-12-26 21:36:22 -05:00
Rob
aafb321f8a Added ability to send options to master 2016-12-26 10:47:34 -05:00
Cort Buffington
0652abef02 Descriptions added (below copyright and license area) 2016-12-19 08:36:17 -06:00
Cort Buffington
6675f2e83d update 2016-12-17 11:40:43 -06:00
Cort Buffington
d561daddcd Move utilities to their own package 2016-12-15 12:10:29 -06:00
Cort Buffington
03e2dff984 Cleanup errors 2016-11-25 08:14:36 -06:00
Cort Buffington
9fefedc2fd fix typos 2016-11-23 15:07:10 -06:00
Cort Buffington
eeec223609 Modularized... I think this works. 2016-11-23 15:01:05 -06:00
Cort Buffington
13e99a9392 Update __license__ 2016-11-22 20:02:09 -06:00
Cort Buffington
a4e0fd7e69 reference config 2016-11-21 19:54:23 -06:00
Cort Buffington
cc54b76ce8 added pointer to CONFIG & explicit arguments to the class 2016-11-21 19:46:07 -06:00
Cort Buffington
05b5fcbf10 License Change 2016-11-21 19:13:32 -06:00
Cort Buffington
16198ba889 Better way to build hex strings 2016-11-20 10:16:53 -06:00
root
02fda0e31d Match 'client' login from MMDVMHost 2016-11-18 09:27:57 -05:00
Cort Buffington
992c157d3a error correction 2016-11-17 17:21:31 -06:00
Cort Buffington
3138de53c9 Fixes from G4EML 2016-11-17 16:37:43 -06:00
Cort Buffington
25c240d0a3 CLIENT and MASTER are now one class 2016-11-16 11:05:01 -06:00
Cort Buffington
f0fa590e72 refactoring - INCOMPLETE 2016-11-08 16:16:22 -06:00
Cort Buffington
2fbe26fb42 general progress 2016-11-01 19:49:13 -05:00
Cort Buffington
4690f5470d Missing parameter 2016-09-25 16:36:01 -05:00
Cort Buffington
4d46baa357 Added data type/voice sequence field 2016-09-22 09:12:38 -05:00
Cort Buffington
fa18a9814f Update file info 2016-09-13 16:30:01 -05:00
Cort Buffington
a07b0dd45e Integrate alias downloader 2016-09-12 11:26:41 -05:00
phl0
93561eecd3
Add some more information to log output 2016-09-02 21:14:53 +02:00
phl0
d903d46bd0
Remove trailing spaces 2016-09-01 21:36:31 +02:00
phl0
87f6247752
Remove whitespace in empty lines 2016-09-01 21:33:47 +02:00
phl0
59d15e95a7
Add callsign output to repeater messages 2016-09-01 21:19:30 +02:00
phl0
0195f773d2 Revert "Add callsign to repeat messages"
This reverts commit 0987e2478e.
2016-09-01 18:22:12 +02:00
phl0
472fc2a3eb Revert "Wrong variable used :)"
This reverts commit 0f95fae240.
2016-09-01 18:22:00 +02:00
phl0
dcef33f8b1 Revert "Obviously I used a wrong variable. See if this works ..."
This reverts commit fe4a8a01d4.
2016-09-01 18:21:50 +02:00
phl0
f30c579706 Revert "Use integer indices"
This reverts commit 54d3a962ca.
2016-09-01 18:21:38 +02:00
phl0
a8d1559073 Revert "Testing integer boundaries"
This reverts commit aa135c0e6b.
2016-09-01 18:20:59 +02:00
phl0
aa135c0e6b
Testing integer boundaries 2016-09-01 18:18:10 +02:00
phl0
54d3a962ca
Use integer indices 2016-09-01 18:09:59 +02:00
phl0
fe4a8a01d4
Obviously I used a wrong variable. See if this works ... 2016-09-01 18:06:46 +02:00
phl0
0f95fae240
Wrong variable used :) 2016-09-01 18:05:31 +02:00
phl0
0987e2478e
Add callsign to repeat messages 2016-09-01 18:03:52 +02:00
phl0
4418bbc1fb
Add output of callsign to ping messages 2016-09-01 18:00:41 +02:00
phl0
5848a1a7ea
Move underscore to correct position 2016-09-01 17:55:26 +02:00
phl0
252b15d752
Remove underscore 2016-09-01 17:53:38 +02:00
phl0
f3b65b7042
Add callsign to close message 2016-09-01 17:49:16 +02:00
phl0
587c419316
Add callsign to timeout message 2016-09-01 17:41:37 +02:00
phl0
43290268ff
Add callsign to deregistration message 2016-09-01 17:37:27 +02:00
phl0
cf11002b87
Correct typo No 2 :-( 2016-09-01 17:34:36 +02:00
phl0
0baf8401a6
Correct typo :-/ 2016-09-01 17:33:47 +02:00
phl0
1692ea8b88
Output callsign into the logs 2016-09-01 17:32:30 +02:00