[chirp_devel] Baofeng UV-B5/B6 'Unsupported Model' Problem
Dan Smith
Fri Jul 26 19:41:42 PDT 2013
> The second part changes based on what settings have been programmed
> in the radio. I've seen at least 2 different values in addition to
> the original 'x'.
Ah, I should have looked at the code, I thought you were making an
example. If there are three known values, I'd just check for them. If
there end up being lots, then maybe we should do something more like
what you had where we try to capture the first one. Checking for any of
the three is best done like this:
ack = radio.pipe.read(1)
if ack not in ('x', 'y', 'z'):
raise ...
--
Dan Smith
www.danplanet.com
KK7DS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130726/237c7890/attachment-0001.bin
More information about the chirp_devel
mailing list