コード例 #1
0
 public void setIAS_CIE_Address(byte[] IAS_CIE_Address, IEndPointRequestContext context)
     throws ApplianceException, ServiceClusterException {
   int attrId = 16;
   int size = 3;
   size += ZclDataTypeIEEEAddress.zclSize(IAS_CIE_Address.length);
   IZclFrame zclFrame = new ZclFrame(0, size);
   zclFrame.appendUInt16(attrId);
   zclFrame.appendUInt8(ZclDataTypeIEEEAddress.ZCL_DATA_TYPE);
   ZclDataTypeIEEEAddress.zclSerialize(zclFrame, IAS_CIE_Address);
   issueSet(ZclIASZoneServer.CLUSTER_ID, zclFrame, attrId, context);
 }
コード例 #2
0
 public static void zclSerialize(IZclFrame zclFrame, int uint16) throws ZclValidationException {
   zclFrame.appendUInt16(uint16);
 }