示例#1
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberInitialSecurityBitmask(_bitmask);
     serializer.SerializeEmberKeyData(_preconfiguredKey);
     serializer.SerializeEmberKeyData(_networkKey);
     serializer.SerializeUInt8(_networkKeySequenceNumber);
     serializer.SerializeEmberEui64(_preconfiguredTrustCenterEui64);
     return(serializer.GetPayload());
 }
示例#2
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberKeyData(_securityLinkKey);
     serializer.SerializeEmberGpProxyTableEntryStatus(_status);
     serializer.SerializeUInt32(_options);
     serializer.SerializeEmberGpAddress(_gpd);
     serializer.SerializeUInt16(_assignedAlias);
     serializer.SerializeUInt8(_securityOptions);
     serializer.SerializeUInt32(_gpdSecurityFrameCounter);
     serializer.SerializeEmberKeyData(_gpdKey);
     serializer.SerializeEmberGpSinkListEntry(_sinkList);
     serializer.SerializeUInt8(_groupcastRadius);
     serializer.SerializeUInt8(_searchCounter);
     return(serializer.GetPayload());
 }
示例#3
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberEui64(_partner);
     _serializer.SerializeEmberKeyData(_transientKey);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberEui64(_eui64);
     serializer.SerializeEmberKeyData(_keyData);
     serializer.SerializeUInt32(_incomingFrameCounter);
     serializer.SerializeUInt32(_countdownTimerMs);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberEui64(_address);
     _serializer.SerializeBool(_linkKey);
     _serializer.SerializeEmberKeyData(_keyData);
     return(_serializer.GetPayload());
 }
示例#6
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberKeyStructBitmask(_bitmask);
     serializer.SerializeEmberKeyType(_type);
     serializer.SerializeEmberKeyData(_key);
     serializer.SerializeUInt32(_outgoingFrameCounter);
     serializer.SerializeUInt32(_incomingFrameCounter);
     serializer.SerializeUInt8(_sequenceNumber);
     serializer.SerializeEmberEui64(_partnerEUI64);
     return(serializer.GetPayload());
 }
示例#7
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt32(_options);
     _serializer.SerializeEmberGpAddress(_addr);
     _serializer.SerializeUInt8(_commMode);
     _serializer.SerializeUInt16(_sinkNetworkAddress);
     _serializer.SerializeUInt16(_sinkGroupId);
     _serializer.SerializeUInt16(_assignedAlias);
     _serializer.SerializeEmberEui64(_sinkIeeeAddress);
     _serializer.SerializeEmberKeyData(_gpdKey);
     return(_serializer.GetPayload());
 }
示例#8
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberKeyData(_newNetworkKey);
     return(_serializer.GetPayload());
 }