Commit Graph

6 Commits

Author SHA1 Message Date
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 e70b9bee49 File no longer necessary 2013-10-12 11:10:02 -05:00
Cort Buffington 59cb7666f5 Added Config File Parser
No longer is it necessary to build the configuration by hand as a
python file. It now uses a basic INI style… not my favorite, but easily
added thanks to ConfigParser.

This BREAKS group-voice forwarding for now, as there's no good way to
add the rules config in the basic config file right NOW, but it will be
fixed soon.
2013-10-12 11:08:06 -05:00
Cort Buffington a8988e8cf7 Merge branch 'master' of https://github.com/n0mjs710/DMRlink
Conflicts:
ipsc.py
2013-10-10 16:19:12 -05:00
Cort Buffington 478301a394 Commeting the Config 2013-09-10 16:24:38 -05:00
Cort Buffington f04dd45346 MAJOR UPDATE!
Added a derived class for the rare event of an un-authenticated IPSC,
this necessitated moving two global functions into the classese.

Changes to prepare this as a module -- all "user space" packets that
are received now have expliciet callback functions (handily located in
one place)

Moved the supporting characters into the ipsc sub-directory. The config
is the only likely one to be touched.

Improved some of the logging, but also commented it out to make things
run faster when it is not in use.
2013-09-10 15:28:18 -05:00