[chirp_devel] Luiton/Baojie Driver
Jim Unroe
Sat Mar 10 05:33:27 PST 2018
On Fri, Mar 9, 2018 at 10:24 AM, Rick DeWitt <aa0rd at yahoo.com> wrote:
> Couple of implementation questions-
> Your Settings > Extra method didn't 'take' for my model, OK if I move that
> to get_settings?
Are you talking about "Receiving mode", "Launch signaling", "Transmit
end signaling", "Compandor and Scrambler"? These are "extra"
per-channel settings and are how and where they should be.
What do you mean they didn't take? Are you sure? All "extra"
per-channel settings are accessed through the Memory Properties
editor.
1. Highlight one or more memory rows
2. Click the [Properties] button near the top of the spreadsheet style
memory editor (and alternate method would be to right click on a
highlight memory row and choose "Properties" from the menu that
appears)
3. Now with the "Memory Properties" editor displayed click on the "Other" tab.
Now you should see the 5 "extra" settings. If these settings don't
work on your radio (I bet they do), then skip them when it isn't the
LT-725UV. Something like...
if self.MODEL == "LT-725UV":
# Extra
mem.extra = RadioSettingGroup("extra", "Extra")
if _mem.recvmode == 0xFF:
val = 0x00
else:
val = _mem.recvmode
recvmode = RadioSetting("recvmode", "Receiving mode",
RadioSettingValueList(LIST_RECVMODE,
LIST_RECVMODE[val]))
mem.extra.append(recvmode)
if _mem.botsignal == 0xFF:
val = 0x00
else:
val = _mem.botsignal
botsignal = RadioSetting("botsignal", "Launch signaling",
RadioSettingValueList(LIST_SIGNAL,
LIST_SIGNAL[val]))
mem.extra.append(botsignal)
if _mem.eotsignal == 0xFF:
val = 0x00
else:
val = _mem.eotsignal
eotsignal = RadioSetting("eotsignal", "Transmit end signaling",
RadioSettingValueList(LIST_SIGNAL,
LIST_SIGNAL[val]))
mem.extra.append(eotsignal)
compandor = RadioSetting("compandor", "Compandor",
RadioSettingValueBoolean(bool(_mem.compandor)))
mem.extra.append(compandor)
scrambler = RadioSetting("scrambler", "Scrambler",
RadioSettingValueBoolean(bool(_mem.scrambler)))
mem.extra.append(scrambler)
> Can I pull the 'Experimental' warning after testing?
Sure.
> Any problem if I append the model string to MEM_FORMAT for access by the
> browser tab? Shouldn't effect anything....?
I'm not sure what you mean by this (but it's early). The "Browser" tab
seems to work fine for me
Jim KC9HI
More information about the chirp_devel
mailing list