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

Developer

API Reference

IBTDUNGW_GETSTATE()

Brew Release
Brew MP 1.0.2
See Also
IBTDuNGW_OnStateChange AEEBTDUNGWState
Description
Retrieves the current state of the DuN Gateway.
Params
_pif
[in]:
The object
pState
[out]:
Destination for state of the Gateway.
bdAddr
[out]:
Destination for the Bluetooth Device address. Valid when the state is AEEBTDUNGW_STATE_CONNECTED, AEEBTDUNGW_STATE_DISCONNECTED, AEEBTDUNGW_STATE_DISCONNECTING and AEEBTDUNGW_STATE_CONNECTION_PEND.
Return
AEE_SUCCESS
[]:
Information successfully retrieved. Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTDuNGW_GetState(IBTDuNGW*            _pif,
                                   AEEBTDUNGWState*     pState,
                                   BDAddress*           bdAddr)