Functions for identification and access to hardware-parameters of connected devices.
More...
Functions for identification and access to hardware-parameters of connected devices.
◆ ilmsens_hal_getModId()
int ilmsens_hal_getModId |
( |
unsigned int |
pDevNum, |
|
|
char * |
pID, |
|
|
size_t |
pBufferSize |
|
) |
| |
Gets unique device-identifier.
- Parameters
-
pDevNum | device-index |
pID | pointer to an output buffer |
pBufferSize | Size of buffer pointed to by pID in bytes. Maximum ID length is given via ILMSENS_HAL_MOD_ID_BUF_SIZE. |
- Returns
- number of characters written to the buffer
-
negative error-code
◆ ilmsens_hal_getModInfo()
Gets device hardware-configuration.
- Parameters
-
- Returns
- ILMSENS_SUCCESS on success (and populates pInfo)
-
negative error-code