Example #1
0
 public void Should_get_and_set_epc_length()
 {
     using var r = new SerialReader(TestSettings.Instance.GetConnection());
     r.SetEpcLengthForBufferOperations(EpcLength.UpTo496Bits).Wait();
     r.GetEpcLengthForBufferOperations().Result.Should().Be(EpcLength.UpTo496Bits);
     r.SetEpcLengthForBufferOperations(EpcLength.UpTo128Bits).Wait();
     r.GetEpcLengthForBufferOperations().Result.Should().Be(EpcLength.UpTo128Bits);
 }