9 #ifndef ISF_SM_TYPES_H_
10 #define ISF_SM_TYPES_H_
27 #define SM_MAX_SUBSCRIBERS_PER_SENSOR (3)
34 #define SM_MAX_FIFO_DEPTH (20)
54 #define SM_API_ERR_TOKEN_ID (sm_result_t)(-1L)
60 #define SM_API_ERR_SENSOR_ID (sm_result_t)(-2L)
65 #define SM_API_ERR_ALREADY_BEGUN (sm_result_t)(-3L)
72 #define SM_API_ERR_NOT_YET_BEGUN (sm_result_t)(-4L)
80 #define SM_API_ERR_SUBSCRIBER_COUNT (sm_result_t)(-5L)
87 #define SM_API_ERR_NO_MEMORY (sm_result_t)(-6L)
94 #define SM_API_ERR_FIFO_OVER_LIMIT (sm_result_t)(-7L)
100 #define SM_API_ERR_SAMPLE_TAP_RATE (sm_result_t)(-8L)
106 #define SM_API_ERR_SETTINGS_TO_USE (sm_result_t)(-9L)
115 #define SM_API_ALTERNATE_OFFERED (sm_result_t)(-10L)
120 #define SM_API_ERR_BUFFERLOCK_TIMEOUT (sm_result_t)(-11L)
125 #define SM_API_ERR_LOCK_CREATION_FAILED (sm_result_t)(-12L)
131 #define SM_API_ERR_SENSOR_NOT_AVAIL (sm_result_t)(-21L)
138 #define SM_API_ERR_SENSOR_ALREADY_INITIALIZED (sm_result_t)(-22L)
143 #define SM_API_ERR_SENSOR_INIT_FAILED (sm_result_t)(-23L)
148 #define SM_API_ERR_INVALID_HANDLE (sm_result_t)(-24L)
153 #define SM_API_ERR_INVALID_PTR (sm_result_t)(-25L)
158 #define SM_API_ERR_MAX_TAPS_PER_SENSOR (sm_result_t)(-26L)
163 #define SM_API_ERR_DATATYPE_NOT_SUPPORTED (sm_result_t)(-27L)
185 uint8 nSettingsToUse;
uint32 sm_token_t
Sensor Manager subscription token type.
SubscriptionSettingChoices
The isf_sensor_types.h contains the enumerated list of sensor types used by ISF.
enum isf_dsa_result_enums isf_dsa_result_types_t
Main ISF header file. Contains code common to all ISF components.
enum SubscriptionSettingChoices SubscriptionSettingsChoices_t
int32 sm_result_t
Sensor Manager API return type.