Exemple #1
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_target);
     _serializer.SerializeUInt32(_scanChannels);
     _serializer.SerializeUInt8(_scanDuration);
     _serializer.SerializeUInt16(_scanCount);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt16(_destination);
     serializer.SerializeUInt16(_nextHop);
     serializer.SerializeUInt8(_status);
     serializer.SerializeUInt8(_age);
     serializer.SerializeUInt8(_concentratorType);
     serializer.SerializeUInt8(_routeRecordState);
     return(serializer.GetPayload());
 }
Exemple #3
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());
 }
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeExtendedPanId(_extendedPanId);
     serializer.SerializeUInt16(_panId);
     serializer.SerializeUInt8(_radioTxPower);
     serializer.SerializeUInt8(_radioChannel);
     serializer.SerializeEmberJoinMethod(_joinMethod);
     serializer.SerializeUInt16(_nwkManagerId);
     serializer.SerializeUInt8(_nwkUpdateId);
     serializer.SerializeUInt32(_channels);
     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());
 }
Exemple #6
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt8(_endpoint);
     _serializer.SerializeUInt16(_profileId);
     _serializer.SerializeUInt16(_deviceId);
     _serializer.SerializeUInt8(_appFlags);
     _serializer.SerializeUInt8(_inputClusterList.Length);
     _serializer.SerializeUInt8(_outputClusterList.Length);
     _serializer.SerializeUInt16Array(_inputClusterList);
     _serializer.SerializeUInt16Array(_outputClusterList);
     return(_serializer.GetPayload());
 }
Exemple #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());
 }
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt8(_type);
     serializer.SerializeEmberEui64(_sinkEui);
     serializer.SerializeUInt16(_sinkNodeId);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_destinationNodeId);
     _serializer.SerializeEmberEui64(_destinationEui64);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt8(_index);
     _serializer.SerializeUInt16(_nodeId);
     return(_serializer.GetPayload());
 }
Exemple #11
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEzspConfigId(_configId);
     _serializer.SerializeUInt16(_value);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_destShort);
     _serializer.SerializeEmberEui64(_destLong);
     _serializer.SerializeEmberEui64(_targetLong);
     return(_serializer.GetPayload());
 }
Exemple #13
0
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_destination);
     _serializer.SerializeUInt8(_relayList.Length);
     _serializer.SerializeUInt16Array(_relayList);
     return(_serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_sender);
     _serializer.SerializeEmberApsFrame(_apsFrame);
     _serializer.SerializeUInt8(_messageTag);
     _serializer.SerializeUInt8(_messageContents.Length);
     _serializer.SerializeUInt8Array(_messageContents);
     return(_serializer.GetPayload());
 }
 /// <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>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberBindingType(_type);
     serializer.SerializeUInt8(_local);
     serializer.SerializeUInt16(_clusterId);
     serializer.SerializeUInt8(_remote);
     serializer.SerializeEmberEui64(_identifier);
     serializer.SerializeUInt8(_uint8_t);
     return(serializer.GetPayload());
 }
Exemple #17
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeUInt16(_shortId);
     serializer.SerializeUInt8(_averageLqi);
     serializer.SerializeUInt8(_inCost);
     serializer.SerializeUInt8(_outCost);
     serializer.SerializeUInt8(_age);
     serializer.SerializeEmberEui64(_longId);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeEmberOutgoingMessageType(_type);
     _serializer.SerializeUInt16(_indexOrDestination);
     _serializer.SerializeEmberApsFrame(_apsFrame);
     _serializer.SerializeUInt8(_messageTag);
     _serializer.SerializeUInt8(_messageContents.Length);
     _serializer.SerializeUInt8Array(_messageContents);
     return(_serializer.GetPayload());
 }
Exemple #19
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());
 }
Exemple #20
0
 /// <summary>
 /// Serialise the contents of the EZSP structure. </summary>
 public int[] Serialize(EzspSerializer serializer)
 {
     serializer.SerializeEmberGpSinkTableEntryStatus(_status);
     serializer.SerializeUInt32(_options);
     serializer.SerializeEmberGpAddress(_gpd);
     serializer.SerializeUInt8(_deviceId);
     serializer.SerializeEmberGpSinkListEntry(_sinkList);
     serializer.SerializeUInt16(_assignedAlias);
     serializer.SerializeUInt8(_groupcastRadius);
     serializer.SerializeUInt8(_securityOptions);
     serializer.SerializeUInt32(_gpdSecurityFrameCounter);
     serializer.SerializeEmberKeyData(_gpdKey);
     return(serializer.GetPayload());
 }
 /// <summary>
 /// Method for serializing the command fields </summary>
 public override int[] Serialize()
 {
     SerializeHeader(_serializer);
     _serializer.SerializeUInt16(_code);
     return(_serializer.GetPayload());
 }