srac_error.h
SPARK Ranging Core error codes.
- Copyright
Copyright (C) 2023 SPARK Microsystems International Inc. All rights reserved.
- License
This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.
- Author
SPARK FW Team.
Typedefs
-
typedef enum srac_error srac_error_t
Ranging API error structure.
Enums
-
enum srac_error
Ranging API error structure.
Values:
-
enumerator SRAC_ERR_NONE = 0
No error occurred
-
enumerator SRAC_ERR_NULL_PTR
A NULL pointer is passed as argument
-
enumerator SRAC_ERR_INTERNAL
There is an internal Ranging Core error
-
enumerator SRAC_ERR_CALIBRATION
There is an internal calibration error
-
enumerator SRAC_ERR_UNSUPPORTED_SAMPLE_COUNT
An unsupported sample count was provided to the Ranging Core
-
enumerator SRAC_ERR_NONE = 0