lbs/internal/lbstestserver/inc/lbspropertykeydefs.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef LBSPROPERTYKEYDEFS_H
       
    25 #define LBSPROPERTYKEYDEFS_H
       
    26 
       
    27 #include <e32def.h>
       
    28 
       
    29 
       
    30 
       
    31 
       
    32 //This header splits up the key space for the process that defines the LBS P&S properties.
       
    33 //It then goes on to map ModuleId-Property type pairs to individual key vaules.
       
    34 
       
    35 
       
    36 //We offset from 0 - this is to make debugging easier (0 means a lot of things, 1000 is a better clue).
       
    37 //Also, several places in the implementation use the fact that 0 is NEVER a valid key value.
       
    38 
       
    39 const TUint KLbsPowerModeAdviceKeyBase			= 0x00001000;		//Base value for RLbsManagerPowerModeAdvice keys
       
    40 const TUint KLbsModuleInfoKeyBase				= 0x01001000;		//Base value for LbsModuleInfo keys
       
    41 const TUint KLbsModuleStatusKayBase				= 0x02001000;		//Base value for RLbsModuleStatus keys
       
    42 const TUint KLbsPositionUpdatesKeyBase			= 0x03001000;		//Base value for RLbsPositionUpdates keys
       
    43 const TUint	KLbsGpsMeasurementUpdatesKeyBase	= 0x03001100;		//Base value for RLbsGpsMeasurementUpdates keys
       
    44 const TUint KLbsPositionUpdateRequestsKeyBase	= 0x04001000;		//Base value for RLbsPositionUpdateRequests keys
       
    45 const TUint KLbsSystemModuleEventKeyBase		= 0x05001000;		//Base value for RLbsSystemModuleEvent keys
       
    46 
       
    47 // The following section lists the keys used by lbsnetinternalapi
       
    48 
       
    49 /* Key value used to publish message data */
       
    50 const TUint KNetGatewayMessageKey = 0x06001000;
       
    51 
       
    52 /* Key value used to publish the 'message read' acknowledgement */
       
    53 const TUint KNetGatewayMessageReadAckKey = 0x06001010;
       
    54 
       
    55 /* Key value used to publish message data */
       
    56 const TUint KNetRequestMessageKey = 0x06001020;
       
    57 
       
    58 /* Key value used to publish the 'message read' acknowledgement */
       
    59 const TUint KNetRequestMessageReadAckKey = 0x06001030;
       
    60 
       
    61 /* Key value used to publish message data */
       
    62 const TUint KNetworkLocationRequestMessageKey = 0x06001040;
       
    63 
       
    64 /* Key value used to publish message data */
       
    65 const TUint KNetworkLocationResponseMessageKey = 0x06001060;
       
    66 
       
    67 /* Key value used to publish network reference position data */
       
    68 const TUint KNetworkReferencePositionUpdateKey = 0x06001080;
       
    69 
       
    70 /* Key value used to publish network final position data */
       
    71 const TUint KNetworkFinalPositionUpdateKey = 0x06001088;
       
    72 
       
    73 /* Key value used to publish messages from AGPS Manager to Network Gateway  
       
    74    and the corresponding acknowledgement */
       
    75 const TUint KNetAGPS2NGMessageKey = 0x06001090;
       
    76 const TUint KNetAGPS2NGMessageReadAckKey = 0x060010a0;
       
    77 
       
    78 /* Key value used to publish messages from the Network Gateway to the AGPS Manager  
       
    79    and the corresponding acknowledgement */
       
    80 const TUint KNetNG2AGPSMessageKey = 0x060010b0;
       
    81 const TUint KNetNG2AGPSMessageReadAckKey = 0x060010c0;
       
    82 
       
    83 /* Key value used to publish network registration status */
       
    84 const TUint KNetworkRegistrationStatusKey = 0x060010d0;
       
    85 
       
    86 /* Key value used to support LS to NRH communication for client/network
       
    87  * symmetry requirement*/
       
    88 const TUint KLSToNRHKey = 0x060010e0;
       
    89 
       
    90 /* Key value used to support NRH to LScommunication for client/network
       
    91  * symmetry requirement */
       
    92 const TUint KNRHToLSKey = 0x060010f0;
       
    93 
       
    94 // End of section keys used by lbsnetinternalapi
       
    95 
       
    96 
       
    97 const TUint KLbsRootProcessKeyBase      		= 0x07001000;		//Base value for LBS Root Api keys
       
    98 const TUint KLbsAssistDataApiBase       		= 0x08001000;		//Base value for Assistance Data Api keys
       
    99 const TUint KLbsQualityProfileKeyBase      		= 0x09001000;		//Base value for Quality Profile keys
       
   100 const TUint KLbsSuplPushAPIBase		      		= 0x0A001000;		//Base value for SUPL Push API keys
       
   101 
       
   102 #endif	//LBSPROPERTYKEYDEFS_H