9 #ifndef ISF_SM_TYPES_H_
10 #define ISF_SM_TYPES_H_
28 #define SM_MAX_SUBSCRIBERS_PER_SENSOR (3)
35 #define SM_MAX_FIFO_DEPTH (20)
55 #define SM_API_ERR_TOKEN_ID (sm_result_t)(-1L)
61 #define SM_API_ERR_SENSOR_ID (sm_result_t)(-2L)
66 #define SM_API_ERR_ALREADY_BEGUN (sm_result_t)(-3L)
73 #define SM_API_ERR_NOT_YET_BEGUN (sm_result_t)(-4L)
81 #define SM_API_ERR_SUBSCRIBER_COUNT (sm_result_t)(-5L)
88 #define SM_API_ERR_NO_MEMORY (sm_result_t)(-6L)
95 #define SM_API_ERR_FIFO_OVER_LIMIT (sm_result_t)(-7L)
101 #define SM_API_ERR_SAMPLE_TAP_RATE (sm_result_t)(-8L)
107 #define SM_API_ERR_SETTINGS_TO_USE (sm_result_t)(-9L)
116 #define SM_API_ALTERNATE_OFFERED (sm_result_t)(-10L)
121 #define SM_API_ERR_BUFFERLOCK_TIMEOUT (sm_result_t)(-11L)
126 #define SM_API_ERR_LOCK_CREATION_FAILED (sm_result_t)(-12L)
132 #define SM_API_ERR_SENSOR_NOT_AVAIL (sm_result_t)(-21L)
139 #define SM_API_ERR_SENSOR_ALREADY_INITIALIZED (sm_result_t)(-22L)
144 #define SM_API_ERR_SENSOR_INIT_FAILED (sm_result_t)(-23L)
149 #define SM_API_ERR_INVALID_HANDLE (sm_result_t)(-24L)
154 #define SM_API_ERR_INVALID_PTR (sm_result_t)(-25L)
159 #define SM_API_ERR_MAX_TAPS_PER_SENSOR (sm_result_t)(-26L)
164 #define SM_API_ERR_DATATYPE_NOT_SUPPORTED (sm_result_t)(-27L)
186 uint8 nSettingsToUse;
unsigned char uint8
This defines uint8 as unsigned char.
unsigned long uint32
This defines uint32 as unsigned long.
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
long int32
This defines int32 as long.
Main ISF header file. Contains code common to all ISF components.
enum SubscriptionSettingChoices SubscriptionSettingsChoices_t
int32 sm_result_t
Sensor Manager API return type.