Device

The main device context to. One instance is created per each device connected to linqjs

Properties

property type description
uptime unix  
lastSeen unix  
data any  
device.product method return product string of device
device.serial method return serial number of device
device.request method send a request to the device
device.batch method send multiple requests to the device
device.update method update the device
device.pending method return how many requests are pending to the device