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

Developer

API Reference

IBTDUNGW_ACCEPTCONNECTION()

Brew Release
Brew MP 1.0.2
See Also
IBTDuNGW_GetState AEEBTDUNGWState
Description
Accepts or rejects a connection request. This API should be invoked when the state of the Gateway is AEEBTDUNGW_STATE_CONNECTION_PEND.
Params
_pif
[in]:
The object
bAccept
[in]:
TRUE; to accept the connection. FALSE; to reject the connection.
Return
AEE_SUCCESS
[]:
The command was issued successfully. If the connection is accepted, the state of the Gateway would change to AEEBTDUNGW_STATE_CONNECTED.
AEE_NOSUCH
[]:
No pending request. Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTDuNGW_AcceptConnection(IBTDuNGW* _pif, boolean bAccept)