sensrvgeneralproperties.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : sensrvgeneralproperties.h
00004 *  Part of     : Sensor Definitions API
00005 *  Description : General properties definition file.
00006 *  Version     : %version: 3.1.5 %
00007 *
00008 *  Copyright © 2008, 2009 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.1
00018 */
00019 
00020 
00021 #ifndef SENSRVGENERALPROPERTIES_H
00022 #define SENSRVGENERALPROPERTIES_H
00023 
00024 #include <e32base.h>
00025 #include <sensrvtypes.h>
00026 
00027 // PROPERTY TEMPLATE
00028 
00029 /*
00030 * The following is a template that must be used when defining new properties
00031 *
00032 * Property Name: Name of the property
00033 * Property Type: Defines type of the property (TInt/TReal/TBuf)
00034 * Scope: Defines a property scope. Property can be defined for a channel, for a specific
00035 * item in a channel or for a sensor related to a channel.
00036 * Mandatory: Defines is property mandatory
00037 * Capability: Capabilities needed to set this property
00038 * Description: Description of the property
00039 */
00040 
00041 // CONSTANTS
00042 
00089 const TSensrvPropertyId KSensrvPropIdDataRate = 0x00000002;
00090 
00106 const TSensrvPropertyId KSensrvPropIdPower = 0x00000003;
00107 
00126 const TSensrvPropertyId KSensrvPropIdAvailability = 0x00000004;
00127 
00161 const TSensrvPropertyId KSensrvPropIdMeasureRange = 0x00000005;
00162 
00173 const TSensrvPropertyId KSensrvPropIdChannelDataFormat = 0x000000006;
00174 
00204 const TSensrvPropertyId KSensrvPropIdScaledRange = 0x000000007;
00205 
00230 const TSensrvPropertyId KSensrvPropIdChannelAccuracy = 0x000000008;
00231 
00259 const TSensrvPropertyId KSensrvPropIdChannelScale = 0x000000009;
00260 
00273 const TSensrvPropertyId KSensrvPropIdChannelUnit = 0x0000000010;
00274 
00283 const TSensrvPropertyId KSensrvSensorModel = 0x0000000011;
00284 
00295 const TSensrvPropertyId KSensrvSensorConnectionType = 0x0000000012;
00296 
00311 const TSensrvPropertyId KSensrvSensorDescription = 0x0000000013;
00312 
00322 const TSensrvPropertyId KSensrvPropIdChannelDataCompensation = 0x0000000014;
00323 
00324 #endif //SENSRVGENERALPROPERTIES_H
00325 
00326 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top