/// <summary> /// Method for serializing the command fields </summary> public override int[] Serialize() { SerializeHeader(_serializer); _serializer.SerializeEmberConcentratorType(_concentratorType); _serializer.SerializeUInt8(_radius); 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()); }