OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
TestPattern.cs
2{
11 public enum TestPattern : byte
12 {
14 AllZeros = 0x00,
15
17 AllOnes = 0x01,
18
21
24
26 Sequential = 0x04,
27
30 }
31}
TestPattern
Test pattern identifiers defined by the OSDP Line Quality Test Procedure, section 3....
@ AllOnes
All bytes 0xFF. Produces maximum current draw.
@ AllZeros
All bytes 0x00. Establishes a DC balance baseline.
@ AlternatingA
All bytes 0xAA (10101010). Worst case for signal transitions.
@ Sequential
Byte[i] = i AND 0xFF. Covers the full range of byte values.
@ Alternating5
All bytes 0x55 (01010101). Complement of AlternatingA.
@ WalkingOne
Byte[i] = 1 shifted left by (i MOD 8). Isolates individual bits.