public byte[] getIAS_CIE_Address(IEndPointRequestContext context) throws ApplianceException, ServiceClusterException { if (context != null) { byte[] objectResult = null; objectResult = ((byte[]) getValidCachedAttributeObject(16, context.getMaxAgeForAttributeValues())); if (objectResult != null) { return objectResult; } } IZclFrame zclFrame = readAttribute(16, context); byte[] v = ZclDataTypeIEEEAddress.zclParse(zclFrame); setCachedAttributeObject(16, v); return v; }
public short getZoneID(IEndPointRequestContext context) throws ApplianceException, ServiceClusterException { if (context != null) { Short objectResult = null; objectResult = ((Short) getValidCachedAttributeObject(17, context.getMaxAgeForAttributeValues())); if (objectResult != null) { return objectResult.shortValue(); } } IZclFrame zclFrame = readAttribute(17, context); short v = ZclDataTypeUI8.zclParse(zclFrame); setCachedAttributeObject(17, new Short(v)); return v; }
public int getZoneStatus(IEndPointRequestContext context) throws ApplianceException, ServiceClusterException { if (context != null) { Integer objectResult = null; objectResult = ((Integer) getValidCachedAttributeObject(2, context.getMaxAgeForAttributeValues())); if (objectResult != null) { return objectResult.intValue(); } } IZclFrame zclFrame = readAttribute(2, context); int v = ZclDataTypeBitmap16.zclParse(zclFrame); setCachedAttributeObject(2, new Integer(v)); return v; }