bthci/hci2implementations/hctls/bcsp/inc/bcsputils.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     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 "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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef BCSPUTILS_H
       
    22 #define BCSPUTILS_H
       
    23 
       
    24 #include <e32def.h>
       
    25 
       
    26 /**
       
    27 The panic category for the BCSP HCTL.
       
    28 */
       
    29 _LIT(KBcspPanicCat, "BCSP Panic");
       
    30 
       
    31 /**
       
    32 Panic codes for BCSP.
       
    33 */
       
    34 enum TBcspPanic
       
    35 	{
       
    36 	EUnexpectedLinkEvent		    = 0,
       
    37 	EBadFramePointer				= 1,
       
    38 	EBadBcspFrame					= 2,
       
    39 	EBadLinkPointer					= 3,
       
    40 	EPortNotOpen					= 4,
       
    41 	EReliableQueueFull				= 5,
       
    42 	EBcspIllegalProtocolId			= 6,
       
    43 	EBcspInvalidAckValue			= 7,
       
    44 	EBcspInvalidSequenceValue		= 8,
       
    45 	EUnexpectedPowerState			= 9,
       
    46 	EUnexpectedReset				= 10,
       
    47 	EUnexpectedControllerMgrState	= 11,
       
    48 	EInvalidCurrentTask				= 12,
       
    49 	EBCSPLinkStateOutOfBounds		= 13
       
    50 	};
       
    51 
       
    52 #endif // BCSPUTILS_H
       
    53