import public Bindings.RtlSdr.Raw.Device
rtlsdr_open : Int -> IO (Maybe (Ptr RtlSdrHandle))
rtlsdr_close : Ptr RtlSdrHandle -> IO (Either RTLSDR_ERROR ())
record DeviceUSBStrings : Type
MkDeviceUSBStrings : String -> String -> String -> DeviceUSBStrings
.manufact : DeviceUSBStrings -> String
.product : DeviceUSBStrings -> String
.serial : DeviceUSBStrings -> String
Show DeviceUSBStrings
.manufact : DeviceUSBStrings -> String
manufact : DeviceUSBStrings -> String
.product : DeviceUSBStrings -> String
product : DeviceUSBStrings -> String
.serial : DeviceUSBStrings -> String
serial : DeviceUSBStrings -> String
getDeviceUSBStrings : Int -> IO (Either RTLSDR_ERROR DeviceUSBStrings)
Get USB device strings.
@i is the the device index
getDeviceIndexBySerial : String -> Either RTLSDR_ERROR Int
Get 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