Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: bt_sock.h

HCI commands

Support

Supported from 6.1

Description

Identifiers for HCI commands.

Such commands allow the ACL link to be manipulated. They can be issued by ioctl (RSocket::Ioctl()) calls to a L2CAP or RFCOMM socket. They have a level parameter (aLevel in RSocket::Ioctl()) of KSolBtHCI.

For more information on HCI commands, see BS1.

See also:


KHCIAddSCOConnIoctl

static const TUint KHCIAddSCOConnIoctl

Description

Add_SCO_Connection command.

The ioctl takes a THCIAddSCOConnectionIoctl parameter in a THCIAddSCOConnectionBuf buffer.

See also:

[Top]


KHCIRemoveSCOConnIoctl

static const TUint KHCIRemoveSCOConnIoctl

Description

Disconnect command.

The ioctl takes a THCIConnHandle parameter in a TPckgBuf<THCIConnHandle> buffer.

See also:

[Top]


KHCIAuthRequestIoctl

static const TUint KHCIAuthRequestIoctl

Description

Authentication_Requested command.

No ioctl parameters are required.

[Top]


KHCIEncryptIoctl

static const TUint KHCIEncryptIoctl

Description

Set_Connection_Encryption command.

The ioctl takes a THCISetEncryptionIoctl parameter in a THCISetEncryptionBuf buffer.

[Top]


KHCIReadPageTimeoutIoctl

static const TUint KHCIReadPageTimeoutIoctl

Description

Read_Page_Timeout command.

The ioctl takes a TUint16 parameter in a TPckgBuf<TUint16> buffer.

[Top]


KHCIWritePageTimeoutIoctl

static const TUint KHCIWritePageTimeoutIoctl

Description

Write_Page_Timeout command.

The ioctl takes a TUint16 parameter in a TPckgBuf<TUint16> buffer.

[Top]


KHCIReadScanEnableIoctl

static const TUint KHCIReadScanEnableIoctl

Description

Read_Scan_Enable command.

The ioctl takes a TUint16 parameter in a TPckgBuf<TUint16> buffer.

[Top]


KHCIWriteScanEnableIoctl

static const TUint KHCIWriteScanEnableIoctl

Description

Write_Scan_Enable command.

The ioctl takes a THCIScanEnableIoctl parameter in a TPckgBuf<THCIScanEnableIoctl> buffer.

See also:

[Top]


KHCIReadDeviceClassIoctl

static const TUint KHCIReadDeviceClassIoctl

Description

Read_Class_of_Device command.

The ioctl takes a THCIDeviceClassIoctl parameter in a THCIDeviceClassBuf buffer.

See also:

[Top]


KHCIWriteDeviceClassIoctl

static const TUint KHCIWriteDeviceClassIoctl

Description

Write_Class_of_Device command.

This ioctl takes a THCIDeviceClassIoctl, packaged in a THCIDeviceClassBuf.

See also:

[Top]


KHCIReadVoiceSettingIoctl

static const TUint KHCIReadVoiceSettingIoctl

Description

Read_Voice_Setting command.

This ioctl takes a TUint16 parameter packaged in a TPckgBuf<TUint16>.

[Top]


KHCIWriteVoiceSettingIoctl

static const TUint KHCIWriteVoiceSettingIoctl

Description

Write_Voice_Setting command.

This ioctl takes a TUint16, packaged in a TPckgBuf<TUint16>.

[Top]


KHCIReadHoldModeActivityIoctl

static const TUint KHCIReadHoldModeActivityIoctl

Description

Read_Hold_Mode_Activity command: unsupported.

[Top]


KHCIWriteHoldModeActivityIoctl

static const TUint KHCIWriteHoldModeActivityIoctl

Description

Write_Hold_Mode_Activity command: unsupported.

[Top]


KHCILocalVersionIoctl

static const TUint KHCILocalVersionIoctl

Description

Read_Local_Version_Information command.

This ioctl takes a THCILocalVersionIoctl, packaged in a THCILocalVersionBuf.

See also:

[Top]


KHCILocalFeaturesIoctl

static const TUint KHCILocalFeaturesIoctl

Description

Read_Local_Supported_Features command.

This ioctl takes a TUint parameter packaged in a TPckgBuf<TUint>.

[Top]


KHCICountryCodeIoctl

static const TUint KHCICountryCodeIoctl

Description

Read_Country_Code command.

This ioctl takes a TUint8 parameter packaged in a TPckgBuf<TUint8>.

[Top]


KHCILocalAddressIoctl

static const TUint KHCILocalAddressIoctl

Description

Read_BD_ADDR command.

This ioctl takes a TBTDevAddr parameter packaged in a TPckgBuf<TBTDevAddr>.

See also:

[Top]


KHCIWriteDiscoverabilityIoctl

static const TUint KHCIWriteDiscoverabilityIoctl

Description

Write_Current_IAC_LAP command.

This ioctl takes a TUint32 parameter packaged in a TPckgBuf <TUint32>.

[Top]


KHCIReadDiscoverabilityIoctl

static const TUint KHCIReadDiscoverabilityIoctl

Description

Read_Current_IAC_LAP command.

This ioctl takes no parameters.

[Top]


KHCIWriteVendorSpecificFrameIoctl

static const TUint KHCIWriteVendorSpecificFrameIoctl

Description

Vendor-specific raw frame write, with response event.

This should be used only when the command encapsulated in the frame generates a response event (a vendor-specific debug event) that is returned as a raw frame on the ioctl's completion.

The raw frame should be a properly formatted HCI frame and not be concerned with HCTL framing, which the HCI will provide. It should include the following fields:

Package the frame as a TDes8*.

[Top]


KHCIWriteVendorSpecificFrameNoEventExpectedIoctl

static const TUint KHCIWriteVendorSpecificFrameNoEventExpectedIoctl

Description

Vendor specific raw frame write, with no response event.

This should be used when the command generates only a command complete event with no further information or events.

Package the frame as a TDes8*. For information on frame formatting, see the KHCIWriteVendorSpecificFrameIoctl.