epoc32/include/bluetooth/lmoptions.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     2
// All rights reserved.
williamr@4
     3
// This component and the accompanying materials are made available
williamr@4
     4
// under the terms of "Eclipse Public License v1.0"
williamr@4
     5
// which accompanies this distribution, and is available
williamr@4
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     7
//
williamr@4
     8
// Initial Contributors:
williamr@4
     9
// Nokia Corporation - initial contribution.
williamr@4
    10
//
williamr@4
    11
// Contributors:
williamr@4
    12
//
williamr@4
    13
// Description:
williamr@4
    14
//
williamr@4
    15
williamr@4
    16
#ifndef LMOPTIONS_H
williamr@4
    17
#define LMOPTIONS_H
williamr@4
    18
williamr@4
    19
// Link Manager Ioctls
williamr@4
    20
williamr@4
    21
/** Link manager Ioctl codes.
williamr@4
    22
WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
williamr@4
    23
*/
williamr@4
    24
enum TBTLMIoctls
williamr@4
    25
	{
williamr@4
    26
	/** Disconnect ACL Ioctl code
williamr@4
    27
	@deprecated
williamr@4
    28
	*/
williamr@4
    29
	KLMDisconnectACLIoctl,
williamr@4
    30
	/** Set Packet type Ioctl code
williamr@4
    31
	@deprecated
williamr@4
    32
	*/
williamr@4
    33
	KLMSetPacketTypeIoctl,
williamr@4
    34
	/** Wait for SCO notification Ioctl code
williamr@4
    35
	@internalComponent
williamr@4
    36
	*/
williamr@4
    37
	KLMWaitForSCONotificationIoctl,
williamr@4
    38
	/** One-shot baseband notification Ioctl code
williamr@4
    39
	@internalComponent
williamr@4
    40
	*/	
williamr@4
    41
	KLMBasebandEventOneShotNotificationIoctl,
williamr@4
    42
	/** Baseband event notification Ioctl code
williamr@4
    43
	@internalComponent
williamr@4
    44
	*/	
williamr@4
    45
	KLMBasebandEventNotificationIoctl,
williamr@4
    46
	/** Read Failed Contact Counter Ioctl
williamr@4
    47
	@internalComponent
williamr@4
    48
	*/	
williamr@4
    49
	KLMReadFailedContactCounterIoctl,
williamr@4
    50
	/** Read Link Quality Ioctl
williamr@4
    51
	@internalComponent
williamr@4
    52
	*/	
williamr@4
    53
	KLMReadLinkQualityIoctl,
williamr@4
    54
	/** Read RSSI Ioctl
williamr@4
    55
	@internalComponent
williamr@4
    56
	*/	
williamr@4
    57
	KLMReadRssiIoctl,
williamr@4
    58
	/** Read Current Transmit Power Level Ioctl
williamr@4
    59
	@internalComponent
williamr@4
    60
	*/	
williamr@4
    61
	KLMReadCurrentTransmitPowerLevelIoctl,
williamr@4
    62
	};
williamr@4
    63
williamr@4
    64
williamr@4
    65
/** Link manager options.
williamr@4
    66
@internalComponent
williamr@4
    67
WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
williamr@4
    68
*/
williamr@4
    69
enum TBTLMOptions
williamr@4
    70
	{
williamr@4
    71
	ELMOutboundACLSize,						/*!< Outbound ACL size option */
williamr@4
    72
	ELMInboundACLSize,						/*!< Inbound ACL size option */
williamr@4
    73
	KLMGetACLHandle,						/*!< Get ACL Handle option */
williamr@4
    74
	KLMGetACLLinkCount,						/*!< Get ACL link count option */
williamr@4
    75
	KLMGetACLLinkArray,						/*!< Get ACL link array option */
williamr@4
    76
	KLMSetBasebandConnectionPolicy,			/*!< Set baseband connection policy option */
williamr@4
    77
	KLMGetBasebandHandle,					/*!< Get baseband handle option */
williamr@4
    78
	EBBSubscribePhysicalLink,				/*!< Subscribe physical link option */
williamr@4
    79
	EBBBeginRaw,							/*!< Enable raw broadcast option */
williamr@4
    80
	EBBRequestRoleMaster,					/*!< Request switch to master option */
williamr@4
    81
	EBBRequestRoleSlave,					/*!< Request switch to slave option */
williamr@4
    82
	EBBCancelModeRequest,					/*!< Cancel mode request option */
williamr@4
    83
	EBBRequestSniff,						/*!< Request sniff mode option */
williamr@4
    84
	EBBRequestPark,							/*!< Request park mode option */
williamr@4
    85
	EBBRequestPreventRoleChange,			/*!< Request to prevent a role (master / slave) switch option */
williamr@4
    86
	EBBRequestAllowRoleChange,				/*!< Request to allow a role (master / slave) switchoption */
williamr@4
    87
	EBBRequestChangeSupportedPacketTypes,	/*!< Request to cange the current supported packet types option */
williamr@4
    88
	EBBEnumeratePhysicalLinks,				/*!< Enumerate physical links option */
williamr@4
    89
	EBBGetPhysicalLinkState,				/*!< Get the physical link state option */
williamr@4
    90
	EBBGetSniffInterval,					/*!< Get Sniff Interval option */
williamr@4
    91
	EBBRequestLinkAuthentication,			/*!< Request authentication on the link */
williamr@4
    92
	EBBRequestExplicitActiveMode,			/*!< Explicitly request the link to go into active mode */
williamr@4
    93
	
williamr@4
    94
	//Allow combination of options below...
williamr@4
    95
	EBBRequestPreventSniff = 0x100,			/*!< Request to prevent entering sniff mode option */
williamr@4
    96
	EBBRequestPreventHold = 0x200,			/*!< Request to prevent entering hold mode option */
williamr@4
    97
	EBBRequestPreventPark = 0x400,			/*!< Request to prevent entering park mode option */
williamr@4
    98
	EBBRequestPreventAllLowPowerModes = 
williamr@4
    99
		(EBBRequestPreventSniff | 
williamr@4
   100
		 EBBRequestPreventHold | 
williamr@4
   101
		 EBBRequestPreventPark),			/*!< Request to prevent entering all modes option */
williamr@4
   102
	EBBRequestAllowSniff = 0x800,			/*!< Request to allow entering sniff mode option */
williamr@4
   103
	EBBRequestAllowHold = 0x1000,			/*!< Request to allow entering hold mode option */
williamr@4
   104
	EBBRequestAllowPark = 0x2000,			/*!< Request to allow entering park mode option */
williamr@4
   105
	EBBRequestAllowAllLowPowerModes = 
williamr@4
   106
		(EBBRequestAllowSniff | 
williamr@4
   107
		 EBBRequestAllowHold | 
williamr@4
   108
		 EBBRequestAllowPark),				/*!< Request to allow entering-all-modes option. */
williamr@4
   109
	};
williamr@4
   110
williamr@4
   111
williamr@4
   112
#endif // LMOPTIONS_H