Debian Codegraph @

tests/README

raw
1
2 You will find in the tests/ subdirectory various programs to exercise
3 the Hamlib library.
4
5 Most of the time, you will have to make sure that the backend for
6 your rig is loaded by passing the model number of your rig by argument.
7 If you don't know the number, listrigs can give it to you,
8 "rigctl --list" will also output something like this:
9
10 Rig# Mfg Model Vers.
11 1 Hamlib Dummy 0.1
12 105 Yaesu FT-747GX 0.1
13 210 Kenwood TS-870S 0.1
14 311 Icom IC-706MkIIG 0.2
15 1506 Winradio WR-3500 0.6
16 [etc.]
17
18 In any case, you are encouraged to check for correct initialization
19 by reading the source code, at the beginning of the main(). Check also
20 that the program is setup for your rig path strncpy(HAMLIB_RIGPORT(my_rig)->pathname...
21
22 dumpcaps - Output the caps contents of a rig
23 dumpmem - Dump the memory contents of the rig
24 listrigs - Condensed list of all the models supported by backends
25 rigmatrix - Output the HTML table of supported rigs, with .png files for freqs
26 (Better call 'make rigmatrix.html' which builds the HTML table
27 and additional information in sup-info subdirectory.)
28 testbcd - Simple program to test BCD conversion, takes a number as arg.
29 testfreq - Simple program to test Freq conversion, takes a number as arg.
30 testrig - Sample program calling common API calls, uses rig_probe
31 rigctl - Combined tool to execute any call of the API, see man page
32 rigmem - Combined tool to load/save content of rig memory, see man page
33 rotctl - Similar to 'rigctl' but for rotators, see man page
34 rigctld - A simple daemon to process 'rigctl' commands received over a
35 network socket. Useful for scripting languages or remote access
36 via an SSH tunnel (insecure program). See man page.
37 rotctld - A simple daemon to process 'rotctl' commands received over a
38 network socket. Useful for scripting languages or remote access
39 via an SSH tunnel (insecure program). See man page.
40 testctld.pl A Perl program to test 'rigctld' and provide some example code.