mcopy/app/lib/devices/Readme.md

4.8 KiB

lib/devices

lib/devices~Devices

Class representing the device discovery features.

Kind: inner class of lib/devices

new Devices()

Constructor assigns arduino, settings, UI browser window and cam objects locally to this class for reference.

devices.init()

Initialize the log for "devices". Establish an ipc connection to the UI. Start listening on that ipc connection.

Kind: instance method of Devices

devices.listen()

Listen to the "profile" channel for messages from the UI.

Kind: instance method of Devices

devices.listener()

The "profile" channel callback. If a profile is changed, set it in the local settings object.

Kind: instance method of Devices

devices.enumerate()

Kind: instance method of Devices

devices.favor()

Kind: instance method of Devices

devices.distinguish()

Kind: instance method of Devices

devices.fakeProjector()

Kind: instance method of Devices

devices.fakeCamera()

Kind: instance method of Devices

devices.fakeLight()

Kind: instance method of Devices

devices.fakeCapper()

Kind: instance method of Devices

devices.connectDevice()

Kind: instance method of Devices

devices.all()

Kind: instance method of Devices

devices.remember()

Kind: instance method of Devices

devices.ready()

Kind: instance method of Devices