en | ru

USB presence (usb-device)

Tests the presence of designated USB devices. It checks for a count of USB devices that match specified idVendor and idProduct and gives a success if they’re equal to COUNT parameter or failure if they’re not.

  • Тестируемые компоненты: USB
  • Переменные:
    • COUNT (int, по умолчанию: 1) — There should be this many devices
    • IDPRODUCT (string, по умолчанию: 6001) — Filter in only devices with this idProduct (match all if empty)
    • IDVENDOR (string, по умолчанию: 0403) — Filter in only devices with this idVendor (match all if empty)