BLE_DD_ServiceDiscoveryRegister

C

uint16_t BLE_DD_ServiceDiscoveryRegister(BLE_DD_DiscSvc_T *p_discSvc);

Description

Registers a specific service with the database discovery module.

Note

The service discovery process will be initiated by the module after a connection is established.

Parameters

ParameterDescription
[in] p_discSvcPointer to the service discovery structure to be registered. See BLE_DD_DiscSvc_T.

Return values

Return valueDescription
MBA_RES_SUCCESSService successfully registered for discovery.
MBA_RES_FAILFailed to register service due to exceeding the maximum limit.