WeaveDeviceDescriptor

public class WeaveDeviceDescriptor extends Object

Field Summary

public EnumSet<DeviceFeatures> deviceFeatures Set of flags identifying features supported by the device.
public long deviceId Weave device id (0 = not present).
public long fabricId Weave fabric to which the device belongs (0 = not present).
public Calendar manufacturingDate Date of device manufacture (null = not present).
public String pairingCode Device pairing code (null = not present).
public byte[] primary802154MACAddress MAC address for primary 802.15.4 interface (big-endian, null = not present).
public byte[] primaryWiFiMACAddress MAC address for primary WiFi interface (big-endian, null = not present).
public int productCode Device product code (0 = not present).
public int productRevision Device product revision (0 = not present).
public String rendezvousWiFiESSID ESSID for pairing WiFi network (null = not present).
public String serialNumber Device serial number (null = not present).
public String softwareVersion Installed software version (null = not present).
public int vendorCode Device vendor code (0 = not present).

Public Constructor Summary

WeaveDeviceDescriptor(int vendorCode, int productCode, int productRevision, int manufacturingYear, int manufacturingMonth, int manufacturingDay, byte[] primary802154MACAddress, byte[] primaryWiFiMACAddress, String serialNumber, String rendezvousWiFiESSID, String pairingCode, long deviceId, long fabricId, String softwareVersion, int deviceFeatures)

Public Method Summary

static WeaveDeviceDescriptor
decode(byte[] encodedDeviceDesc)

Inherited Method Summary

Fields

public EnumSet<DeviceFeatures> deviceFeatures

Set of flags identifying features supported by the device.

public long deviceId

Weave device id (0 = not present).

public long fabricId

Weave fabric to which the device belongs (0 = not present).

public Calendar manufacturingDate

Date of device manufacture (null = not present).

public String pairingCode

Device pairing code (null = not present).

public byte[] primary802154MACAddress

MAC address for primary 802.15.4 interface (big-endian, null = not present).

public byte[] primaryWiFiMACAddress

MAC address for primary WiFi interface (big-endian, null = not present).

public int productCode

Device product code (0 = not present).

public int productRevision

Device product revision (0 = not present).

public String rendezvousWiFiESSID

ESSID for pairing WiFi network (null = not present).

public String serialNumber

Device serial number (null = not present).

public String softwareVersion

Installed software version (null = not present).

public int vendorCode

Device vendor code (0 = not present).

Public Constructors

public WeaveDeviceDescriptor ()

public WeaveDeviceDescriptor (int vendorCode, int productCode, int productRevision, int manufacturingYear, int manufacturingMonth, int manufacturingDay, byte[] primary802154MACAddress, byte[] primaryWiFiMACAddress, String serialNumber, String rendezvousWiFiESSID, String pairingCode, long deviceId, long fabricId, String softwareVersion, int deviceFeatures)

Parameters
vendorCode
productCode
productRevision
manufacturingYear
manufacturingMonth
manufacturingDay
primary802154MACAddress
primaryWiFiMACAddress
serialNumber
rendezvousWiFiESSID
pairingCode
deviceId
fabricId
softwareVersion
deviceFeatures

Public Methods

public static WeaveDeviceDescriptor decode (byte[] encodedDeviceDesc)

Parameters
encodedDeviceDesc