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

Developer

API Reference

IBTSERVICEDISCOVERY_STARTNAMEREQUEST()

Brew Release
Brew MP 1.0.2
See Also
IBTServiceDiscovery_StopNameRequest IBTServiceDiscovery_GetName
Description
Requests remote device for its name. This causes a connection to be made to the given remote device, if a connection is not already present.
If remote device is not currently connectable, the request may, in the worst case, take up to 30 seconds to complete in failure. Application may wish to stop the request via IBTServiceDiscovery_StopNameRequest().
When and if the remote device's name is received, NAME_REQ_COMPLETE event gets generated. At this time, a call to IBTServiceDiscovery_GetName() should return the received name.
Params
po
[in]:
the object
pAddr
[in]:
address of remote device
Prototype
  •    int IBTServiceDiscovery_StartNameRequest (IBTServiceDiscovery* po,
                                                 const BDAddress* pAddr);
    
Return
  • AEE_SUCCESS : operation has been scheduled AEE_EBADPARM : input parameters are invalid AEE_EITEMBUSY : another operation already in progress
Side Effect
  • None
Comments
None