2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Channel data types definitions
20 #ifndef SENSRVACCELEROMETERSENSOR_H
21 #define SENSRVACCELEROMETERSENSOR_H
25 #include <sensrvtypes.h>
27 // ACCELEROMETER RELATED CHANNELS
30 * - Name: Accelerometer XYZ-axis data channel type
32 * - Datatype: TSensrvAccelerometerAxisData
33 * - Description: Accelerometer x-, y-, z-axis data
35 const TSensrvChannelTypeId KSensrvChannelTypeIdAccelerometerXYZAxisData = 0x1020507E;
37 // ACCELEROMETER RELATED PROPERTIES
42 * - Scope: Channel item property
45 * - Description: Indicates is sensor axis activated.
46 * Value is one if the axis is activated, zero otherwise.
48 const TSensrvPropertyId KSensrvPropIdAxisActive = 0x00001001;
50 // ACCELEROMETER RELATED DATATYPES
53 * Accelerometer axis data type
55 class TSensrvAccelerometerAxisData
59 * Channel data type Id number
61 static const TSensrvChannelDataTypeId KDataTypeId = 0x1020507E;
64 * Channel data type index numbers
66 enum TSensrvAccelerometerAxisDataIndexes
76 * - Item name: Sampling time.
79 * - Description: Timestamp for a sample.
84 * - Item name: Accelerometer x-axis
86 * - Conditions: Single limit and range
87 * - Description: Accelerometer values from x-axis
92 * - Item name: Accelerometer y-axis
94 * - Conditions: Single limit and range
95 * - Description: Accelerometer values from y-axis
100 * - Item name: Accelerometer z-axis
102 * - Conditions: Single limit and range
103 * - Description: Accelerometer values from z-axis
108 #endif //SENSRVACCELEROMETERSENSOR_H