public FrameHeader(FrameType frameType, Direction direction, byte commandIdentifier, DisableDefaultResponse disableDefaultResponse = DisableDefaultResponse.Always, bool manufacturerSpecific = false) { FrameControl = new FrameControl() { Type = frameType, Direction = direction, DisableDefaultResponse = disableDefaultResponse, ManufacturerSpecific = manufacturerSpecific }; CommandIdentifierField = commandIdentifier; }
public FrameHeader(FrameControl frameControl, byte commandIdentifier) { FrameControl = frameControl; CommandIdentifierField = commandIdentifier; }