[chirp_devel] Quansheng Programming

The Silver Fox
Thu Nov 1 19:32:26 PDT 2012


Not sure but the trace of the program that works opens, closes and re-opens
the connection before sending.  I have tried different baud rates, stop
bits, and byte sizes but the radio does not seem to respond to the commands
as it does in the serial tracing.
73,
Alan - W6ARH


-----Original Message-----
From: chirp_devel-bounces at intrepid.danplanet.com
[mailto:chirp_devel-bounces at intrepid.danplanet.com] On Behalf Of Dan Smith
Sent: Thursday, November 01, 2012 6:38 PM
To: chirp_devel at intrepid.danplanet.com
Subject: Re: [chirp_devel] Quansheng Programming

> I have yet to be successful opening a dialog with the radio.  I am 
> almost at the point of giving up.  The last thing for me to try is to 
> close the serial port and re-open it.  Rather than rooting through the 
> code I thought I would ask if this can be accomplished and how?

Why do you think that will help? What sort of troubles are you running into?

The serial port is opened right before it calls your driver:

ser = serial.Serial(port=settings.port,
                    baudrate=rclass.BAUD_RATE,
                    rtscts=rclass.HARDWARE_FLOW,
                    timeout=0.25)

So, you can do that again in your driver for debugging if you think it will
help. However, I'd encourage you to tell us what you've tried, what you've
learned, and ask for help. There's a lot of collective knowledge about
reverse engineering radios here :)

--
Dan Smith
www.danplanet.com
KK7DS





More information about the chirp_devel mailing list