The following functions query the host library, and provide information on the library, and on the packet version the library uses.
Gets the version number of this library.
the library version number as 10,000 * major_version + 100 * minor_version + patch_level
Gets the packet version number supported by this library.
the packet version number as 10,000 * major_version + 100 * minor_version + patch_level
Host Control Functions¶
double vxsdr::get_host_command_timeout() const¶
Get the current timeout used by the host for commands sent to the device.
the timeout in seconds
bool vxsdr::set_host_command_timeout(const double timeout_s)¶
Set the timeout used by the host for commands sent to the device. We do not recommend values less than 0.5 seconds.
timeout_s – the timeout in seconds (must be greater than 0 and less than or equal to 3600)
trueif the timeout is set,
falseif it is out of range