[hpsdr] Ghpsdr3 and the Android client

Sid Boyce g3vbv at blueyonder.co.uk
Wed Sep 5 15:31:08 PDT 2012


Nice try but not a cat in hell's chance even if he were master as he 
doesn't have a login ID, so he can't TX.
Typical local report of a slave trying to control my HiQSDR:-
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] Slave client attempted master command mic
[2012-09-05 23:19:48] RX0: client disconnection from 58.218.199.250:3098
[2012-09-05 23:19:52] RX0: client disconnection from 93.63.13.145:39916
73 ... Sid.

On 05/09/12 22:42, Sid Boyce wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> ghpsdr3-alex supports other hardware besides Softrock.
> HPSDR/SDR1000, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, 
> HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.
>
> The first client that connects becomes master and all subsequent 
> clients are slaves.
>
> Only the master client has control, slaves can only listen.
>
> What's lacking is there is no way for a client to know whether he is 
> master or slave other than that his control commands are ineffective.
>
> In the dspserver log screen locally I will see a report stating that a 
> slave client has tried e.g a set frequency command.
> 73 ... Sid.
>
> On 05/09/12 14:41, Dave Larsen wrote:
>> ***** High Performance Software Defined Radio Discussion List *****
>>
>> Gar  --
>>
>> I just want to reinforce the idea that ghpsdr3; ghpsdr3-alex and
>> ghpsdr3-Qt all started from ghpsdr3 code they are not compatible.
>>
>> The reason is the the purpose each branch was developed to address.
>>
>> ghpsdr3 was mostly written in c with several dependence.  It compiles
>> on Linux and windows with some work
>>
>> ghpsdr3-alex is a design to support Softrock and sd-widget with over
>> the network connections it continues to have many dependencies
>>
>> ghpsdr3-Qt is a C++ Qt implementation with only fftw3 library as a
>> dependency.  It will compiles on Linux , Mac and Windows and uses a
>> new command protocol.
>>
>> Remember HPSDR group is a group of experimenters, we are trying lots
>> of new ideas all the time.  You will have to either get the latest
>> code for the branch or follow the list discussion to understand the
>> differences.
>>
>> Dave, KV0S
>>
>> On Wed, Sep 5, 2012 at 1:55 AM, Berndt Josef Wulf <wulf at ping.net.au> 
>> wrote:
>>> ***** High Performance Software Defined Radio Discussion List *****
>>>
>>> G'day Gar,
>>>
>>> Are you talking ghpsdr3-qt for Android? If so, the server commands have
>>> changed. I had the same problems trying using the old commands on
>>> ghpsdr3-qt for Raspberry Pi. Here is a list of the new commands as
>>> described in trunk/src/QtHPSDR/client/client.cpp
>>>
>>> attach <rx>
>>>
>>> detach <rx>
>>>
>>> client <rx> <client type>
>>>
>>> start <rx> <iq|bandscope> <remote address> <remote port>
>>>
>>> stop <rx> <iq|bandscope>
>>>
>>> frequency <rx> <frequency> [<band>]
>>>
>>> mox <rx> <state>
>>>
>>> Hope this helps.
>>>
>>> 73, Berndt
>>> VK5ABN
>>>
>>>
>>> On Tue, 2012-09-04 at 23:40 -0700, Gar Fisher wrote:
>>>> ***** High Performance Software Defined Radio Discussion List *****
>>>>
>>>> Ok, so I am the proud owner of a spanking new Google Nexus 7 
>>>> tablet.  Of course one of the first things I want to do is get John 
>>>> Melton's Android client running on it.
>>>> I go to Google play, and download this app:
>>>>
>>>> http://napan.ca/ghpsdr3/index.php/Main_Page
>>>>
>>>> This seems to run a bit, but it does not seem to allow me to change 
>>>> the frequencies (using the servers listed in the app).  I tried it 
>>>> with my own dspserver which I built over a year ago,
>>>> but alas, no joy.  It seems to connect ok, but dspserver doesn't 
>>>> seem to recognize any of the commands being sent by the client, and 
>>>> then disconnects from the (Android) Client.
>>>>
>>>> Anybody have any ideas on what's wrong?
>>>>
>>>> As an aside to this, I downloaded a new copy of ghpsdr3 from the 
>>>> TAPR SVN and attempted to build it (thinking my old copy might be 
>>>> out of date).  I was successful in building the DttSP lib, and 
>>>> dspserver, but building the server and receiver produced error 
>>>> messages.
>>>>
>>>> The error messages are mostly undefined references to libusb, even 
>>>> though I have this installed.  There is also another undefined ref 
>>>> to something called pthread_create.
>>>>
>>>> I also appear to be missing glibconfig.h.
>>>>
>>>>
>>>> I was successful in building this stuff a few years ago with an 
>>>> older version of ubuntu, but can't seem to get everything built 
>>>> here.  I am using Ubuntu 12.04
>>>>
>>>> Your help in this matter would be greatly appreciated.
>>>>
>>>>
>>>> 73
>>>>
>>>> Gar Fisher VA7GRR
>>>>
>>>>
>
>


-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


 1346884268.0


More information about the Hpsdr mailing list