Commit Graph

33 Commits

Author SHA1 Message Date
Cort Buffington
3bb39eb19a Clean up OPENBRIDGE class 2018-09-26 15:48:48 -05:00
Cort Buffington
d1f827f1f2 Revert "Reorganization 1 class per system type"
This reverts commit b20309c776.
2018-09-26 15:41:00 -05:00
Cort Buffington
b20309c776 Reorganization 1 class per system type
Separating HBSYSTEM into HBMASTER and HBPEER to reduce memory footprint
and allow easier updating. Also cleaning up and normalizing the
OPENBRIDGE class to match the standard HB classes better.
2018-09-26 09:02:11 -05:00
Cort Buffington
5511a3b25a OpenBridge initial commit
The beginning of OpenBridge support. It does not yet do anything, so
downloading this is worthless for all but selected alpha testers.
2018-09-25 20:17:55 -05:00
Cort Buffington
d1af0560c4 INITIAL BRANCH COMMIT
0) CONFIGURATION FILES WILL NEED UPDATED TO CHANGE NAMING
CONFIGURATIONS!

1) Updated use of socket address instead of discrete IP/port. This will
be needed for socket address based validation and is faster… duh…
should have done this in the beginning.

2) Changed all references to “clients” as HBP systems to “peers”. This
sets the stage for having a peer_id and an originator_id for DMRD
packets.

3) Found and squashed a number of other random bugs, including the
registration ACL not working in confbridge or bridge_all.

4) router is now retired. confbridge is the future.
2018-08-07 16:05:27 -06: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
df264042d6 Adding hooks for socket reporting.
NOT WORKING YET… but it is a start
2018-06-19 16:02:38 -05: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
Rob
aafb321f8a Added ability to send options to master 2016-12-26 10:47:34 -05:00
Cort Buffington
55b5afe41f Bug fixes 2016-12-21 19:55:11 -06:00
Cort Buffington
0652abef02 Descriptions added (below copyright and license area) 2016-12-19 08:36:17 -06:00
Cort Buffington
eb88a0a285 Removed unused config parameter 2016-12-15 12:22:05 -06:00
Cort Buffington
f27af4c4dd Further Modularization 2016-11-26 14:36:24 -06:00
Cort Buffington
9fefedc2fd fix typos 2016-11-23 15:07:10 -06:00
Cort Buffington
13e99a9392 Update __license__ 2016-11-22 20:02:09 -06:00
Cort Buffington
05b5fcbf10 License Change 2016-11-21 19:13:32 -06:00
root
02fda0e31d Match 'client' login from MMDVMHost 2016-11-18 09:27:57 -05:00
Cort Buffington
fa18a9814f Update file info 2016-09-13 16:30:01 -05:00
Cort Buffington
27d2b79059 Update Copyrights 2016-09-13 16:23:14 -05:00
Cort Buffington
a07b0dd45e Integrate alias downloader 2016-09-12 11:26:41 -05:00
Cort Buffington
9dff981ffc Initial commit to branch 2016-08-25 20:44:15 -05:00
Cort Buffington
dd77705701 AMBE Export options added 2016-07-30 20:37:05 -05:00
Cort Buffington
739fc10a94 Repeat and DMRD... working on it. 2016-07-27 18:07:01 -05:00
Steve Zingman
47095c9fe5 Simple error reporting for config file 2016-07-25 14:03:01 -04:00
mzingman
f8ec4d9069 Update hb_config.py
.rjust will return the orig string if the len > width.  I just made sure to truncate.
2016-07-25 11:05:30 -04:00
Cort Buffington
d9e601524d Master Work & Cleanup
Found some config fields still weren’t quite right – matched to what
MMDVM *sends*. Master almost complete – deregistration not working
2016-07-24 12:07:43 -05:00
Cort Buffington
cd993ee946 Master Update + Cleanup 2016-07-24 09:42:42 -05:00
Cort Buffington
addc9cb52c Client Fully Connects with BrandMeister
Thanks to Colin Durbridge G4EML for figuring out MANY of the
BrandMeister changes to HB Protocol (some not documented).
2016-07-23 15:53:22 -05:00
Cort Buffington
ffd035fc8c NOW FULLY CONNECTS!!!
Still working out some of the info fields.
2016-07-23 10:25:34 -05:00
Cort Buffington
9a2708aa9d Mostly Authenticated and Logged in... 2016-07-22 21:41:22 -05:00
Cort Buffington
80b4262f8d Can contact master, but no login yet... 2016-07-21 16:14:42 -05:00
Cort Buffington
871b07dc0d Cleanup before real work begins 2016-07-20 21:25:47 -05:00