DeviceInfo Class¶
Namespace: id3.Devices
Definition¶
Properties¶
Name |
Type |
Description |
|---|---|---|
(C++) Specifies a callback function for executing commands on the device, applicable only in certain programming environments (e.g., C++). |
||
int |
An integer identifier for the device, unique within the system to distinguish between devices. |
|
Reflects the current operational state of the device, such as active, inactive, or error conditions, and is read-only from the device’s perspective. |
||
Enumerated type defining the category or function of the device, such as sensor, actuator, etc., with a default state of Unknown. |
||
bool |
A boolean flag indicating whether the device is lost. |
|
int |
Stores the last error code encountered by the device, useful for debugging and error handling, and is read-only. |
|
string |
A string representing a connection link or a reference to the device, possibly a URL or a network path. |
|
string |
The human-readable manufacturer name of the device, used for identification and display purposes. |
|
string |
A string identifying the device model, providing specific information about the device’s design or capabilities. |
|
bool |
(C++) A boolean flag indicating whether the device should be discarded by the device manager, allowing for dynamic management based on device health or relevance. |
|
string |
The human-readable name of the device, used for identification and display purposes. |
Methods¶
Name |
Description |
|---|---|
(C++) In environments supporting callbacks (e.g., C++), this function retrieves the context associated with the device’s command callback, facilitating custom command execution. |