williamr@4: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: // All rights reserved. williamr@4: // This component and the accompanying materials are made available williamr@4: // under the terms of "Eclipse Public License v1.0" williamr@4: // which accompanies this distribution, and is available williamr@4: // at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: // williamr@4: // Initial Contributors: williamr@4: // Nokia Corporation - initial contribution. williamr@4: // williamr@4: // Contributors: williamr@4: // williamr@4: // Description: williamr@4: // williamr@4: williamr@4: #ifndef LMOPTIONS_H williamr@4: #define LMOPTIONS_H williamr@4: williamr@4: // Link Manager Ioctls williamr@4: williamr@4: /** Link manager Ioctl codes. williamr@4: WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases. williamr@4: */ williamr@4: enum TBTLMIoctls williamr@4: { williamr@4: /** Disconnect ACL Ioctl code williamr@4: @deprecated williamr@4: */ williamr@4: KLMDisconnectACLIoctl, williamr@4: /** Set Packet type Ioctl code williamr@4: @deprecated williamr@4: */ williamr@4: KLMSetPacketTypeIoctl, williamr@4: /** Wait for SCO notification Ioctl code williamr@4: @internalComponent williamr@4: */ williamr@4: KLMWaitForSCONotificationIoctl, williamr@4: /** One-shot baseband notification Ioctl code williamr@4: @internalComponent williamr@4: */ williamr@4: KLMBasebandEventOneShotNotificationIoctl, williamr@4: /** Baseband event notification Ioctl code williamr@4: @internalComponent williamr@4: */ williamr@4: KLMBasebandEventNotificationIoctl, williamr@4: /** Read Failed Contact Counter Ioctl williamr@4: @internalComponent williamr@4: */ williamr@4: KLMReadFailedContactCounterIoctl, williamr@4: /** Read Link Quality Ioctl williamr@4: @internalComponent williamr@4: */ williamr@4: KLMReadLinkQualityIoctl, williamr@4: /** Read RSSI Ioctl williamr@4: @internalComponent williamr@4: */ williamr@4: KLMReadRssiIoctl, williamr@4: /** Read Current Transmit Power Level Ioctl williamr@4: @internalComponent williamr@4: */ williamr@4: KLMReadCurrentTransmitPowerLevelIoctl, williamr@4: }; williamr@4: williamr@4: williamr@4: /** Link manager options. williamr@4: @internalComponent williamr@4: WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases. williamr@4: */ williamr@4: enum TBTLMOptions williamr@4: { williamr@4: ELMOutboundACLSize, /*!< Outbound ACL size option */ williamr@4: ELMInboundACLSize, /*!< Inbound ACL size option */ williamr@4: KLMGetACLHandle, /*!< Get ACL Handle option */ williamr@4: KLMGetACLLinkCount, /*!< Get ACL link count option */ williamr@4: KLMGetACLLinkArray, /*!< Get ACL link array option */ williamr@4: KLMSetBasebandConnectionPolicy, /*!< Set baseband connection policy option */ williamr@4: KLMGetBasebandHandle, /*!< Get baseband handle option */ williamr@4: EBBSubscribePhysicalLink, /*!< Subscribe physical link option */ williamr@4: EBBBeginRaw, /*!< Enable raw broadcast option */ williamr@4: EBBRequestRoleMaster, /*!< Request switch to master option */ williamr@4: EBBRequestRoleSlave, /*!< Request switch to slave option */ williamr@4: EBBCancelModeRequest, /*!< Cancel mode request option */ williamr@4: EBBRequestSniff, /*!< Request sniff mode option */ williamr@4: EBBRequestPark, /*!< Request park mode option */ williamr@4: EBBRequestPreventRoleChange, /*!< Request to prevent a role (master / slave) switch option */ williamr@4: EBBRequestAllowRoleChange, /*!< Request to allow a role (master / slave) switchoption */ williamr@4: EBBRequestChangeSupportedPacketTypes, /*!< Request to cange the current supported packet types option */ williamr@4: EBBEnumeratePhysicalLinks, /*!< Enumerate physical links option */ williamr@4: EBBGetPhysicalLinkState, /*!< Get the physical link state option */ williamr@4: EBBGetSniffInterval, /*!< Get Sniff Interval option */ williamr@4: EBBRequestLinkAuthentication, /*!< Request authentication on the link */ williamr@4: EBBRequestExplicitActiveMode, /*!< Explicitly request the link to go into active mode */ williamr@4: williamr@4: //Allow combination of options below... williamr@4: EBBRequestPreventSniff = 0x100, /*!< Request to prevent entering sniff mode option */ williamr@4: EBBRequestPreventHold = 0x200, /*!< Request to prevent entering hold mode option */ williamr@4: EBBRequestPreventPark = 0x400, /*!< Request to prevent entering park mode option */ williamr@4: EBBRequestPreventAllLowPowerModes = williamr@4: (EBBRequestPreventSniff | williamr@4: EBBRequestPreventHold | williamr@4: EBBRequestPreventPark), /*!< Request to prevent entering all modes option */ williamr@4: EBBRequestAllowSniff = 0x800, /*!< Request to allow entering sniff mode option */ williamr@4: EBBRequestAllowHold = 0x1000, /*!< Request to allow entering hold mode option */ williamr@4: EBBRequestAllowPark = 0x2000, /*!< Request to allow entering park mode option */ williamr@4: EBBRequestAllowAllLowPowerModes = williamr@4: (EBBRequestAllowSniff | williamr@4: EBBRequestAllowHold | williamr@4: EBBRequestAllowPark), /*!< Request to allow entering-all-modes option. */ williamr@4: }; williamr@4: williamr@4: williamr@4: #endif // LMOPTIONS_H