Lax on this but as I have time I peck at it.
Tom's patch for the serial object solved the setTimeout error I was getting. I do not have the Kenwood software to sniff out the process so i am flying blind. What I have done ...
I copied the TK-760G.py file from the program and looked at the flow of the program. Making assumptions here but decided the TK-278G would be the closest configuration that would work. I tried that in the program and got the exception ...
Exception Dialog: Incorrect model ID, got v2.01k�, it not contains P2780
So it talked to the radio, this was good. No idea what the character in the diamond at the end of the exception is but I grabbed the v2.01k moniker and copied and patched the TK-278G data, putting it at the end of the string of radios listed in the TK-760.py file. Here is the patch ..
@directory.register
class TK280G_Radios(Kenwood_Serie_60G):
"""Kenwood TK-280G Radio C/C1/M/M1"""
MODEL = "TK-280G"
TYPE = "v2.01k"
# Note that 16 CH don't have banks
VARIANTS = {
"v2.01k\xff": (128, 136, 150, "C1"),
"v2.01k\xff": (128, 144, 174, "C"), # 150-174 original
"v2.01k\x15\xff": (16, 136, 150, "M1"),
"v2.01k\x14\xff": (16, 144, 174, "M") # 150-174 original
}
Started CHIRP and now I found the TK-280G in my radio list. Told it to download and got a handshake exception ...
ERROR: ----------------
ERROR: Clone failed: Handshake failed
ERROR: --- Exception Dialog: Handshake failed ---
ERROR: None
ERROR: ----------------------------
What does it send for a handshake, the radio name? Also noted that the radio only responds on channel 1. A capital P appears on the LCD and I assume that means Program.
David Davis
Toledo, OR
KG7ZMX