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
| Parameter | Description |
|---|---|
| [in] p_discSvc | Pointer to the service discovery structure to be registered. See BLE_DD_DiscSvc_T. |
Return values
| Return value | Description |
|---|---|
| MBA_RES_SUCCESS | Service successfully registered for discovery. |
| MBA_RES_FAIL | Failed to register service due to exceeding the maximum limit. |
