GATTS_RemoveService

C

uint16_t GATTS_RemoveService(uint16_t startHandle);

Description

Removes a previously registered service from the GATT server.

Parameters

ParameterDescription
[in] startHandleThe start handle of the service to remove.

Return values

Return valueDescription
MBA_RES_SUCCESSService successfully removed.
MBA_RES_FAILRemoval failed because the service does not exist.