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

Developer

API Reference

IBTCONNECTIONFACTORY_ONCONNECTIONSCHANGE()

Brew Release
Brew MP 1.0.2
See Also
IBTConnectionFactory_GetConnectedDevices()
Description
Registers a signal with the interface to be set when a connection change event occurs. This signal will be triggered whenever a connection comes up or goes down. Application has to call IBTConnectionFactory_GetConnectedDevices() API to get the number of connected device and their BDAddress.
Params
_me
[in]:
The object
piSig
[in]:
Signal to be set when an event occurs.
Return
AEE_SUCCESS
[]:
The signal was successfully registered.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Prototype
  •    AEEResult IBTConnectionFactory_OnConnectionsChange (IBTConnectionFactory* _me, 
                                                           ISignal* piSig);
    
Side Effect
  • None
Comments
None