2 Nov
2012
2 Nov
'12
1:35 p.m.
# Copyright 2011 Dan Smith dsmith@danplanet.com
This isn't your problem, but be sure to change this :)
def _identify(self): """Do the Quansheng identification dance""" for _i in range(0, 5): print "SENT:\n%s" % util.hexprint(self._querymodel) self.pipe.write(self._querymodel + "\r")
This isn't replicating what your trace shows. Why are you sending an extra carriage return?
resp = self.pipe.read(9) if len(resp) != 9: print "Got:\n%s" % util.hexprint(resp) print "Retrying identification..."
Presumably you get nothing back, is that right?
--
Dan Smith
www.danplanet.com
KK7DS