|
|
|
|
| Trunking Control Channel Decoding For discussion of installation, setup, configuration, and use of the Trunker / Unitrunker digital decoding utilities (for decoding Trunking control channels) |

08-19-2009, 04:30 AM
|
|
|
unitrunker v2 file formats
I could be missing it or it could not exist so in either case if someone could either accept my request or tell me where to find the information I would be appreciative .
I would love to know the formats of the files down to the CR/LF since I can not seem to build one that actually loads (Unitrunker.xml) or figure out where to find everything in Rxxxxx.../*log. I think I have Sxxxxx/*log figured out but could use a confirm
Thank you for all guidance!
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
|

08-19-2009, 10:15 AM
|
|
Member
|
|
|
Join Date: Dec 2002
Posts: 103
|
|
I asked for the XML schema already, got no help... apparently it's a default format for the software suite he's using. I also tried various tools to build the schema from the files, no luck there. It would really help if all the good data generated by this program was portable to other radio programs.
|

08-19-2009, 07:49 PM
|
|
Seņor Member
|
|
 Database Admin
|
|
Join Date: Dec 2001
Location: Texas
Posts: 3,429
|
|
There's no formal schema because the program doesn't use one. However, it's not hard to figure out; should be readable from a text editor.
<Folder> <!-- top level element - XML requires this -->
<System> <!-- radio system - which contains sites, groups, and users. -->
<Site> <!-- a site - which contains channels and band plan. -->
<Band/> <!-- band plan information for this site -->
<Channel/> <!- radio channel - contains frequency and logical channel number -->
</Site> <!-- closing tag for site; other sites may follow -->
<Group/> <!-- talkgroup; more groups may follow -->
<User/> <!-- radio id; more users may follow -->
</System> <!-- closing tag for system; other systems may follow. -->
</Folder> <!-- final closing tag for the document. -->
I could throw together an XML schema or Relax NG schema - but I'm lazy.
|

08-19-2009, 07:52 PM
|
|
Seņor Member
|
|
 Database Admin
|
|
Join Date: Dec 2001
Location: Texas
Posts: 3,429
|
|
For extracting the data - your best bet is to use XSLT to extract and convert the information into just about any format you like.
|

08-20-2009, 05:37 AM
|
|
|
Thanks for the responses!
** I found that I was overlooking the data I was looking for in the log files because the date/time there is UTC and I was looking in local to match the "last seen" entry for the user or group... I would search the log for the timestamp and come up with unrelated data. that part of the world now makes sense LOL and no further confirmation seems needed.
I have (attempted to) made unitrunker.xml files on windows and linux machines following that format and I get a super fast startup and no systems and nothing on exit except my file promoted through the revision chain.
I have tried all 3 line endings I can do cr cr/lf lf
I have even tried one site no users or groups...
Tried to make sense of the unitrunker created file as far as end of line or next element etc.
I notice sometimes the <folder><system><site>
next time <folder><system>
<site>
etc.
I am broken LOL I cant make a file I created with "xml copy editor" (very nice linux or windows (that I know of) software for editing xml files) work to save my life and have resorted to slowly building one from my spreadsheet and keeping a blank for next time I travel to the same place.
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
|

09-21-2009, 11:52 PM
|
|
Seņor Member
|
|
 Database Admin
|
|
Join Date: Dec 2001
Location: Texas
Posts: 3,429
|
|
Quote:
Originally Posted by Unitrunker
For extracting the data - your best bet is to use XSLT to extract and convert the information into just about any format you like.
|
I threw together a short article on how to do this.
|

09-22-2009, 08:21 AM
|
|
Member
|
|
|
Join Date: Dec 2002
Location: near Ottawa; Canada
Posts: 134
|
|
Quote:
Originally Posted by Kaligus
Tried to make sense of the unitrunker created file as far as end of line or next element etc.
I notice sometimes the <folder><system><site>
next time <folder><system>
<site>
|
XML itself is CRLF agnostic. It shouldn't care about any line breaks between tags. But I don't know if UniTrunker is using a 3rdParty XML i/o library, or if he wrote his own from scratch.
But a lot depends on what you're using to read/write the XML externally too. Some reformat nicely, some will "wordwrap" at peculiar places, and some leave it all on one line (I especially hate those).
For simple XML parsing, Google XMLNotepad. It's a free sample app that comes with full source, and provides a pretty decent UI for understanding the XML layout and making changes.
Brad.
__________________
BC996T x 2 (1 with RH96)
BC780XLT
BC346XT
Pro-2020 (tapped for UniTrunker)
handful of assorted really old stuff in the basement
|

09-27-2009, 06:52 PM
|
|
|
I have been playing a little bit...
The awesome editor I had been using "XML copy editor" nearly-always makes files which will break unitrunker.
Another editor "geany" however seems to work and the only thing I need to remember is to make line endings "cr/lf" as MS-DOS/Windows is want to have.
Some of the times I forget and it works well, other times it doesn't work as well.
I can now at least use Geany to create my own special use unitrunker.xml
***
I just read the article on using xslt and will be playing with that to see if I can break that too LOL
__________________
--
Have:
RS-Pro 2006; RS-Pro 93; Icom-R2; Uniden BC-SC415; RS-Pro-96; Kchibo KK-E202; Degen DE1103
(in order obtained)
Monitor:
Mot-trunk, voice, data, mil-air, fed, HF, "numbers", etc.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|
|
|
|
| |
|
|