Commit Graph

138 Commits

Author SHA1 Message Date
Mike Zingman
eb1614f814 Make the cwd for execution be the same directory as the .py file 2015-12-07 22:47:02 -05:00
Mike Zingman
4ecf651cc5 Update to non-xxx file names and DMR-MARC format files 2015-12-06 16:55:31 -05:00
Mike Zingman
a77061e21b Gateway changes 2015-11-26 19:25:23 -05:00
Cort Buffington
2524822e80 added null reporting loop
this makes importing consistent for applications in case there is no
reporting configured.
2015-07-27 20:10:35 -05:00
Cort Buffington
2635046aad logging bug: Unknown IPSC Type
The packet type’s numeric value was reported wrong in log messages for
unknown types.
2015-07-27 17:13:41 -05:00
Cort Buffington
ae29844809 fix bridge.py reporting 2015-06-30 20:36:14 -05:00
Cort Buffington
8e85b71e27 Add Pickle Dump to Reporting 2015-06-30 11:50:51 -05:00
Cort Buffington
ecd2648372 remove commented code 2015-06-29 14:58:39 -05:00
Cort Buffington
5b4520318f Fix Typo "_host, _port" was missing ", " 2015-06-29 14:48:58 -05:00
Cort Buffington
574a89e7f9 Remove JSON Reporting
It has a major problem with byte strings in the dictionaries… this may
never work
2015-06-20 19:57:07 -05:00
Cort Buffington
31223a846d Work on reporting options 2015-06-12 08:28:48 -05:00
Cort Buffington
10a21ed118 Word on data reporting options
in the process of adding several ways to dump the data structure from
each IPSC for processing by some external program.
2015-06-07 20:54:21 -05:00
Cort Buffington
ec9c20d5ee *NOT_BACKWARD_COMPATIBLE* changes
Changes to the REPORTS section of the config and dmrlink.py to pave the
way for more flexible reporting types.
2015-06-07 15:46:29 -05:00
Cort Buffington
d2a73a044e log "ID, IP:PORT" instead of just "ID" 2015-06-07 13:19:32 -05:00
Cort Buffington
ea0188002a Add IP:Port to logging for some messages 2015-06-07 11:47:07 -05:00
Cort Buffington
29789acfd9 Internal Diagnostics (Timing)
Added some stuff for measuring timing. Must be uncommented to work.
2015-05-28 09:58:06 -05:00
Cort Buffington
707d9cc1f6 Internal Diagnostics
Added pieces for timing run times. No functional change unless you go
uncomment stuff to turn it on.
2015-05-28 09:42:58 -05:00
Cort Buffington
e2f596f311 DNS resolution
use gethostbyname when we parse the config, once, rather than leave it
to twisted to do when we send packets.
2015-05-21 09:45:24 -05:00
Cort Buffington
dd4dee21c4 Move gethostbyname
don’t rely on Twisted to do this on packet write, just translate once
when we read the config.
2015-05-21 09:39:42 -05:00
David Kierzkowski
d83fbba277 fix exit program via CTRL-C 2015-04-10 01:41:44 -04:00
Cort Buffington
b9b21ebebf Begin AMBE Data Dump 2015-03-24 11:06:42 -05:00
Cort Buffington
5c27ce4d52 See last two changes (this is a clean-up commit) 2014-12-20 10:05:03 -06:00
Cort Buffington
06c9ed48b4 SEE LAST UPDATE (bug fix from it) 2014-12-20 09:56:15 -06:00
Cort Buffington
16e7d2aaeb send_to_ipsc moved into IPSC class
send_to_ipsc moved into the IPSC class, as well as a new class function
for the single line to write the socket. This allows for inserting a
debug logger line to dump EVERY packet transmitted on a per-IPSC basis.
2014-12-20 09:14:54 -06:00
Cort Buffington
5a5ecb322b IP Interface may be specified now
This is useful when using multiple interfaces and bridge.py is employed
as an application gateway between multiple un-connected networks (like
VPNs to the real world).
2014-10-31 10:30:18 -05:00
Cort Buffington
91a7e773b2 Don't import config for IPSC not enabled 2014-10-06 08:17:39 -05:00
Cort Buffington
e02c03a099 publish data structure to file 2014-10-05 22:11:56 -05:00
Cort Buffington
f2148ab05f Formatting & Documentation 2014-09-05 19:35:37 -05:00
Cort Buffington
549b8d62bb improve unknown packet type debugging 2014-09-05 15:57:08 -05:00
Cort Buffington
a4461d3de1 logger typo 2014-09-05 14:17:29 -05:00
Cort Buffington
fc271cd957 variable typo 2014-09-05 14:15:05 -05:00
Cort Buffington
9a99fa585b Fix variable typo in master_reg_req 2014-09-05 14:13:18 -05:00
Cort Buffington
b13f90f971 fix function name typeos 2014-09-05 14:10:51 -05:00
Cort Buffington
08e5525ae9 INT ID #s instead of HEX 2014-09-05 14:08:23 -05:00
Cort Buffington
eb84cb2589 Move IPCS Maintenance to Functions 2014-09-05 13:57:47 -05:00
Cort Buffington
03fcae42de user integer ID in debugging instead of HEX 2014-09-05 10:16:06 -05:00
Cort Buffington
ce29ce89c4 De-Registration Logs integer ID now 2014-09-05 09:02:59 -05:00
Cort Buffington
bc25da467a Complete Polite Shutdown
DMRlink will now de-register from all peers on a SIGTERM, SIGINT or
SIGQUIT.
2014-09-05 08:56:51 -05:00
Cort Buffington
82d93a759d Added Logger name to config
Now you can configure the name shown in syslog on a per-instance basis.
Handy when you run more than one DMRlink instance on the same machine.
2014-09-05 07:50:49 -05:00
Cort Buffington
6f08f1f2c4 change logger name 2014-09-01 18:58:26 -05:00
Cort Buffington
f0d50c8211 Update Versions/Documentation 2014-08-31 13:18:35 -05:00
Cort Buffington
b22d773e81 NOT FULLY FUNCTIONAL: Backup Bridge
Bridge application that identifies known bridges based on RADIO ID and
does NOT bridge if they are actively connected to an IPSC and MODE byte
shows linking on a timeslot.
2014-08-29 09:05:19 -05:00
Cort Buffington
a89a94dea8 reduce peer_list function logging 2014-08-27 19:43:42 -05:00
Cort Buffington
6c41942aa2 Allow Re-Registration
If a peer “re-registers” we were not updating it’s registration
information. For example, it may have changed it’s MODE byte, or worse,
it’s port number, etc. and we’d have missed it
2014-08-26 08:01:27 -05:00
Cort Buffington
318ccfea78 Improve Syslogging 2014-08-24 15:20:10 -05:00
Cort Buffington
94eb828006 Improve syslogging 2014-08-24 15:19:24 -05:00
Cort Buffington
c84273272c Improve Syslogging 2014-08-24 15:16:30 -05:00
Cort Buffington
536dc73521 Improved syslogging 2014-08-15 11:22:39 -05:00
Cort Buffington
d88f90d0b4 Add cfg configurable report interval 2014-08-15 08:39:52 -05:00
Cort Buffington
8a378fe2c1 More Decoding 2014-08-13 17:14:46 -05:00