Help with .MDF file contents needed

The General forum is where users can discuss any topic regarding Motorola communications equipment - hardware, software, etc. There are also several focused forums on this board, so please take the time to ensure that your questions doesn't fall into one of those categories before posting here!

Moderator: Queue Moderator

Post Reply
Tom
Posts: 9
Joined: Sat Apr 06, 2002 4:00 pm

Post by Tom »

Hi,

Inspired by the "Hoffis" pages here, I'm trying to understand more about the contents of .MDF files.

It seems it should be easy enough to create a simple MDF patch program that would allow me to change a field in the file using "plain-text" instead of hacking raw bytes with some hex editor.

As a start, I've been working on a .MDF file dumper for GP300.MDF files.

I've got something now which will dump the entire file in it's raw form and have a couple of questions that hopefully you guys can help me out with!

So far most of the .MDF contents look pretty straightforward.

1) I guess first of all am I reinventing the wheel or is there stuff out there already to do this?

Between the frequency-edge list and the model information list there's table indexed by a byte in the model info list.

2) Does anyone know exactly what info this table contains and what the decode for it is?

For example:
for a M33GMC09C2xx radio, the array index 01 in the model feature list points to the row shown below in the "mystery" table.

[snip]
(036.0)(042.0) (036.0)(042.0) (036.0)(042.0) 000c
(042.0)(050.0) (042.0)(050.0) (042.0)(050.0) 000d
(000.0)(000.0) (000.0)(000.0) (000.0)(000.0) 000e
----------------------------------------
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2e 5a 6b 6b 97 00 00 64 04 00 00 00 00 40 11 66 <-- ...points to this row
1a 4b 65 65 97 00 00 64 04 00 00 00 00 40 11 66
28 46 40 59 97 00 00 64 04 00 00 00 00 40 11 66
1e 3c 4d 4d 97 00 00 64 04 00 00 00 00 40 11 66
1e 32 6b 6b c3 00 0b 5a 04 00 00 00 00 40 11 66
2a 26 6b 6b c3 00 0b 64 01 00 00 00 00 40 11 66
1c 44 4d 4d 97 00 00 64 04 00 00 00 00 40 11 66
0f 32 34 41 c3 00 0b 5a 04 81 00 00 00 40 11 66
24 4b 6b 6b c3 00 0b 5f 0b 00 00 00 00 40 11 66
1e 05 4d 4d 97 00 00 64 04 00 00 00 00 40 11 66
24 0c 4d 4d 97 00 00 64 04 00 00 00 00 40 11 66
0f 32 4d 4d c3 00 0b 5a 04 81 00 00 00 40 11 66
28 46 59 59 c3 00 0b 62 0a 00 00 00 00 46 2a 66
----------------------------------------
1b 02 00 |M33GMC29C2__| 03 01 10 19 dc27
1b 07 00 |M33GMC09C2__| 03 01 10 19 dc27
[snip] ^
| index in this field... |_

e.g. What do the values:
2e 5a 6b 6b 97 00 00 64 04 00 00 00 00 40 11 66
decode to in plain-text?

3) Does anyone know what the bits for the 16 bit "radio feature" word in the last field of the model info struct signify? (the "dc27").

Thanks and 73s!

Tom
Tom
Posts: 9
Joined: Sat Apr 06, 2002 4:00 pm

Post by Tom »

whoops, it looks like the proportional font used on the PC will mess up my crudely drawn arrows, sorry.

1b 07 00 |M33GMC09C2__| 03 01 <--- this position is the field I think the table index is pointed to by.

Tom
Post Reply

Return to “General Motorola Solutions & Legacy Radio Discussion”