epoc32/include/bluetooth/lmoptions.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/bluetooth/lmoptions.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,112 @@
     1.4 +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef LMOPTIONS_H
    1.20 +#define LMOPTIONS_H
    1.21 +
    1.22 +// Link Manager Ioctls
    1.23 +
    1.24 +/** Link manager Ioctl codes.
    1.25 +WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
    1.26 +*/
    1.27 +enum TBTLMIoctls
    1.28 +	{
    1.29 +	/** Disconnect ACL Ioctl code
    1.30 +	@deprecated
    1.31 +	*/
    1.32 +	KLMDisconnectACLIoctl,
    1.33 +	/** Set Packet type Ioctl code
    1.34 +	@deprecated
    1.35 +	*/
    1.36 +	KLMSetPacketTypeIoctl,
    1.37 +	/** Wait for SCO notification Ioctl code
    1.38 +	@internalComponent
    1.39 +	*/
    1.40 +	KLMWaitForSCONotificationIoctl,
    1.41 +	/** One-shot baseband notification Ioctl code
    1.42 +	@internalComponent
    1.43 +	*/	
    1.44 +	KLMBasebandEventOneShotNotificationIoctl,
    1.45 +	/** Baseband event notification Ioctl code
    1.46 +	@internalComponent
    1.47 +	*/	
    1.48 +	KLMBasebandEventNotificationIoctl,
    1.49 +	/** Read Failed Contact Counter Ioctl
    1.50 +	@internalComponent
    1.51 +	*/	
    1.52 +	KLMReadFailedContactCounterIoctl,
    1.53 +	/** Read Link Quality Ioctl
    1.54 +	@internalComponent
    1.55 +	*/	
    1.56 +	KLMReadLinkQualityIoctl,
    1.57 +	/** Read RSSI Ioctl
    1.58 +	@internalComponent
    1.59 +	*/	
    1.60 +	KLMReadRssiIoctl,
    1.61 +	/** Read Current Transmit Power Level Ioctl
    1.62 +	@internalComponent
    1.63 +	*/	
    1.64 +	KLMReadCurrentTransmitPowerLevelIoctl,
    1.65 +	};
    1.66 +
    1.67 +
    1.68 +/** Link manager options.
    1.69 +@internalComponent
    1.70 +WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
    1.71 +*/
    1.72 +enum TBTLMOptions
    1.73 +	{
    1.74 +	ELMOutboundACLSize,						/*!< Outbound ACL size option */
    1.75 +	ELMInboundACLSize,						/*!< Inbound ACL size option */
    1.76 +	KLMGetACLHandle,						/*!< Get ACL Handle option */
    1.77 +	KLMGetACLLinkCount,						/*!< Get ACL link count option */
    1.78 +	KLMGetACLLinkArray,						/*!< Get ACL link array option */
    1.79 +	KLMSetBasebandConnectionPolicy,			/*!< Set baseband connection policy option */
    1.80 +	KLMGetBasebandHandle,					/*!< Get baseband handle option */
    1.81 +	EBBSubscribePhysicalLink,				/*!< Subscribe physical link option */
    1.82 +	EBBBeginRaw,							/*!< Enable raw broadcast option */
    1.83 +	EBBRequestRoleMaster,					/*!< Request switch to master option */
    1.84 +	EBBRequestRoleSlave,					/*!< Request switch to slave option */
    1.85 +	EBBCancelModeRequest,					/*!< Cancel mode request option */
    1.86 +	EBBRequestSniff,						/*!< Request sniff mode option */
    1.87 +	EBBRequestPark,							/*!< Request park mode option */
    1.88 +	EBBRequestPreventRoleChange,			/*!< Request to prevent a role (master / slave) switch option */
    1.89 +	EBBRequestAllowRoleChange,				/*!< Request to allow a role (master / slave) switchoption */
    1.90 +	EBBRequestChangeSupportedPacketTypes,	/*!< Request to cange the current supported packet types option */
    1.91 +	EBBEnumeratePhysicalLinks,				/*!< Enumerate physical links option */
    1.92 +	EBBGetPhysicalLinkState,				/*!< Get the physical link state option */
    1.93 +	EBBGetSniffInterval,					/*!< Get Sniff Interval option */
    1.94 +	EBBRequestLinkAuthentication,			/*!< Request authentication on the link */
    1.95 +	EBBRequestExplicitActiveMode,			/*!< Explicitly request the link to go into active mode */
    1.96 +	
    1.97 +	//Allow combination of options below...
    1.98 +	EBBRequestPreventSniff = 0x100,			/*!< Request to prevent entering sniff mode option */
    1.99 +	EBBRequestPreventHold = 0x200,			/*!< Request to prevent entering hold mode option */
   1.100 +	EBBRequestPreventPark = 0x400,			/*!< Request to prevent entering park mode option */
   1.101 +	EBBRequestPreventAllLowPowerModes = 
   1.102 +		(EBBRequestPreventSniff | 
   1.103 +		 EBBRequestPreventHold | 
   1.104 +		 EBBRequestPreventPark),			/*!< Request to prevent entering all modes option */
   1.105 +	EBBRequestAllowSniff = 0x800,			/*!< Request to allow entering sniff mode option */
   1.106 +	EBBRequestAllowHold = 0x1000,			/*!< Request to allow entering hold mode option */
   1.107 +	EBBRequestAllowPark = 0x2000,			/*!< Request to allow entering park mode option */
   1.108 +	EBBRequestAllowAllLowPowerModes = 
   1.109 +		(EBBRequestAllowSniff | 
   1.110 +		 EBBRequestAllowHold | 
   1.111 +		 EBBRequestAllowPark),				/*!< Request to allow entering-all-modes option. */
   1.112 +	};
   1.113 +
   1.114 +
   1.115 +#endif // LMOPTIONS_H