[chirp_devel] [PATCH] [px777] fix no-tone identifier. Fixes #363
Tom Hayward
Fri Dec 28 15:24:42 PST 2012
On Fri, Dec 28, 2012 at 3:10 PM, Dan Smith <dsmith at danplanet.com> wrote:
>> - return field[0].get_raw() == "\xFF"
>> + return int(field) in [0, 16665]
>
> Hmm, can you explain this?
No, I can't explain it. 16665 is the magic number used in the PX-777
to indicate no tone. Here's an example:
struct {
rx_freq: 4:[(15390000)]
tx_freq: 4:[(15390000)]
rx_tone: 2:[(16665)]
tx_tone: 2:[(16665)]
_3_unknown_1: 0x02
_2_unknown_1: 0x03 (......11b)
power_high: 0x01 (.......1b)
iswide: 0x01 (.......1b)
skip: 0x01 (.......1b)
bclo: 0x00 (......00b)
_2_unknown_2: 0x01 (.......1b)
_4_unknown1: 0x7F (.1111111b)
pttid: 0x01 (.......1b)
unknown: 0xFF
} memory (16 bytes at 0x0590)
struct {
name: 6:[0x19,0x0C,0x0F,0x12,0x1B,0x0E]
pad: 2:[0xFF,0x00]
} names (8 bytes at 0x0B18)
Tom KD7LXL
More information about the chirp_devel
mailing list