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

Developer

API Reference

IBTDUNGW_DISCONNECT()

Brew Release
Brew MP 1.0.2
See Also
None.
Description
Tears down an existing Bluetooth DUN connection between the Data Terminal(DT) and Gateway. Note: Invoking this API will not cleanly bring down a DUN - data services connection.
Params
_pif
[in]:
The object
Return
AEE_SUCCESS
[]:
The commmand was queued successfully. When the connection is brought down, the state of the Gateway would change to AEEBTDUNGW_STATE_DISCONNECTED. Possible intermediate state is AEEBTDUNGW_STATE_DISCONNECTING.
AEE_ENOSUCH
[]:
No connection present. Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTDuNGW_Disconnect(IBTDuNGW* _pif);