[chirp_devel] Quansheng Programming

Dan Smith
Fri Nov 2 13:35:56 PDT 2012


> # Copyright 2011 Dan Smith <dsmith at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20121102/7b12d1f7/attachment-0001.bin 


More information about the chirp_devel mailing list