12.07.2015 Views

Data structure for the ICOM IC-R2 Scanner - OoCities

Data structure for the ICOM IC-R2 Scanner - OoCities

Data structure for the ICOM IC-R2 Scanner - OoCities

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A : <strong><strong>IC</strong>OM</strong>'s <strong>IC</strong>F Disk File FormatIcom’s .<strong>IC</strong>F <strong>for</strong>matIcom provides a DOS software program (CS<strong>R2</strong>) to load data into, and downloaddata from <strong>the</strong> <strong>IC</strong>-<strong>R2</strong>. This program stores data files in a .<strong>IC</strong>F Format. This<strong>for</strong>mat is based on <strong>the</strong> <strong>for</strong>mat sent to <strong>the</strong> <strong>IC</strong>-<strong>R2</strong>, with some differences:•=•=•=•=•=•=The file is a text file. That is, it contains lines of ASCII characters, wi<strong>the</strong>ach line being terminated with a Carriage Return and Line Feedcombination.There are two extra lines at <strong>the</strong> beginning. The first contains some datawhich identifies <strong>the</strong> equipment model, and is used in <strong>the</strong> set up of <strong>the</strong> datatransfer process. The second line contains user comments that are readby <strong>the</strong> Icom CS<strong>R2</strong> program.The leading command bytes are not includedThe checksum is not includedThe terminating command byte is not includedThe data is encoded into a character based <strong>for</strong>mat. This encoding has tobe removed be<strong>for</strong>e <strong>the</strong> data can be usedThe First Two Lines.The first line in <strong>the</strong> file contains <strong>the</strong> model number returned by <strong>the</strong> radio. Forexample:First Line of <strong>IC</strong>F File 21270001The second line contains a # sign followed by <strong>the</strong> user comments contained in<strong>the</strong> radio. The <strong><strong>IC</strong>OM</strong> programs use this to provide a description when opening<strong>the</strong> file. An example second line is:Second Line of <strong>IC</strong>F File #User CommentBoth <strong>the</strong>se lines are in normal, unencoded, text.<strong>IC</strong>F File Coding.The remainder of <strong>the</strong> <strong>IC</strong>F file contains <strong>the</strong> memory data that would be sent to (orreceived from) <strong>the</strong> radio. Only <strong>the</strong> starting memory location, length of data, and<strong>the</strong> data itself is recorded. The checksum is not recorded in an <strong>IC</strong>F file. Thedata in an <strong>IC</strong>F File is encoded using a simple coding system. Lines in an .<strong>IC</strong>F filelook like this:Encoded .<strong>IC</strong>F dataHex data after encodingremoved (and with <strong>the</strong>Carriage Return and LineFeed removed)ggjghghimkggggggggoggmhimmggggggggoggm0030101264000000008006126600000000800628

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!