Sets the device context.
1 2 3 4 5 6 7 | struct DeviceContext { enum DeviceStatus { IDLE = 0, // idle status USING // running status } devStatus = IDLE; int32_t devId = DEFAULT_VALUE; // DEFAULT_VALUE = 0 }; |
Parameter |
Description |
|---|---|
devStatus |
Device status. The default value is IDLE. |
devId |
Device ID. |