BLE_DD_RestartServicesDiscovery
C
uint16_t BLE_DD_RestartServicesDiscovery(uint16_t connHandle);
Description
Restarts the database discovery process for a specific connection.
Note
This function should be called when the remote services have changed and there is a need to rediscover them.
Parameters
Parameter | Description |
---|---|
[in] connHandle | Connection handle associated with this connection. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Discovery successfully restarted. |
MBA_RES_OOM | Failed due to memory allocation error. |
MBA_RES_INVALID_PARA | The provided connHandle is invalid. |