OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.Tracing.TraceEntry Struct Reference

Represents low level data sent on the wire between the control panel and the devices. More...

Public Member Functions

 TraceEntry (TraceDirection direction, Guid connectionId, byte[] data)
 Initializes a new instance of the TraceEntry struct.

Properties

TraceDirection Direction [get]
 The direction in which the data is sent.
Guid ConnectionId [get]
 The connection sending/receiving the data.
byte[] Data [get]
 The data that is sent/received.
byte? Address [get]
 The OSDP device address extracted from the packet data.

Detailed Description

Represents low level data sent on the wire between the control panel and the devices.

Definition at line 21 of file TraceEntry.cs.

Constructor & Destructor Documentation

◆ TraceEntry()

OSDP.Net.Tracing.TraceEntry.TraceEntry ( TraceDirection direction,
Guid connectionId,
byte[] data )
inline

Initializes a new instance of the TraceEntry struct.

Parameters
directionThe direction in which the data is sent.
connectionIdThe connection sending/receiving the data.
dataThe data that is sent/received.

Definition at line 53 of file TraceEntry.cs.

References Address, ConnectionId, Data, and Direction.

Property Documentation

◆ Address

byte? OSDP.Net.Tracing.TraceEntry.Address
get

The OSDP device address extracted from the packet data.

This is the address byte from the OSDP packet with the reply bit (0x80) masked off. Returns null if the data is empty or null.

Definition at line 45 of file TraceEntry.cs.

Referenced by TraceEntry().

◆ ConnectionId

Guid OSDP.Net.Tracing.TraceEntry.ConnectionId
get

The connection sending/receiving the data.

Definition at line 31 of file TraceEntry.cs.

Referenced by TraceEntry().

◆ Data

byte [] OSDP.Net.Tracing.TraceEntry.Data
get

The data that is sent/received.

Definition at line 36 of file TraceEntry.cs.

Referenced by TraceEntry(), and OSDP.Net.Tracing.OSDPCaptureFileWriter.WriteTrace().

◆ Direction

TraceDirection OSDP.Net.Tracing.TraceEntry.Direction
get

The direction in which the data is sent.

Definition at line 26 of file TraceEntry.cs.

Referenced by TraceEntry(), and OSDP.Net.Tracing.OSDPCaptureFileWriter.WriteTrace().


The documentation for this struct was generated from the following file: