MHCICmdQueueEventModifierInterface Class Reference

class MHCICmdQueueEventModifierInterface

Mixin for extension QDP interface.

This interface is to be used via the Command Queue Decision plugin CHCICmdQueueDecisionPlugin::Interface(TUid)This interface allows events to be modified before going into the Bluetooth stack. If this interface is implemented, the functions in this interface will be called instead of MHCICmdQueueDecisionInterface::MhcqdiMatchedEventReceived and MHCICmdQueueDecisionInterface::MhcqdiUnmatchedEventReceived

Member Functions Documentation

MhcqemiMatchedEventReceived(THCIEventBase &, const CHCICommandQItem &)

voidMhcqemiMatchedEventReceived(THCIEventBase &aEvent,
const CHCICommandQItem &aRelatedCommand
)[pure virtual]

Called to notify the QDP of an event that has been matched to a command, and allows the QDP to change the event data

Parameters

THCIEventBase & aEventThe event received.
const CHCICommandQItem & aRelatedCommandThe command that caused the event.

MhcqemiUnmatchedEventReceived(THCIEventBase &)

voidMhcqemiUnmatchedEventReceived(THCIEventBase &aEvent)[pure virtual]

Called to notify the QDP of an event that does not have a matching command, and allows the QDP to change the event data

Note that this function will be called for both events that could legitimately be unexpected (unsolicited events), and those that are due to the controller sending us something odd e.g. providing a command status event for a command that has not been sent.

Parameters

THCIEventBase & aEventThe event received.