1.2.2.1.2.4.17 GATTS_RemoveService
C
uint16_t GATTS_RemoveService(uint16_t startHandle);
Description
GATT server removes registered service.
Parameters
Parameter | Description |
---|---|
[in] startHandle | The start handle of the registered service. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully remove the registered service. |
MBA_RES_FAIL | Fail to remove the service. Service with the assigned start handle does not exist. |