| 1 |
Sdr IQ Server |
| 2 |
------------------------------------------- |
| 3 |
Copyright (C) 2012 Andrea Montefusco IW0HDV |
| 4 |
|
| 5 |
|
| 6 |
0. Introduction |
| 7 |
=============== |
| 8 |
|
| 9 |
This program attempt to mimic the sdrxx server created by Moe WHEATLEY in order to |
| 10 |
provide SDR-IQ with a network interface compatible with that of more sophisticated radio |
| 11 |
from RFSPACE. |
| 12 |
Alas the sdrxx server source code resulted unfeasible to port to Linux, but was invaluable |
| 13 |
as reference for write |
| 14 |
|
| 15 |
A special mention deservers Ken N9VV that put his radio, Linux computer and Internet connection |
| 16 |
to my disposal in order to develop and test this software. |
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
1. Build |
| 21 |
======== |
| 22 |
|
| 23 |
In order to compile this program and CuteSDR, you need to install the libftdi support and cmake: |
| 24 |
|
| 25 |
sudo apt-get install libftdi-dev cmake subversion # Debian /Ubuntu |
| 26 |
sudo rpm install libftdi-devel cmake subversion # RH/Fedora/OpenSuse |
| 27 |
|
| 28 |
After that you can extract the |
| 29 |
|
| 30 |
svn co https://cutesdr.svn.sourceforge.net/svnroot/cutesdr/branches/iw0hdv/linux/trunk/ cutesdr-lx |
| 31 |
|
| 32 |
Next compile with the following command: |
| 33 |
|
| 34 |
cd cutesdr-lx |
| 35 |
mkdir build |
| 36 |
cd build |
| 37 |
cmake ../ |
| 38 |
make -j4 |
| 39 |
sudo make install |
| 40 |
|
| 41 |
|
| 42 |
2. Run |
| 43 |
====== |
| 44 |
|
| 45 |
In order to run CuteSDR you have to remove from your system the standard Linux kernel FTDI driver; |
| 46 |
this is feasible at run time: |
| 47 |
|
| 48 |
sudo rmmod usbserial ftdi_sio |
| 49 |
|
| 50 |
Next check that the radio is correctly linked to the system: |
| 51 |
|
| 52 |
lsusb |
| 53 |
|
| 54 |
.... |
| 55 |
Bus 006 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC |
| 56 |
.... |
| 57 |
|
| 58 |
If everything is fine, open a terminal window and start the server: |
| 59 |
|
| 60 |
siqs |
| 61 |
------ |
| 62 |
------ SDR-IQ server for Cute SDR |
| 63 |
------ |
| 64 |
------ libftdi version |
| 65 |
------ |
| 66 |
------ (C) 2012, Ken N9VV && Andrea IW0HDV |
| 67 |
|
| 68 |
interfaces = 2: |
| 69 |
lo - 127.0.0.1 |
| 70 |
eth0 - 192.168.10.1 |
| 71 |
SRXXX STARTED: size 56 |
| 72 |
Press q <ENTER> to exit. |
| 73 |
Listening for TCP connections on port 50000 socket: 6 |
| 74 |
|
| 75 |
|
| 76 |
Last, run CuteSDR from another terminal window, and into the menu Setup->Network press "Find SDR" push button |
| 77 |
or manually insert the network data. |
| 78 |
The auto discovery proceudre works only if the CuteSDR and the server are placed |
| 79 |
on the same LAN (broadcast domain). |
| 80 |
|
| 81 |
Please not that the server is not yet completed with all the features: e.g. the discovery |
| 82 |
messages is only partially supported. |
| 83 |
|
| 84 |
|