|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
The extended PD identification data sent as a reply to an osdp_ID command with data 0x01. More...
Public Member Functions | |
| ExtendedDeviceIdentification (IEnumerable< ExtendedIdEntry > entries) | |
| Creates a new instance of ExtendedDeviceIdentification with the specified entries. | |
| override ReadOnlySpan< byte > | SecurityControlBlock () |
| override byte[] | BuildData () |
| override string | ToString () |
| Public Member Functions inherited from OSDP.Net.Model.PayloadData | |
| byte[] | BuildData () |
| Converts the payload into a byte array to be sent over the wire. | |
| ReadOnlySpan< byte > | SecurityControlBlock () |
| Retrieves the security control block for a specific command data type. | |
| virtual void | CustomMessageUpdate (Span< byte > messageBuffer) |
| Updates the message data before sending in the specified byte buffer. | |
Static Public Member Functions | |
| static ExtendedDeviceIdentification | ParseData (ReadOnlySpan< byte > data) |
| Parses the TLV stream from the given data. | |
Properties | |
| IReadOnlyList< ExtendedIdEntry > | Entries [get] |
| Gets all TLV entries in this identification. | |
| IEnumerable< ExtendedIdEntry > | UnknownEntries [get] |
| Gets all entries with unknown/undefined tag types. | |
| string | Manufacturer [get] |
| Gets the manufacturer name, or null if not present. | |
| string | ProductName [get] |
| Gets the product name, or null if not present. | |
| string | SerialNumber [get] |
| Gets the serial number, or null if not present. | |
| IEnumerable< string > | FirmwareVersions [get] |
| Gets all firmware version entries. | |
| string | HardwareDescription [get] |
| Gets the hardware description, or null if not present. | |
| string | Url [get] |
| Gets the URL, or null if not present. | |
| string | ConfigurationReference [get] |
| Gets the configuration reference, or null if not present. | |
| override byte | Code [get] |
| Properties inherited from OSDP.Net.Model.PayloadData | |
| byte | Code [get] |
| Gets the command or reply code byte value that represent the type of data. | |
| virtual bool | IsSecurityInitialization [get] |
| Gets a value indicating whether the security initialization is performed by this payload. | |
The extended PD identification data sent as a reply to an osdp_ID command with data 0x01.
Contains a TLV (Tag-Length-Value) stream with detailed device information.
Definition at line 14 of file ExtendedDeviceIdentification.cs.
|
inline |
Creates a new instance of ExtendedDeviceIdentification with the specified entries.
| entries | The TLV entries for this identification. |
Definition at line 22 of file ExtendedDeviceIdentification.cs.
Referenced by ParseData().
|
inline |
Definition at line 129 of file ExtendedDeviceIdentification.cs.
|
inlinestatic |
Parses the TLV stream from the given data.
| data | The complete message data which may include multipart message header. |
Definition at line 87 of file ExtendedDeviceIdentification.cs.
References ExtendedDeviceIdentification(), and OSDP.Net.Model.ReplyData.ExtendedIdEntry.ParseData().
|
inline |
Definition at line 77 of file ExtendedDeviceIdentification.cs.
|
inline |
Definition at line 166 of file ExtendedDeviceIdentification.cs.
References ConfigurationReference, FirmwareVersions, HardwareDescription, Manufacturer, ProductName, SerialNumber, UnknownEntries, and Url.
|
get |
Definition at line 74 of file ExtendedDeviceIdentification.cs.
|
get |
Gets the configuration reference, or null if not present.
Definition at line 71 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets all TLV entries in this identification.
Definition at line 30 of file ExtendedDeviceIdentification.cs.
|
get |
Gets all firmware version entries.
Multiple entries are allowed for different microcontrollers.
Definition at line 56 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets the hardware description, or null if not present.
Definition at line 61 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets the manufacturer name, or null if not present.
Definition at line 41 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets the product name, or null if not present.
Definition at line 46 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets the serial number, or null if not present.
Definition at line 51 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets all entries with unknown/undefined tag types.
These may be vendor-specific extensions or future OSDP specification additions.
Definition at line 36 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().
|
get |
Gets the URL, or null if not present.
Definition at line 66 of file ExtendedDeviceIdentification.cs.
Referenced by ToString().