devicesrv_plat/autoaudio_plugin_api/inc/autoaudiopskeys.h
branchRCL_3
changeset 21 ccb4f6b3db21
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Provides P&S Key Defintions for Autoaudio ASY
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _AUTOAUDIO_PS_KEYS_
       
    19 #define _AUTOAUDIO_PS_KEYS_
       
    20 
       
    21 #include <e32std.h>
       
    22 
       
    23 /// header for defining P&S keys for automotive audio use cases
       
    24 /// accessory server is responsible for defining below P&S keys during start-up
       
    25 /// Automotive Server is responsible for publishing key values
       
    26 
       
    27 /// key for monitoring the connection status of RTP Streaming
       
    28 /// client : AutoAudio ASY, publisher : automotive server
       
    29 /// value : TPSAutoAudioConnectionStatus
       
    30 const TUint KPSAutoKeyRTPStreamingConnectionStatus = 0x2; 
       
    31 
       
    32 enum TPSAutoAudioConnectionStatus 
       
    33 {
       
    34     EAudioConnectionStatusNone,	         // Notifies Accessory Disconnection
       
    35     EAudioConnectionStatusUnidirectional, // application sound only
       
    36     EAudioConnectionStatusBidirectional   // application sound + phone call
       
    37 };
       
    38 
       
    39 
       
    40 /// key for monitoring the connection status of USB Audio
       
    41 /// client : accessory FW, publisher : USB audio class controller
       
    42 /// value : TPSAutoAudioConnectionStatus
       
    43 // const TUint KPSAutoKeyUSBAudioConnectionStatus = 0x3; 
       
    44 
       
    45 /// key for monitoring the successful launch of USB Audio.
       
    46 /// client : USB audio class controller, publisher : USB Audio streaming implementation
       
    47 /// value : TPSAutoAudioRunningStatus
       
    48 // const TUint KPSAutoKeyUSBAudioRunningStatus = 0x4;
       
    49 
       
    50 #endif // _AUTOAUDIO_PS_KEYS_