[op25-dev] Re: suggestion: logging output

ikj1234i@yahoo.com [op25-dev] op25-dev at yahoogroups.com
Tue Jul 18 19:34:56 UTC 2017

This is virtually trivial.  At the tail end of the update_state() method in file trunking.py, add something like this
     if self.debug >= 5:
       if new_frequency or new_slot:
         sys.stderr.write('%f set freq to %s tgid %s ... \n' % (curr_time, new_frequency, self.current_tgid))

If you get something that's working well send it along and I'll merge it...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20170718/920321e2/attachment.html>

More information about the op25-dev mailing list