kopia lustrzana https://github.com/Hamlib/Hamlib
* load/know more backends
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@263 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.0
rodzic
1c3685eacb
commit
63a7c713ca
|
@ -3,7 +3,7 @@
|
|||
* This programs dumps the capabilities of a backend rig.
|
||||
*
|
||||
*
|
||||
* $Id: dumpcaps.c,v 1.5 2000-10-22 16:14:53 f4cfe Exp $
|
||||
* $Id: dumpcaps.c,v 1.6 2000-11-01 23:27:26 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -43,8 +43,10 @@ int main (int argc, char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
|
||||
/* status = rig_load_backend("icom"); */
|
||||
status = rig_load_backend("ft747");
|
||||
status = rig_load_backend("icom");
|
||||
status |= rig_load_backend("ft747");
|
||||
status |= rig_load_backend("ft847");
|
||||
status |= rig_load_backend("aor");
|
||||
|
||||
if (status != RIG_OK ) {
|
||||
printf("rig_load_backend: error = %s \n", rigerror(status));
|
||||
|
@ -127,7 +129,7 @@ int main (int argc, char *argv[])
|
|||
printf("Unknown\n");
|
||||
}
|
||||
|
||||
printf("Serial speed: %d..%dbauds, %d%c%d %s\n", caps->serial_rate_min,
|
||||
printf("Serial speed: %d..%d bauds, %d%c%d %s\n", caps->serial_rate_min,
|
||||
caps->serial_rate_max,caps->serial_data_bits,
|
||||
caps->serial_parity==RIG_PARITY_NONE?'N':
|
||||
(caps->serial_parity==RIG_PARITY_ODD?'O':'E'),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* This programs list all the available the rig capabilities.
|
||||
*
|
||||
*
|
||||
* $Id: listrigs.c,v 1.1 2000-10-08 21:20:44 f4cfe Exp $
|
||||
* $Id: listrigs.c,v 1.2 2000-11-01 23:27:26 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -103,6 +103,11 @@ int main (int argc, char *argv[])
|
|||
printf("rig_load_backend: ft847 error = %s \n", rigerror(status));
|
||||
exit(3);
|
||||
}
|
||||
status = rig_load_backend("aor");
|
||||
if (status != RIG_OK ) {
|
||||
printf("rig_load_backend: aor error = %s \n", rigerror(status));
|
||||
exit(3);
|
||||
}
|
||||
|
||||
printf("Rig#\tMfg\tModel \tVers.\tStatus\tType\n");
|
||||
status = rig_list_foreach(print_caps_sum,NULL);
|
||||
|
|
Ładowanie…
Reference in New Issue