26 Jul
2013
26 Jul
'13
5:28 p.m.
Ok looking at tmv71.py code, seems like I could do something like this in __init__?
self.pipe.setBaudrate(300) self.pipe.write("\x00") self.pipe.setBaudrate(1200) ....
Yeah, but it's better to do that during the clone in and out part, as there are places in the code that need to instantiate a driver without it talking to the radio at all. Depending on the way your radio works, it'd be best to try to make it a clone-mode driver, where you stuck down the entire memory and put it back, instead of doing it memory-by-memory, if that's feasible. Then, you do your negotiation and such in the upload and download routines.
--
Dan Smith
www.danplanet.com
KK7DS