usb-id-database-0.4: A database of USB identifiers



Functions to acquire a database from



parseDb :: String -> Maybe IDDBSource

Construct a database from a string in the format used by

staticDb :: IO IDDBSource

Load a database from a snapshot of the database which is supplied with the package.

fromFile :: FilePath -> IO (Maybe IDDB)Source

Load a vendor database from file. If the file can not be read for some reason an error will be thrown.

dbURL :: StringSource

The source of the database. Download this file for the most up-to-date version.