MHCICommandQueueClient Class Reference

class MHCICommandQueueClient

Mixin for the API to receive notification of HCI events received by the command queue.

Member Functions Documentation

MhcqcCommandErrored(TInt, const CHCICommandBase *)

void MhcqcCommandErrored ( TInt aErrorCode,
const CHCICommandBase * aCommand
) [pure virtual]
Invoked by the command queue to notify observers that a command has failed with an error. This could be caused by:
  • the command timing out before receiving a response from the controller

  • the QDP rejecting the command

Parameters

TInt aErrorCode The error code with which the command failed.
const CHCICommandBase * aCommand

MhcqcCommandEventReceived(const THCIEventBase &, const CHCICommandBase *)

void MhcqcCommandEventReceived ( const THCIEventBase & aEvent,
const CHCICommandBase * aRelatedCommand
) [pure virtual]

Invoked by the command queue to notify observers that a HCI event has been received, and what command item has caused (or is associated with) the event. This method will be called for all events received even if they convey a HCI error condition.

Parameters

const THCIEventBase & aEvent The event that has been received.
const CHCICommandBase * aRelatedCommand The command that is associated with the event, this can be NULL for events that cannot be matched to a command.