os/mm/mmhais/dvbhreceiverhai/hai/dvbh/teststubs/dvbhstubcommon.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2007-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 "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // DVB-H types common to the test stub implementation.
    15 // 
    16 //
    17 
    18 /**
    19  @file
    20  @internalComponent
    21  @prototype
    22 */
    23 
    24 #ifndef DVBHSTUBCOMMON_H
    25 #define DVBHSTUBCOMMON_H
    26 
    27 #include <e32cmn.h>
    28 #include <in_sock.h>
    29 #include "dvbhtypes.h"
    30 
    31 /**
    32 * @internalComponent
    33 * @prototype
    34 *
    35 * Publish & Subscribe variables used for implementation to API communication.
    36 */	
    37 const TUid KDvbhPropertyCategory = 
    38 	{
    39 	0x101f45ef //TestFramework's UID3
    40 	};
    41 	
    42 const TUint KDvbhPropertyKeyState = 0;      	 // integer (TDvbhState)
    43 const TUint KDvbhPropertyKeyPlatform = 1;   	 // byte array (TDvbhPlatform + TIp6Addr)
    44 const TUint KDvbhPropertyKeyNetworkTime = 2; 	 // byte array (TDvbhNetworkTime)
    45 const TUint KDvbhPropertyKeyPerformanceData = 3; // byte array (TDvbhPerformanceData)
    46 const TUint KDvbhPropertyKeyFrequency = 4; 		 // integer (TDvbhFrequency)
    47 const TUint KDvbhPropertyKeyNetworkId = 5; 		 // integer (TDvbhNetworkId)
    48 const TUint KDvbhPropertyKeySignalQuality = 6; 	 // integer (TDvbhSignalQuality)
    49 const TUint KDvbhPropertyKeyCellId = 7; 		 // integer (TDvbhCellId)
    50 const TUint KDvbhPropertyKeyExtBatteryState = 8; 	 // integer (TDvbhExtBatteryState)
    51 const TUint KDvbhPropertyKeyExtConnectionState = 9; 	 // integer (TDvbhExtConnectionState)
    52 
    53 const TUint KMtvAccAttachedKey = 20; // integer (TMtvAccConnectionState)
    54 const TUint KMtvAccAntennaKey = 21; // integer (TMtvAccAntennaConnectionState)
    55 const TUint KMtvAccInfoKey = 22; // byte array (TMtvAccInfo)
    56 
    57 struct TDvbhPlatformProperty
    58 	{
    59 	TDvbhPlatform iPlatform;
    60 	TIp6Addr iEsgRoot;
    61 	};
    62 	
    63 #endif // DVBHSTUBCOMMON_H