physical

physical

Source:

Physical traffic light and devices.

Classes

Device
DeviceManager
NullUsbDetector
PhysicalLight
PhysicalTrafficLight
UsbDetector

Members

(static, constant) usbDetector :physical.UsbDetector|physical.NullUsbDetector

Source:

USB detector singleton. Either based on the "usb-detection" module (see usb-detection), or a dummy object that does not support monitoring in case the "usb-detection" module is not available (it's an optional dependency).

Type:

Type Definitions

DeviceInfo

Source:
Properties:
Name Type Description
type string

The type of the device.

serialNum string | number

The serial number of the device.

status string

The status of the device, either 'connected' or 'disconnected'.

Type:
  • object