[chirp_devel] Quansheng Programming

The Silver Fox
Fri Nov 2 13:53:02 PDT 2012


Just another guess at something to try.  I do get answers from the radio at
certain port settings but nothing that matches what I expect.  I tried big
endian, little endian, swapped bytes, and got nothing intelligible.  I used
gtkterm and got similar junk.  The responses do not make sense.  The only
thing I noticed is that under Linux the radio blinks its display on chirp
startup whether or not the radio is on.  It does not do that under windows.

Thanks for the advice.
Alan


-----Original Message-----
From: chirp_devel-bounces at intrepid.danplanet.com
[mailto:chirp_devel-bounces at intrepid.danplanet.com] On Behalf Of Dan Smith
Sent: Friday, November 02, 2012 1:36 PM
To: chirp_devel at intrepid.danplanet.com
Subject: Re: [chirp_devel] Quansheng Programming


> # 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





More information about the chirp_devel mailing list