Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

const char* HAMLIB_API rig_get_info ( RIG rig )

get general information from the radio

Parameters:
rigThe rig handle

Retrieves some general information from the radio. This can include firmware revision, exact model name, or just nothing.

Returns:
a pointer to freshly allocated memory containing the ASCIIZ string if the operation has been sucessful, otherwise NULL if an error occured or get_info not part of capabilities.

Definition at line 2841 of file rig.c.

References caps.

{
      if (CHECK_RIG_ARG(rig))
            return NULL;

      if (rig->caps->get_info == NULL)
            return NULL;

      return rig->caps->get_info(rig);
}

Generated by  Doxygen 1.6.0   Back to index