public string BuildCommand_TestCases(byte address, bool useCrc, bool useSecureChannel, ManufacturerSpecificCommandData manufacturerSpecificCommandData) { var manufacturerSpecificCommand = new ManufacturerSpecificCommand(address, manufacturerSpecificCommandData); return(BitConverter.ToString(manufacturerSpecificCommand.BuildCommand(new Device(address, useCrc, useSecureChannel)))); }
public async Task <ManufacturerSpecificReplyData> ManufacturerSpecificCommand(Guid connectionId, byte address, ManufacturerSpecificCommandData manufacturerSpecificData) { return(Model.ReplyData.ManufacturerSpecificReplyData.ParseData(await SendCommand(connectionId, new ManufacturerSpecificCommand(address, manufacturerSpecificData)).ConfigureAwait(false))); }
public ManufacturerSpecificCommand(byte address, ManufacturerSpecificCommandData manufacturerData) { Address = address; _manufacturerData = manufacturerData; }