Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sdrstring(3) [debian man page]

ici::doc::pod3::sdrstring(3)				       ICI library functions				      ici::doc::pod3::sdrstring(3)

NAME
sdrstring - Simple Data Recorder string functions SYNOPSIS
#include "sdr.h" Object sdr_string_create (Sdr sdr, char *from); Object sdr_string_dup (Sdr sdr, Object from); int sdr_string_length (Sdr sdr, Object string); int sdr_string_read (Sdr sdr, char *into, Object string); DESCRIPTION
SDR strings are used to record strings of up to 255 ASCII characters in the heap space of an SDR. Unlike standard C strings, which are terminated by a zero byte, SDR strings record the length of the string as part of the string object. To store strings longer than 255 characters, use sdr_malloc() and sdr_write() instead of these functions. Object sdr_string_create(Sdr sdr, char *from) Creates a "self-delimited string" in the heap of the indicated SDR, allocating the required space and copying the indicated content. from must be a standard C string for which strlen() must not exceed 255; if it does, or if insufficient SDR space is available, 0 is returned. Otherwise the address of the newly created SDR string object is returned. To destroy, just use sdr_free(). Object sdr_string_dup(Sdr sdr, Object from) Creates a duplicate of the SDR string whose address is from, allocating the required space and copying the original string's content. If insufficient SDR space is available, 0 is returned. Otherwise the address of the newly created copy of the original SDR string object is returned. To destroy, use sdr_free(). int sdr_string_length(Sdr sdr, Object string) Returns the length of the indicated self-delimited string (as would be returned by strlen()), or -1 on any error. int sdr_string_read(Sdr sdr, char *into, Object string) Retrieves the content of the indicated self-delimited string into memory as a standard C string (NULL terminated). Length of into should normally be SDRSTRING_BUFSZ (i.e., 256) to allow for the largest possible SDR string (255 characters) plus the terminating NULL. Returns length of string (as would be returned by strlen()), or -1 on any error. SEE ALSO
sdr(3), sdrlist(3), sdrtable(3), string(3) perl v5.14.2 2012-05-25 ici::doc::pod3::sdrstring(3)

Check Out this Related Man Page

siqs_ftdi(1)							   User Manuals 						      siqs_ftdi(1)

NAME
siqs_ftdi - Sdr IQ Server DESCRIPTION
This program attempt to mimic the sdrxx server created by Moe WHEATLEY in order to provide SDR-IQ with a network interface compatible with that of more sophisticated radio from RFSPACE. Alas the sdrxx server source code resulted unfeasible to port to Linux, but was invaluable as a reference. A special mention deservers Ken N9VV that put his radio, Linux computer and Internet connection to my disposal in order to develop and test this software. The application is compatible with the SDR-IP and NetSDR networked software defined radio receivers made by RFSPACE, Inc. of Atlanta, GA Running with other receivers that have USB interfaces (such as the SDR-IQ) is made possible by the siqs_ftdi program. SYNOPSIS
siqs_ftdi In order to run CuteSDR you have to remove from your system the standard Linux kernel FTDI driver; this is feasible at run time: sudo rmmod usbserial ftdi_sio Next check that the radio is correctly linked to the system: lsusb Bus 006 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC If everything is fine, open a terminal window and start the server: siqs_ftdi ------ ------ SDR-IQ server for Cute SDR ------ ------ libftdi version ------ ------ (C) 2012, Ken N9VV && Andrea IW0HDV interfaces = 2: lo - 127.0.0.1 eth0 - 192.168.10.1 SRXXX STARTED: size 56 Press q <ENTER> to exit. Listening for TCP connections on port 50000 socket: 6 Last, run CuteSDR from another terminal window, and into the menu Setup->Network press "Find SDR" push button or manually insert the net- work data. The auto discovery proceudre works only if the CuteSDR and the server are placed on the same LAN (broadcast domain). Please not that the server is not yet completed with all the features: e.g. the discovery messages is only partially supported. SEE ALSO
CuteSDR (1) http://groups.yahoo.com/group/CuteSDR/ or the rfspace web site: http://www.rfspace.com/RFSPACE/CuteSDR.html COPYRIGHT
Copyright (C) 2012 Andrea Montefusco IW0HDV This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http:www.gnu.org/licenses/>. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. SDR
1.0.4 siqs_ftdi(1)
Man Page