> Yes, this would be the obvious hard part. My immediate interest is to
> "decode" the data stream & establish the protocol coming out of the
> controller. Once that's done, each radio's control format can be
> individually addressed.
It's documented in several places. Here's comments from my code that
has the essentials:
//*------------------------------------------------------------------------------
"Link Comm RLC3" / "Generic" / "Doug Hall" format:
Byte lsb bit of byte 1 shifted in first
Byte 1: 8 user functions, high = off, low = on
(first byte clocked in)
Byte 2: B7 - TX power, 1 = on
B6 - RX power, 1 = on
B5, B4 - Tx power:
B5 0, B4 0 = low
B5 1, B4 0 = medium
B5 0, B4 1 = high
B5 1, B4 1 = no power change
B0 -> B3 Band select:
0 - UHF 430 (43x.xxx Mhz)
1 - 1250 (125x.xxx Mhz)
2 - 2 meters (14x.xxx Mhz)
3 - 220 (22x.xxx Mhz)
4 - UHF 440 (44x.xxx Mhz)
5 - 1270 (127x.xxx Mhz)
6 - 1280 (128x.xxx Mhz)
7 - 1290 (129x.xxx Mhz)
8 - 1260 (126x.xxx Mhz)
9 - 1240 (124.xxx Mhz)
A - UHF 420 (42x.xxx Mhz)
B - 900 (90x.xxx Mhz)
C - 6 meters (05x.xxx Mhz)
D - 10 meters (02x.xxx Mhz)
E - 130 Mhz (13x.xxx Mhz)
If the band select nibble is not in the above list then
the frequency will be used as the transmitter offset for
duplex operations.
Byte 3: B7 - Radio power, 1 = on
B6 - 5 Khz bit, 1 = +5 Khz
B5 -> B4 Offset:
B5 0, B4 0 = negative Tx offset
B5 0, B4 1 = positive Tx offset
B5 1, B4 0 = simplex
B5 1, B4 1 = negative 20 Mhz Tx offset (1200 radios only)
B0 -> B3 Mhz digit (note: 100 Mhz and 10 Mhz digits are implied)
Byte 4: B4 -> B7 100 Khz digit
B0 -> B3 10 Khz digit
Byte 5: B7 - 1 = PL decode enable
B6 - 1 = PL encode enable
B0 -> B5 = PL tone (Communications Specialists TS64 number - 1)
Byte 6: B4 -> B7 Rx level
B0 -> B3 Squelch level
Byte 7: B4 -> B7 Memory channel
B3 - Memory channel 16
B2 - Memory save
B1 - Open squelch
B0 - Scan on
Communications Specialists TS64 numbers:
1 = 67.0Hz 2 = 71.9Hz 3 = 74.4Hz 4 = 77.0Hz 5 = 79.7Hz
6 = 82.5Hz 7 = 85.4Hz 8 = 88.5Hz 9 = 91.5Hz 10 = 94.8Hz
11 = 97.4Hz 12 = 100.0Hz 13 = 103.5Hz 14 = 107.2Hz 15 = 110.9Hz
16 = 114.8Hz 17 = 118.8Hz 18 = 123.0Hz 19 = 127.3Hz 20 = 131.8Hz
21 = 136.5Hz 22 = 141.3Hz 23 = 146.2Hz 24 = 151.4Hz 25 = 156.7Hz
26 = 162.2Hz 27 = 167.9Hz 28 = 173.8Hz 29 = 179.9Hz 30 = 186.2Hz
31 = 192.8Hz 32 = 203.5Hz 33 = 210.7Hz 34 = 218.1Hz 35 = 225.7Hz
36 = 233.6Hz 37 = 241.8Hz 38 = 250.3Hz 39 = 254.1Hz 40 = 69.3Hz
41 = 159.8Hz 42 = 165.5Hz 43 = 171.3Hz 44 = 177.3Hz 45 = 183.5Hz
46 = 189.9Hz 47 = 196.6Hz 48 = 199.5Hz 49 = 206.5Hz 50 = 229.1Hz
Data is clocked in on falling edge of clock
------------------------------------------------------------------------------*/
73's Skip WB6YMH
http://groups.yahoo.com/group/xcat/
http://groups.yahoo.com/group/thelinkbox/