Commit Graph

262 Commits

Author SHA1 Message Date
Cort Buffington
056e55823e Nat work 2013-11-21 18:50:01 -06:00
Cort Buffington
b0175dbbbf NAT Work 2013-11-21 18:38:15 -06:00
Cort Buffington
a46a35dbd1 NAT improvements 2013-11-21 18:34:06 -06:00
Cort Buffington
ce28dec967 Work with NAT 2013-11-21 18:30:02 -06:00
Cort Buffington
c08ecd5905 housecleaning 2013-11-21 11:47:43 -06:00
Cort Buffington
7a0cedb7cb Multiple - See Extended
Move bridge.py's config information to a separate file.
Provide a sample file for bridge.py (bridge_rules_SAMPLE.py)
Tell peers we're a 3rd party app and repeater monitor.
2013-11-17 18:13:59 -06:00
Cort Buffington
2c826f76ed Bug Fix 2013-11-15 12:44:14 -06:00
Cort Buffington
2df282bf50 Work on Repeater Wake-Up 2013-11-14 20:30:20 -06:00
Cort Buffington
ff02528f9f Begin work on Repeater Wake-Up 2013-11-14 20:14:17 -06:00
Cort Buffington
1c6a53194e Issues Language Added
Also gently nudged potential users to remember this is a VOLUNTEER project with 1.1 developers... and the 1 part is a novice programmer at best. Also, a reminder (again here) that this software is NOT for commercial use.
2013-11-13 19:21:14 -06:00
Cort Buffington
48a100f0df Fixed a few more bugs...
AND found some caveats, which will be listed as issues shortly.
2013-11-13 19:07:20 -06:00
Cort Buffington
2811e980d9 Missed change in structure reference 2013-11-13 18:17:52 -06:00
Cort Buffington
b90ec9b7f4 MAJOR - Data Structure Update
Internal data structure change for how peers are stored. Instead of a
list of dicts, it is now a dict of dicts where the dict key IS the
radio ID, and the Radio ID is no longer stored in the "inner" dict.
This does NOT affect bridge.py or log.py, only dmrlink.py
2013-11-13 16:19:32 -06:00
Cort Buffington
3f0e2724db Jon: Fixed Typo in Unauth Function 2013-11-12 15:10:11 -06:00
Cort Buffington
e538def5be minor formatting tweaks 2013-11-11 14:38:27 -06:00
Cort Buffington
bbfaea6387 Logging cleanup 2013-11-10 21:43:55 -06:00
Cort Buffington
5ee94034d6 System Logger Cleanup
This has gotten messy durring development, so I decided to clean it up
some. The system logger should ONLY be used for internal logging of the
program, not to try and make a "netwatch" out of (for you c-Bridge
users). Please use the log.py module for that type of thing.
2013-11-09 11:33:52 -06:00
Cort Buffington
13157cd4e2 2 Peer Bug Fixed
Fixed a bug where I accidentally over-wrote original packet data when
forwarding to an IPSC peer... making it impossible to bridge a packet
to more than one destination IPSC correctly. Currently, DMRlink is
bridging three IPSCs and transcoding group IDs.
2013-11-09 10:14:39 -06:00
Cort Buffington
da74773599 Remove bunk RSSI 2013-11-08 13:47:35 -06:00
Cort Buffington
f3f103fca8 Bridging Additions 2013-11-05 19:40:28 -06:00
Cort Buffington
10f73545ad Bridging Now Works 2013-11-05 19:30:31 -06:00
Cort Buffington
25c9ce23d2 Progress on porting bridge into the new structure 2013-11-05 18:47:18 -06:00
Cort Buffington
98bb38c0ce Integer Radio ID Incoding
Radio ID may now be encoded as a decimal integer in the .cfg file --
previously it had to be in hex.
2013-11-01 07:59:49 -05:00
Cort Buffington
fc5ec8f170 Progress... 2013-10-31 21:45:57 -05:00
Cort Buffington
6223f582cf Unauthenticate IPSC Bug Fixed
unauthenticated packets were subject to having their hashes stripped
just like other packets. The problem is that they don't have hashes to
strip, so I was throwing away part of the packet. Fixed in log.py,
dmrlink.py and bridge.py
2013-10-30 13:36:45 -05:00
Cort Buffington
7a63b3d25f Broke Alias File Into Multiples
Why parse several thousand dictionary entries when all you need to do
is find which of a couple hundred repeaters or a handful of TGIDs?
2013-10-30 11:47:30 -05:00
Cort Buffington
8615e40e51 Exclude PubNub Files
DMRlink pubnub implementation is not yet ready to release, so I'm
holding it back until it at least works somewhat.
2013-10-30 08:18:59 -05:00
Cort Buffington
09e1d7f36a Working on RSSI
Added easy-change capabilities (IPSC flags) to dmrlink.py
Working with XCMP/XNL and RSSI in log.py
2013-10-30 07:57:17 -05:00
Cort Buffington
8f2e1433be (maybe) fixed unauth
did not add the additional code to use unauthenticated IPSC with the
log mixin. Added it blind - as in I've not tested it yet. If someone
finds this and tests it BEFORE I do, please let me know if it works.
2013-10-29 21:19:43 -05:00
Cort Buffington
0002b91e52 No luck with RSSI yet... 2013-10-29 16:36:04 -05:00
Cort Buffington
ccd1eab3aa begin working with RSSI data in log.py 2013-10-29 15:16:48 -05:00
Cort Buffington
c1c182f15a Updated copyright 2013-10-29 08:17:50 -05:00
Cort Buffington
67c9a17c3b Documenting New Message Type
Message Type 0x05 - this is the ack, or "confirmation" from the
subscriber receiving a confirmed private voice or data call.
2013-10-29 08:03:17 -05:00
Cort Buffington
0dfc57b23e Update README.md 2013-10-29 07:39:18 -05:00
Cort Buffington
f5a4674ffe Added License file 2013-10-29 07:16:18 -05:00
Cort Buffington
fb094d4082 Update README.md 2013-10-29 07:11:48 -05:00
Cort Buffington
1331726028 Add first two applications
As of now, dmrlink.py is only a behind the scenes worker... It's just
the base class to take care of link establishment and maintenance.
Applications, such as bridging or logging will now be in their own
files and inherit from dmrlink.py
2013-10-29 07:09:18 -05:00
Cort Buffington
b55e430568 remove application stuff 2013-10-29 07:08:05 -05:00
Cort Buffington
329a701395 First two applications added 2013-10-29 07:07:17 -05:00
Cort Buffington
4ad171337d Module Clean-Up
All "useful" call-back actions removed. This is because it's time to
start using derived classes to make applicaitons out of dmrlink.py as a
base class.
2013-10-28 22:39:45 -05:00
Cort Buffington
8c23bbf45d Remove references to application modules in progress... 2013-10-28 20:41:09 -05:00
Cort Buffington
9f53e7035b Name Change - Function Re-Org
Preparing to use DMRlink as a python module. The name needed to be
changed to not clash with the resource sub-directory, and functions
were moved into the main class that are intended to be changed in a
derived class.

DMRlink is now a functional module. I will be shifting ALL development
of "application" level features to other files with derived classes,
and dmrlink.py will ONLY include protocol update/fixes/etc.
2013-10-28 20:34:29 -05:00
Cort Buffington
3cb242d368 Added a timed loop to display information
separated this from the timed loop that handles connection maintenance
and establishment.
2013-10-24 15:48:16 -05:00
Cort Buffington
13dede1fb9 FOUND NEW MESSAGE TYPE! 2013-10-22 13:53:02 -05:00
Cort Buffington
43c70bbdb1 Continued Clean-Up More Efficient
more of the same stuff… organizing and cleaning up stuff to make it run
better. CPU load now reduced by half!
2013-10-22 11:21:32 -05:00
Cort Buffington
f23780901b Major Clean-Up!!!
Cleaned up many things:
Needless iteration during received packet parsing.
Grouping received packet re-requisite checking so that it can be done
once, not on each packet.
Removed some conversions where a number is converted twice just to be
compared.
2013-10-21 20:54:51 -05:00
Cort Buffington
800969bb39 DMR NAT Function Added
There is concern about the maximum available DMR RadioID space. Just
like running out of IPv4 on the Internet, I created an evil DMR NAT
function.
2013-10-21 10:40:29 -05:00
Cort Buffington
45618999a1 More on timestamps 2013-10-15 14:35:21 -05:00
Cort Buffington
4fd7b7f74a More date/time stamping. 2013-10-15 14:18:06 -05:00
Cort Buffington
9ac7727b7a Added Timestamp 2013-10-15 05:50:02 -05:00