bluetoothmgmt/bluetoothclientlib/inc/lmoptions.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 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 #ifndef LMOPTIONS_H
       
    17 #define LMOPTIONS_H
       
    18 
       
    19 // Link Manager Ioctls
       
    20 
       
    21 /** Link manager Ioctl codes.
       
    22 WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
       
    23 */
       
    24 enum TBTLMIoctls
       
    25 	{
       
    26 	/** Disconnect ACL Ioctl code
       
    27 	@deprecated
       
    28 	*/
       
    29 	KLMDisconnectACLIoctl,
       
    30 	/** Set Packet type Ioctl code
       
    31 	@deprecated
       
    32 	*/
       
    33 	KLMSetPacketTypeIoctl,
       
    34 	/** Wait for SCO notification Ioctl code
       
    35 	@internalComponent
       
    36 	*/
       
    37 	KLMWaitForSCONotificationIoctl,
       
    38 	/** One-shot baseband notification Ioctl code
       
    39 	@internalComponent
       
    40 	*/	
       
    41 	KLMBasebandEventOneShotNotificationIoctl,
       
    42 	/** Baseband event notification Ioctl code
       
    43 	@internalComponent
       
    44 	*/	
       
    45 	KLMBasebandEventNotificationIoctl,
       
    46 	/** Read Failed Contact Counter Ioctl
       
    47 	@internalComponent
       
    48 	*/	
       
    49 	KLMReadFailedContactCounterIoctl,
       
    50 	/** Read Link Quality Ioctl
       
    51 	@internalComponent
       
    52 	*/	
       
    53 	KLMReadLinkQualityIoctl,
       
    54 	/** Read RSSI Ioctl
       
    55 	@internalComponent
       
    56 	*/	
       
    57 	KLMReadRssiIoctl,
       
    58 	/** Read Current Transmit Power Level Ioctl
       
    59 	@internalComponent
       
    60 	*/	
       
    61 	KLMReadCurrentTransmitPowerLevelIoctl,
       
    62 	};
       
    63 
       
    64 
       
    65 /** Link manager options.
       
    66 @internalComponent
       
    67 WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
       
    68 */
       
    69 enum TBTLMOptions
       
    70 	{
       
    71 	ELMOutboundACLSize,						/*!< Outbound ACL size option */
       
    72 	ELMInboundACLSize,						/*!< Inbound ACL size option */
       
    73 	KLMGetACLHandle,						/*!< Get ACL Handle option */
       
    74 	KLMGetACLLinkCount,						/*!< Get ACL link count option */
       
    75 	KLMGetACLLinkArray,						/*!< Get ACL link array option */
       
    76 	KLMSetBasebandConnectionPolicy,			/*!< Set baseband connection policy option */
       
    77 	KLMGetBasebandHandle,					/*!< Get baseband handle option */
       
    78 	EBBSubscribePhysicalLink,				/*!< Subscribe physical link option */
       
    79 	EBBBeginRaw,							/*!< Enable raw broadcast option */
       
    80 	EBBRequestRoleMaster,					/*!< Request switch to master option */
       
    81 	EBBRequestRoleSlave,					/*!< Request switch to slave option */
       
    82 	EBBCancelModeRequest,					/*!< Cancel mode request option */
       
    83 	EBBRequestSniff,						/*!< Request sniff mode option */
       
    84 	EBBRequestPark,							/*!< Request park mode option */
       
    85 	EBBRequestPreventRoleChange,			/*!< Request to prevent a role (master / slave) switch option */
       
    86 	EBBRequestAllowRoleChange,				/*!< Request to allow a role (master / slave) switchoption */
       
    87 	EBBRequestChangeSupportedPacketTypes,	/*!< Request to cange the current supported packet types option */
       
    88 	EBBEnumeratePhysicalLinks,				/*!< Enumerate physical links option */
       
    89 	EBBGetPhysicalLinkState,				/*!< Get the physical link state option */
       
    90 	EBBGetSniffInterval,					/*!< Get Sniff Interval option */
       
    91 	EBBRequestLinkAuthentication,			/*!< Request authentication on the link */
       
    92 	EBBRequestExplicitActiveMode,			/*!< Explicitly request the link to go into active mode */
       
    93 	
       
    94 	//Allow combination of options below...
       
    95 	EBBRequestPreventSniff = 0x100,			/*!< Request to prevent entering sniff mode option */
       
    96 	EBBRequestPreventHold = 0x200,			/*!< Request to prevent entering hold mode option */
       
    97 	EBBRequestPreventPark = 0x400,			/*!< Request to prevent entering park mode option */
       
    98 	EBBRequestPreventAllLowPowerModes = 
       
    99 		(EBBRequestPreventSniff | 
       
   100 		 EBBRequestPreventHold | 
       
   101 		 EBBRequestPreventPark),			/*!< Request to prevent entering all modes option */
       
   102 	EBBRequestAllowSniff = 0x800,			/*!< Request to allow entering sniff mode option */
       
   103 	EBBRequestAllowHold = 0x1000,			/*!< Request to allow entering hold mode option */
       
   104 	EBBRequestAllowPark = 0x2000,			/*!< Request to allow entering park mode option */
       
   105 	EBBRequestAllowAllLowPowerModes = 
       
   106 		(EBBRequestAllowSniff | 
       
   107 		 EBBRequestAllowHold | 
       
   108 		 EBBRequestAllowPark),				/*!< Request to allow entering-all-modes option. */
       
   109 	};
       
   110 
       
   111 
       
   112 #endif // LMOPTIONS_H