Up one level (MR8100 Index) Back to Home |
A breakdown of the serial data protocol used in the UNIDEN Scanning Mobile Receiver model MR8100 Author Unknown |
Data ProtocolSerial port parameters:
|
NOTE: Data can not be sent to the radio if it happens to be locked on to the priority channel. Make sure the Priority indicator is off (press PRI).
Every character sent to the radio is echoed back to the PC. It is therefore important to always flush the input buffer and confirm the received characters match those sent.
There are two types of commands that can be sent to the radio:
1 | Program a Channel / Bank Label / Priority; (send 21 bytes): | <CC> <type> <EE> <data> <text> |
2 | Request data from the radio; (send 3 bytes): | <DD> <type> <EE> then the radio responds with 18 bytes: <data> <text> |
Where the <CC>, <DD>, and <EE> are single byte values 20410, 22110, and 23810 respectively. |
In the table above, the <type> (1 byte): is one of 3 choices: Priority or Bank Label or Channel
Bit(s) | Description |
---|---|
<3:0> | 0 (unknown) |
<4> | channel is not locked out: 0, channel is locked out: 1 |
<5> | not USED: 0, USED: 1 |
<6> | not SECURE: 0, SECURE: 1 |
<7> | 0 (unknown) |
<band>; (1 byte):
Bit(s) | Description |
---|---|
<0> | IF shift: set to 1 for band 0, otherwise 0 for other bands |
<1> | set to 1 for 118135.995, otherwise 0 (this may be the AM / FM switch) |
<3:2> | 0: 29 135.995 MHz (5 kHz spacing, 0.4 µV sensitivity) 1: 136 174 MHz (5 kHz spacing, 0.5 µV sensitivity) 2: 406 512 MHz (12.5 kHz spacing, 0.5 µV sensitivity) 3: 806 956 MHz (12.5 kHz spacing, 0.6 µV sensitivity) |
<4> | 12.5 kHz decrement (range 806 956 MHz, see below) |
<7:5> | 0 (unknown) |
<freq1>, <freq2>; (total 2 bytes):
This is a 16 bit unsigned integer most significant byte followed by least
significant byte.
This integer is calculated from the frequency. There are three different calculations depending on the band in which the frequency lies.
Frequency in MHz |
band byte | Formula | Result Integer | Theoretical Frequency Range |
Channel Step | |
---|---|---|---|---|---|---|
<3:2> | <0> | |||||
29 135.995 | 0 | 1 | F x 200 + 2170 | 7970 29369 | -10.85 316.8250 | 5 kHz |
136 174 | 1 | 0 | F x 200 - 2170 | 25030 32630 | 10.85 338.5250 | 5 kHz |
406 512 | 2 | 0 | F x 80 - 868 | 31612 40092 | 10.85 830.0375 | 12.5 kHz |
806 956 * | 3 | 0 | 31806 37806 | 10.85 1649.2250 | 12.5 kHz |
* For the range 806 956 MHz perform the additional calculations with the result integer:
Note: according to specifications, 10.85 MHz is the receivers intermediate frequency.
Where <0x>, <bc> and <Bb> are bytes containing the following nibbles (4 bits):
16 ASCII characters are compressed to 14 data bytes. This is possible because only 7 out of 8 bits per byte are used (value 0 to 127). Because the high bit <7> is always 0 (unused) the bytes are left-shifted. The vacated least significant bit <0> is then used to squeeze in an extra character longitudenally. In summary:
Allowable characters in text are ASCII in the range 3210 to 12710, with the following exceptions:
Character | Decimal | Displayed as |
---|---|---|
\ | 92 | ¥ (yen) |
~ | 126 | (right arrow) |
(del) | 127 | (left arrow) |
There are no descenders for the letters: g, j, p, q, y. They do not display well.
After sending data to the radio, unlock it (continue scanning) by sending a 0 byte.
This page originally posted on 03-Jan-2008