Ilmsens HAL API  1.1.1
A cross-platform C-library for interfacing m:explore UWB-sensors
Ilmsens Error Codes

Ilmsens error codes provided as return values. More...

Enumerations

enum  ilmsens_error {
  ILMSENS_SUCCESS = 0, ILMSENS_ERROR_INVALID_PARAM = -1, ILMSENS_ERROR_STATE = -2, ILMSENS_ERROR_BUSY = -3,
  ILMSENS_ERROR_ACCESS = -4, ILMSENS_ERROR_IO = -5, ILMSENS_ERROR_NO_MEMORY = -6, ILMSENS_ERROR_AGAIN = -7,
  ILMSENS_ERROR_TIMEOUT = -8, ILMSENS_ERROR_NOT_SUPPORTED = -9, ILMSENS_ERROR_UNKNOWN = -99
}
 Common error codes. More...
 

Detailed Description

Ilmsens error codes provided as return values.

Enumeration Type Documentation

◆ ilmsens_error

Common error codes.

Enumerator
ILMSENS_SUCCESS 

No error.

ILMSENS_ERROR_INVALID_PARAM 

Invalid parameter.

ILMSENS_ERROR_STATE 

Invalid state (e.g.

on reading data, when no measurement is running).

ILMSENS_ERROR_BUSY 

Ressource is busy.

ILMSENS_ERROR_ACCESS 

Access denied.

ILMSENS_ERROR_IO 

Input/Output error (e.g.

transmission error or device disconnected).

ILMSENS_ERROR_NO_MEMORY 

Ressource allocation failed.

ILMSENS_ERROR_AGAIN 

Not enough data, try again later (e.g.

when a non-blocking operation would need to block the caller).

ILMSENS_ERROR_TIMEOUT 

Timeout expired.

ILMSENS_ERROR_NOT_SUPPORTED 

Operation not supported.

ILMSENS_ERROR_UNKNOWN 

Unspecified error.