public async Task <bool> ReaderLedControl(Guid connectionId, byte address, ReaderLedControls readerLedControls) { var reply = await SendCommand(connectionId, new ReaderLedControlCommand(address, readerLedControls)).ConfigureAwait(false); return(reply.Type == ReplyType.Ack); }
public ReaderLedControlCommand(byte address, ReaderLedControls readerLedControls) { _readerLedControls = readerLedControls; Address = address; }