Developer

API Reference

IBTBIPResponder_GetEvent()

Brew Release
Brew MP 1.0.2
See Also
IBTBIPResponder_OnEventNotify() IBTBIPResponder_GetRequestData()
Description
Retrieves the next event from the event queue. Application should call this API repeatedly until it returns AEE_ENOMORE.
When receiving event AEEBTBIPR_EV_FUNC_REQ, application should call IBTBIPResponder_GetRequestData().
Parameters
  • _me
    [in]:
    the object
  • pEvent
    [out]:
    destination for event data
    Return
  • AEE_SUCCESS
    []:
    event is successfully retrieved
  • AEE_EBADPARM
    []:
    invalid input parameters
  • AEE_ENOMORE
    []:
    no more events to retrieve
Prototype
   AEEResult IBTBIPResponder_GetEvent(IBTBIPResponder*            _me, 
                                      AEEBTBIPResponderEventType* pEvent);
Side Effect
None
Comment
The following list shows data fields in AEEBTBIPResponderEventType associated with each event:
AEEBTBIPR_EV_ENABLED : cResult AEEBTBIPR_EV_DISABLED : cResult AEEBTBIPR_EV_CONNECTED : cResult, bdAddr AEEBTBIPR_EV_DISCONNECTED : cResult, bdAddr AEEBTBIPR_EV_CONNECT_REQ : bdAddr AEEBTBIPR_EV_FUNC_REQ : cRequest AEEBTBIPR_EV_FUNC_ENDED : cRequest, cResult AEEBTBIPR_EV_PROGRESS_REPORT : cRequest, nSize AEEBTBIPR_EV_EVENT_Q_OVERFLOW : nCount
  • Follow