Telematics SDK - Interface Specification  v1.50.0
telux::sensor Namespace Reference

Data Structures

class  ISensorClient
 ISensorClient interface is used to access the different services provided by the sensor framework to configure, activate and acquire sensor data. More...
 
class  ISensorEventListener
 ISensorEventListener interface is used to receive notifications related to sensor events and configuration updates. More...
 
class  ISensorFeatureEventListener
 ISensorFeatureEventListener interface is used to receive notifications related to sensor feature events. More...
 
class  ISensorFeatureManager
 Sensor Feature Manager class provides APIs to interact with the sensor framework to list the available features, enable them or disable them. The availability of sensor features depends on the capabilities of the underlying hardware. More...
 
class  ISensorManager
 Sensor Manager class provides APIs to interact with the sensor sub-system and get access to other sensor objects which can be used to configure, activate or get data from the individual sensors available - Gyro, Accelero, etc. More...
 
struct  MotionSensorData
 Structure of a single sample from a motion sensor. More...
 
struct  SensorConfiguration
 Configurable parameters of a sensor. More...
 
struct  SensorEvent
 Structure of a single sensor event. More...
 
union  SensorEvent.__unnamed__
 
class  SensorFactory
 SensorFactory is the central factory to create instances of sensor objects. More...
 
struct  SensorFeature
 Feature offered by sensor hardware and/or software framework. More...
 
struct  SensorFeatureEvent
 Structure of an event that is generated from a sensor feature. More...
 
struct  SensorInfo
 Information related to sensor. More...
 
struct  UncalibratedMotionSensorData
 Structure of a single sample from uncalibrated motion sensor. More...
 

Typedefs

using SelfTestResultCallback = std::function< void(telux::common::ErrorCode result)>
 This file hosts the sensor interfaces to configure, activate or get data from the individual sensors available - Gyroscope, Accelerometer, etc. More...
 
using ISensor = ISensorClient
 
using SensorConfigMask = std::bitset< SensorConfigParams::SENSOR_CONFIG_NUM_PARAMS >
 

Enumerations

enum  SensorType {
  SensorType::ACCELEROMETER = 1, SensorType::GYROSCOPE = 4, SensorType::GYROSCOPE_UNCALIBRATED = 16, SensorType::ACCELEROMETER_UNCALIBRATED = 35,
  SensorType::INVALID = 0xFF
}
 Enumeration of different sensors available. More...
 
enum  SensorConfigParams { SAMPLING_RATE, BATCH_COUNT, SENSOR_CONFIG_NUM_PARAMS }
 
enum  SelfTestType { SelfTestType::POSITIVE, SelfTestType::NEGATIVE }
 Types of self test the sensor can perform. More...