GATTS_RemoveService
C
uint16_t GATTS_RemoveService(uint16_t startHandle);
Description
Removes a previously registered service from the GATT server.
Parameters
Parameter | Description |
---|---|
[in] startHandle | The start handle of the service to remove. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Service successfully removed. |
MBA_RES_FAIL | Removal failed because the service does not exist. |