Exemple #1
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt16(_profileId);
     serializer.SerializeUInt16(_clusterId);
     serializer.SerializeUInt8(_sourceEndpoint);
     serializer.SerializeUInt8(_destinationEndpoint);
     serializer.SerializeEmberApsOption(_options);
     serializer.SerializeUInt16(_groupId);
     serializer.SerializeUInt8(_sequence);
     return(serializer.GetPayload());
 }