pci_id

Last updated:

0 purchases

pci_id Image
pci_id Images
Add to Cart

Description:

pci id

The PCI ID Repository for Dart #





A repository of all known ID's used in PCI devices: ID's of vendors,
devices, subsystems and device classes. This package can be utilized
to display human-readable names instead of cryptic numeric codes.
Usage #
import 'package:pci_id/pci_id.dart';

void main() {
final vendor = PciId.lookupVendor(0x1ae0);
print('Vendor 0x1ae0: ${vendor!.name}'); // Google, Inc.

final device = PciId.lookupDevice(0xabcd, vendorId: vendor.id);
print(' Device 0xabcd: ${device!.name}'); // ...Pixel Neural Core...

final deviceClass = PciId.lookupDeviceClass(0x03);
print('\nDevice class 0x03: ${deviceClass!.name}'); // Display controller

final subclass = PciId.lookupSubclass(0x00, deviceClassId: 0x03);
print(' Subclass 0x00: ${subclass!.name}'); // VGA compatible controller
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.