Ejemplo n.º 1
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_action);
     _serializer.SerializeBool(_useCca);
     _serializer.SerializeEmberGpAddress(_addr);
     _serializer.SerializeUInt8(_gpdCommandId);
     _serializer.SerializeUInt8(_gpdAsdu.Length);
     _serializer.SerializeUInt8Array(_gpdAsdu);
     _serializer.SerializeUInt8(_gpepHandle);
     _serializer.SerializeUInt16(_gpTxQueueEntryLifetimeMs);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberEui64(_address);
     _serializer.SerializeBool(_linkKey);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberEui64(_remoteEui64);
     _serializer.SerializeBool(_extendedTimeout);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_haveCurrentNetworkKey);
     _serializer.SerializeUInt32(_channelMask);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_amInitiator);
     _serializer.SerializeEmberCertificate283k1Data(_partnerCertificate);
     _serializer.SerializeEmberPublicKey283k1Data(_partnerEphemeralPublicKey);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberAesMmoHashContext(_context);
     _serializer.SerializeBool(_finalize);
     _serializer.SerializeUInt8(_length);
     _serializer.SerializeUInt8Array(_data);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt8(_index);
     _serializer.SerializeEmberEui64(_address);
     _serializer.SerializeBool(_linkKey);
     _serializer.SerializeEmberKeyData(_keyStruct);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt8(_channel);
     serializer.SerializeUInt16(_panId);
     serializer.SerializeExtendedPanId(_extendedPanId);
     serializer.SerializeBool(_allowingJoin);
     serializer.SerializeUInt8(_stackProfile);
     serializer.SerializeUInt8(_nwkUpdateId);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_enable);
     _serializer.SerializeEmberConcentratorType(_concentratorType);
     _serializer.SerializeUInt16(_minTime);
     _serializer.SerializeUInt16(_maxTime);
     _serializer.SerializeUInt8(_routeErrorThreshold);
     _serializer.SerializeUInt8(_deliveryFailureThreshold);
     _serializer.SerializeUInt8(_maxHops);
     return(_serializer.GetPayload());
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_rxCallback);
     return _serializer.GetPayload();
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeBool(_storeLinkKey);
     return(_serializer.GetPayload());
 }