MVendorSpecificHciConduit Class Reference

class MVendorSpecificHciConduit

This class provides a mixin interface for reception of command completions for vendor specific commands and vendor specific events.

Public Member Functions
voidCommandCompleted(TInt)
TBool ReceiveEvent(TDesC8 &, TInt)

Member Functions Documentation

CommandCompleted(TInt)

voidCommandCompleted(TIntaError)[pure virtual]

This is the callback for both CHciExtensionConduit::IssueCommand and CHciExtensionConduit::IssueCommandExpectingCompleteEventL If CHciExtensionConduit::IssueCommandL was called CommandComplete will be called when the Bluetooth stack receives the associated Ioctl. If CHciExtensionConduit::IssueCommandExpectingCompleteEventL was called CommandComplete will be called when a command complete event with a vendor specific opcode is received from the hardware.

CHciExtensionConduit::IssueCommandL CHciExtensionConduit::IssueCommandExpectingCompleteEventL

Parameters

TInt aError: The error code with which the command completed. See 'WARNING' above.

ReceiveEvent(TDesC8 &, TInt)

TBool ReceiveEvent(TDesC8 &aEvent,
TIntaError
)[pure virtual]

CommandCompleted is called when a vendor specific command issued through the conduit receives a completion from the hardware.

Parameters

TDesC8 & aEvent: Returns raw vendor specific debug event data generated from the hardware (with no HCTL framing)
TInt aError: An error indicating that the conduit did not successfully receive the event.