import public Bindings.RtlSdr.Raw.Devicertlsdr_open : Int -> IO (Maybe (Ptr RtlSdrHandle))rtlsdr_close : Ptr RtlSdrHandle -> IO (Either RTLSDR_ERROR ())record DeviceUSBStrings : TypeMkDeviceUSBStrings : String -> String -> String -> DeviceUSBStrings.manufact : DeviceUSBStrings -> String.product : DeviceUSBStrings -> String.serial : DeviceUSBStrings -> StringShow DeviceUSBStrings.manufact : DeviceUSBStrings -> Stringmanufact : DeviceUSBStrings -> String.product : DeviceUSBStrings -> Stringproduct : DeviceUSBStrings -> String.serial : DeviceUSBStrings -> Stringserial : DeviceUSBStrings -> StringgetDeviceUSBStrings : Int -> IO (Either RTLSDR_ERROR DeviceUSBStrings)Get USB device strings.
@i is the the device index
getDeviceIndexBySerial : String -> Either RTLSDR_ERROR IntGet device index by USB serial string descriptor.
Returns the device index of first device where the name matched
@s is the serial string of the device