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 SENSRVPROXIMITYSENSOR_H
21 #define SENSRVPROXIMITYSENSOR_H
25 #include <sensrvtypes.h>
27 // PROXIMITY RELATED CHANNELS
30 * - Name: Proximity data channel
32 * - Datatype: TSensrvProximityMonitorData
33 * - Description: Proximity status
35 const TSensrvChannelTypeId KSensrvChannelTypeIdProximityMonitor = 0x2000E585;
37 // PROXIMITY RELATED DATATYPES
40 * Proximity monitoring data type
42 class TSensrvProximityData
46 * Channel data type Id number
48 static const TSensrvChannelDataTypeId KDataTypeId = 0x2000E585;
51 * Channel data type index numbers
53 enum TSensrvProximityDataIndexes
60 * Possible values for proximito state
64 EProximityUndefined = 0,
65 EProximityIndiscernible,
72 * - Item name: Sampling time.
75 * - Description: Timestamp for a sample.
80 * - Item name: Proximity state
85 TProximityState iProximityState;
89 #endif //SENSRVPROXIMITYSENSOR_H