[hpsdr] Need input from someone smarter than I

Jeremy McDermond mcdermj at xenotropic.com
Tue May 11 23:00:32 PDT 2010


On May 12, 2010, at 12:53 AM, Rob Frohne wrote:

> ***** High Performance Software Defined Radio Discussion List *****
> 
> Hi Roger,
> 
> I'm not the white knight you are hoping for; I'm the blind trying to lead the blind here, so take what I have to say with a big grain of salt.
> 
> From my understanding of the way DttSp communicates with the GUI, it is through UDP command packets.  The commands that Frank and Bob have available in are in the file update.c, and there used to be a file called commands.txt (which I couldn't find with the present distribution) which had something about the communication protocol.  I would look at update.c to see if you can pass the data you want already.  If you can't find what you need to send already there, you can probably follow the pattern that Frank and Bob have established to add your own parameter.  Once your data is in DttSp, getting the parameter to the right subprogram is just regular C parameter passing.  Of course you will also have to find in PowerSDR where the command sending occurs, but that should be easier hopefully.  (I am just hoping; I haven't even looked at the PowerSDR code, since it doesn't run on Linux.)

AFAIK DttSP doesn't use the UDP socket communication under windows.  It forks threads within the executable it's compiled with.  I believe it's a DLL under windows.   See winmain.c for the threading that happens.


> 
> 73 & Good luck!
> 
> Rob, KL7NA


--
Jeremy McDermond (NH6Z)
Xenotropic Systems
mcdermj at xenotropic.com




 1273644032.0


More information about the Hpsdr mailing list