|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Classes | |
| class | BaudRateChange |
| A Baud Rate Change command (Command ID 0x02) from the Line Quality Test Procedure, section 3.5. More... | |
| class | BaudRateChangeAck |
| A Baud Rate Change Acknowledgment (Reply ID 0x02) from the Line Quality Test Procedure, section 3.7. More... | |
| class | ClearTextChannel |
| A message channel that never establishes security, used to frame and parse line quality test traffic. | |
| class | EchoRequest |
| An Echo Request (Command ID 0x01) from the Line Quality Test Procedure, section 3.5. More... | |
| class | EchoResponse |
| An Echo Response (Reply ID 0x01) from the Line Quality Test Procedure, section 3.7. More... | |
| class | LineQualityReportMetadata |
| Details about an installation that the test cannot discover for itself, used to fill in the header of a written report. More... | |
| class | LineQualityMarkdownReport |
| Renders a LineQualityReport as the Markdown report described in section 7 of the OSDP Line Quality Test Procedure. More... | |
| class | LineQualityOptions |
| Options controlling a line quality test run. More... | |
| class | LineQualityProgress |
| A progress update from a running line quality test. More... | |
| class | LineQualityProtocol |
| Constants and helpers for the OSDP Line Quality Test Procedure. More... | |
| class | CombinationResult |
| Results for a single pattern and payload size at one baud rate. More... | |
| class | BaudRateResult |
| Results for every combination exercised at a single baud rate. More... | |
| class | LineQualityReport |
| The complete results of a line quality test run. More... | |
| class | LineQualityResponder |
| The responder side of the OSDP Line Quality Test Procedure: answers echo requests at the dedicated test address and follows the controller through baud rate changes. More... | |
| class | LineQualityExchangeEventArgs |
| Describes a completed echo exchange handled by a LineQualityResponder. More... | |
| class | LineQualityBaudRateChangedEventArgs |
| Describes a change in the rate a LineQualityResponder is answering at. More... | |
| class | LineQualityTest |
| The controller side of the OSDP Line Quality Test Procedure: sweeps baud rates, bounces test patterns off a responder, and reports what survived. More... | |
| class | LineQualityException |
| Raised when a line quality test cannot be run. More... | |
Enumerations | |
| enum | LineQualityBaudRate : byte { Baud9600 = 0x00 , Baud19200 = 0x01 , Baud38400 = 0x02 , Baud57600 = 0x03 , Baud115200 = 0x04 , Baud230400 = 0x05 , Baud460800 = 0x06 } |
| Baud Rate identifiers defined by the OSDP Line Quality Test Procedure, section 3.4. More... | |
| enum | EchoStatus : byte { Success = 0x00 , UnsupportedPattern = 0x01 , LengthError = 0x02 , Busy = 0x03 } |
| Status codes returned in an Echo Response, per section 3.7 of the Line Quality Test Procedure. More... | |
| enum | BaudRateChangeStatus : byte { Success = 0x00 , UnsupportedRate = 0x01 , SwitchFailed = 0x02 } |
| Status codes returned in a Baud Rate Change Acknowledgment, per section 3.7 of the Line Quality Test Procedure. More... | |
| enum | TestProfile { Screening , Qualification , Extended } |
| Test profiles from section 3.10 of the Line Quality Test Procedure. More... | |
| enum | LineQualityVerdict { Untested , Pass , Marginal , Fail } |
| The overall assessment of a baud rate or of a whole test run. More... | |
| enum | TestPattern : byte { AllZeros = 0x00 , AllOnes = 0x01 , AlternatingA = 0x02 , Alternating5 = 0x03 , Sequential = 0x04 , WalkingOne = 0x05 } |
| Test pattern identifiers defined by the OSDP Line Quality Test Procedure, section 3.6. More... | |
| enum OSDP.Net.LineQuality.BaudRateChangeStatus : byte |
Status codes returned in a Baud Rate Change Acknowledgment, per section 3.7 of the Line Quality Test Procedure.
Definition at line 58 of file LineQualityBaudRate.cs.
| enum OSDP.Net.LineQuality.EchoStatus : byte |
Status codes returned in an Echo Response, per section 3.7 of the Line Quality Test Procedure.
Definition at line 39 of file LineQualityBaudRate.cs.
| enum OSDP.Net.LineQuality.LineQualityBaudRate : byte |
Baud Rate identifiers defined by the OSDP Line Quality Test Procedure, section 3.4.
Identifiers 0x00 through 0x05 are the six rates enumerated in OSDP section 5.2, of which a conforming device need only support one. Baud460800 is not an OSDP-defined rate; it is reserved by the line quality specification because it is in common use on short runs, and is excluded from LineQualityProtocol.DefaultBaudRates by default.
| Enumerator | |
|---|---|
| Baud9600 | 9600 baud. Baseline rate, and the rate a responder falls back to. |
| Baud19200 | 19200 baud. |
| Baud38400 | 38400 baud. |
| Baud57600 | 57600 baud. |
| Baud115200 | 115200 baud. |
| Baud230400 | 230400 baud, the highest rate named by OSDP section 5.2. |
| Baud460800 | 460800 baud. An extension to OSDP, not part of the standard rate list. |
Definition at line 12 of file LineQualityBaudRate.cs.
The overall assessment of a baud rate or of a whole test run.
Definition at line 10 of file LineQualityReport.cs.
| enum OSDP.Net.LineQuality.TestPattern : byte |
Test pattern identifiers defined by the OSDP Line Quality Test Procedure, section 3.6.
Each pattern stresses a different characteristic of the RS-485 physical layer. The patterns are only meaningful when sent in clear text; a secure channel would randomize the payload and destroy the bit structure the patterns exist to exercise.
Definition at line 11 of file TestPattern.cs.
Test profiles from section 3.10 of the Line Quality Test Procedure.
The profile sets the number of iterations per pattern/size combination, which in turn determines the smallest packet loss rate the run is capable of detecting.
Definition at line 75 of file LineQualityBaudRate.cs.