|
OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
|
Fluent builder for creating ExtendedDeviceIdentification instances. More...
Fluent builder for creating ExtendedDeviceIdentification instances.
Provides a clean API for constructing extended ID responses with support for both standard and custom TLV entries.
Definition at line 9 of file ExtendedDeviceIdentificationBuilder.cs.
|
inline |
Builds the immutable ExtendedDeviceIdentification instance.
Definition at line 123 of file ExtendedDeviceIdentificationBuilder.cs.
|
inline |
Sets the configuration reference.
| configurationReference | The configuration reference. |
Definition at line 78 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Adds a custom/vendor-specific entry using a raw tag byte.
Use this for vendor-specific extensions or tags not defined in the OSDP specification.
| tagByte | The custom tag byte value. |
| value | The value for this entry. |
Definition at line 102 of file ExtendedDeviceIdentificationBuilder.cs.
|
inline |
Adds a pre-constructed ExtendedIdEntry.
| entry | The entry to add. |
Definition at line 113 of file ExtendedDeviceIdentificationBuilder.cs.
|
inline |
Adds a standard entry using a known tag.
| tag | The standard tag type. |
| value | The value for this entry. |
Definition at line 89 of file ExtendedDeviceIdentificationBuilder.cs.
Referenced by WithConfigurationReference(), WithFirmwareVersion(), WithHardwareDescription(), WithManufacturer(), WithProductName(), WithSerialNumber(), and WithUrl().
|
inline |
Adds a firmware version.
Multiple firmware versions can be added for devices with multiple microcontrollers.
| firmwareVersion | The firmware version string. |
Definition at line 48 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Sets the hardware description.
| hardwareDescription | The hardware description. |
Definition at line 58 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Sets the manufacturer name.
| manufacturer | The manufacturer name. |
Definition at line 18 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Sets the product name.
| productName | The product name. |
Definition at line 28 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Sets the serial number.
| serialNumber | The serial number. |
Definition at line 38 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().
|
inline |
Sets the URL.
| url | The URL. |
Definition at line 68 of file ExtendedDeviceIdentificationBuilder.cs.
References WithEntry().