Commit Graph

104 Commits

Author SHA1 Message Date
Frank Werner-Krippendorf
2659ac06c6
Update hblink.py 2018-07-09 20:39:13 +02:00
Cort Buffington
416ab12c5f Updated all applications to support socket reporting 2018-07-03 21:51:20 -05:00
Matthew
39b3950af8 Refactor validation to optimise code 2018-06-25 18:23:56 +01:00
Matthew
8558bbcaa3 Allows user to disable strict validation when connecting to master 2018-06-23 20:25:19 +01:00
Cort Buffington
2a4295743a Continued work on socket-based reporting
Status table and bridge table now work. Log messages are sending, but
formatting isn’t right yet, so they present as unknown messages.
2018-06-22 09:28:31 -05:00
Cort Buffington
cff902d3f9 Fixed missing ping count in master stats from clients 2018-06-21 11:45:37 -05:00
Cort Buffington
df264042d6 Adding hooks for socket reporting.
NOT WORKING YET… but it is a start
2018-06-19 16:02:38 -05:00
Cort Buffington
76daa63bd0 Fixing the WRONG commit. 2018-03-08 11:53:53 -06:00
Cort Buffington
ef0778f16e Verifying local changes 2018-03-08 11:42:44 -06:00
Cort Buffington
cae890522a Local commit for verification 2018-03-08 11:29:50 -06:00
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