Class: DeviceInfo

blinkupSDK~DeviceInfo

new DeviceInfo(params)

Represents the results of a device poll event.
Parameters:
Name Type Description
params object Initialization parameters This object is created by the function module:blinkupSDK.pollForDeviceInfo as part of the polling process. A device will only be returned if the flash was successful. You should never have to create it yourself.
Source:
Example
var blinkup = require('blinkup/blinkupSDK');
blinkup.pollForDeviceInfo (configId, function(err, deviceInfo) {
  if (err) {
    // Handle error
    // (device rejected or server connection timed out)
  } else if (deviceInfo) {
    // Do something with deviceInfo data
  }
});

Members

agentURL

The URL of the agent for the device that connected
Source:

deviceId

The deviceId of the device that connected
Source:

planId

The planId of the device that connected
Source:

verificationDate

The date when the device connected to the server
Source: