GATTS_RemoveService

C

uint16_t GATTS_RemoveService(uint16_t startHandle);

Description

GATT server removes registered service.

Parameters

ParameterDescription
[in] startHandleThe start handle of the registered service.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully remove the registered service.
MBA_RES_FAILFail to remove the service. Service with the assigned start handle does not exist.