[go: up one dir, main page]

Menu

Tree [073328] 3.0 / tests /
 History

HTTPS access


File Date Author Commit
 config 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 rigctl.test 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 testbcd.test 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 testfreq.test 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 testloc.test 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 Makefile.am 2015-09-03 Nate Bargmann Nate Bargmann [26334f] Add library paths for tests.
 README 2012-03-02 Nate Bargmann Nate Bargmann [47ec7e] Update man pages for sorted -l output
 dumpcaps.c 2012-01-06 Stephane Fillod Stephane Fillod [da8013] Add support for RIG_PORT_UDP_NETWORK
 dumpcaps_rot.c 2012-01-06 Stephane Fillod Stephane Fillod [da8013] Add support for RIG_PORT_UDP_NETWORK
 dumpmem.c 2013-12-11 Nate Bargmann Nate Bargmann [6ea09a] Clean up build system, fix test programs
 example.c 2012-01-08 Nate Bargmann Nate Bargmann [1229a0] Assure NULL terminated strings in tests programs.
 listrigs.c 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 memcsv.c 2012-01-29 Stephane Fillod Stephane Fillod [8b2690] Quell cppcheck warnings
 memload.c 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 memsave.c 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 rig_bench.c 2012-01-08 Nate Bargmann Nate Bargmann [1229a0] Assure NULL terminated strings in tests programs.
 rig_split_lst.awk 2013-09-19 Nate Bargmann Nate Bargmann [1bac09] Remove remaining references to rpc
 rigctl.1 2014-05-02 Bill Somerville Bill Somerville [182a01] Fix manpage errors.
 rigctl.c 2014-03-07 Nate Bargmann Nate Bargmann [fafbb7] rigctl.c/rotctl.c: fix closing brace placement
 rigctl_parse.c 2015-02-19 Stephane Fillod Stephane Fillod [5b5386] rigctl: help "?" at set_vfo/set_split_vfo prompt
 rigctl_parse.h 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 rigctld.8 2013-09-19 Nate Bargmann Nate Bargmann [1bac09] Remove remaining references to rpc
 rigctld.c 2013-09-16 Nate Bargmann Nate Bargmann [36f5f4] Revert to previous handling of getaddrinfo()
 rigmatrix.c 2012-01-06 Stephane Fillod Stephane Fillod [da8013] Add support for RIG_PORT_UDP_NETWORK
 rigmatrix_head.html 2001-06-05 Stéphane Fillod, F8CFE Stéphane Fillod, F8CFE [ef995f] initial release
 rigmem.1 2012-02-03 Nate Bargmann Nate Bargmann [8c145c] Merge branch 'API_3'
 rigmem.c 2012-01-08 Nate Bargmann Nate Bargmann [1229a0] Assure NULL terminated strings in tests programs.
 rigsmtr.1 2009-02-20 Stéphane Fillod, F8CFE Stéphane Fillod, F8CFE [3aeba7] copyright year
 rigsmtr.c 2012-01-08 Nate Bargmann Nate Bargmann [1229a0] Assure NULL terminated strings in tests programs.
 rigswr.1 2012-02-03 Nate Bargmann Nate Bargmann [8c145c] Merge branch 'API_3'
 rigswr.c 2012-01-08 Nate Bargmann Nate Bargmann [1229a0] Assure NULL terminated strings in tests programs.
 rotctl.1 2014-05-02 Bill Somerville Bill Somerville [182a01] Fix manpage errors.
 rotctl.c 2014-03-07 Nate Bargmann Nate Bargmann [fafbb7] rigctl.c/rotctl.c: fix closing brace placement
 rotctl_parse.c 2014-05-02 Bill Somerville Bill Somerville [e93927] Add read commands from stdin and pause command ...
 rotctl_parse.h 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 rotctld.8 2013-03-13 Nate Bargmann Nate Bargmann [911497] man page corrections
 rotctld.c 2013-09-16 Nate Bargmann Nate Bargmann [36f5f4] Revert to previous handling of getaddrinfo()
 sprintflst.c 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 sprintflst.h 2011-08-24 Stephane Fillod Stephane Fillod [b9b270] License boiler plate merge
 testbcd.c 2013-12-11 Nate Bargmann Nate Bargmann [6ea09a] Clean up build system, fix test programs
 testctld.pl 2012-10-05 Nate Bargmann Nate Bargmann [02ef0d] Merge branch 'master' of ssh://hamlib.git.sourc...
 testfreq.c 2013-12-11 Nate Bargmann Nate Bargmann [6ea09a] Clean up build system, fix test programs
 testloc.c 2012-01-12 Nate Bargmann Nate Bargmann [5f3226] Remove ASCII degree symbol
 testrig.c 2013-12-11 Nate Bargmann Nate Bargmann [6ea09a] Clean up build system, fix test programs
 testrotctld.pl 2012-10-05 Nate Bargmann Nate Bargmann [02ef0d] Merge branch 'master' of ssh://hamlib.git.sourc...
 testtrn.c 2013-12-11 Nate Bargmann Nate Bargmann [6ea09a] Clean up build system, fix test programs
 uthash.h 2012-02-14 Nate Bargmann Nate Bargmann [f3be5c] Merge branch 'master' of ssh://hamlib.git.sourc...

Read Me

You will find in the tests/ subdirectory various programs to exercise
the Hamlib library.

Most of the time, you will have to make sure that the backend for
your rig is loaded by passing the model number of your rig by argument.
If you don't know the number, listrigs can give it to you,
"rigctl --list" will also output something like this:

    Rig#    Mfg           Model           Vers.
    1       Hamlib        Dummy           0.1
    105     Yaesu         FT-747GX        0.1
    210     Kenwood       TS-870S         0.1
    311     Icom          IC-706MkIIG     0.2
    1506    Winradio      WR-3500         0.6
    [etc.]

In any case, you are encouraged to check for correct initialization
by reading the source code, at the begining of the main().  Check also
that the program is setup for your rig path strncpy(my_rig->state.rig_path...

dumpcaps  - Output the caps contents of a rig
dumpmem   - Dump the memory contents of the rig
listrigs  - Condensed list of all the models supported by backends
rigmatrix - Output the HTML table of supported rigs, with .png files for freqs
            (Better call 'make rigmatrix.html' which builds the HTML table
            and additional information in sup-info subdirectory.)
testbcd   - Simple program to test BCD conversion, takes a number as arg.
testfreq  - Simple program to test Freq conversion, takes a number as arg.
testrig   - Sample program calling common API calls, uses rig_probe
testtrn   - Sample program using event notification (transceive mode)
rigctl    - Combined tool to execute any call of the API, see man page
rigmem    - Combined tool to load/save content of rig memory, see man page
rotctl    - Similar to 'rigctl' but for rotators, see man page
rigctld   - A simple daemon to process 'rigctl' commands received over a
            network socket.  Useful for scripting languages or remote access
            via an SSH tunnel (unsecure program).  See man page.
rotctld   - A simple daemon to process 'rotctl' commands received over a
            network socket.  Useful for scripting languages or remote access
            via an SSH tunnel (unsecure program).  See man page.
testctld.pl A Perl program to test 'rigctld' and provide some example code.