API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTCONNECTION_GETSTATUS()

Brew Release
Brew MP 1.0.2
See Also
IBTConnection1_OnStatusChange
Description
This method retrieves the current connection status. Note that when the out parameter psConnStatus has BTConnectionMode as AEEBT_CONN_MODE_DISCONNECTED, the IBTConnection1 object becomes invalid and should be released by App.
Params
po
[in]:
the connection object
psConnStatus
[out]:
destination for current connection status
Return
AEE_SUCCESS
[]:
Connection status is successfully retrieved
AEE_ENOSUCH
[]:
Connection no longer exists; invalid object.
AEE_EBADSTATE
[]:
Information not available to be read due to driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    int IBTConnection1_GetStatus (IBTConnection1*         po,
                                     BTConnection1Status*    psConnStatus);
    
Side Effect
  • None
Comments
None