Bluetooth LE Profile API document
Bluetooth LE Profile API document Rev.1.00 [May 22, 2020]

Function definition. More...

Detailed Description

Function definition.

Functions

ble_status_t R_BLE_DISC_Init (void)
 Initialize the GATT services discovery function. More...
 
ble_status_t R_BLE_DISC_Start (uint16_t conn_hdl, const st_ble_disc_entry_t *p_entries, uint8_t num_of_entires, ble_disc_comp_cb_t cb)
 Start GATT service discovery. More...
 

Function Documentation

◆ R_BLE_DISC_Init()

ble_status_t R_BLE_DISC_Init ( void  )

Initialize the GATT services discovery function.

Returns
See ble_status_t

◆ R_BLE_DISC_Start()

ble_status_t R_BLE_DISC_Start ( uint16_t  conn_hdl,
const st_ble_disc_entry_t p_entries,
uint8_t  num_of_entires,
ble_disc_comp_cb_t  cb 
)

Start GATT service discovery.

Parameters
[in]conn_hdlconnection handle
[in]p_entriesThe information of services to be detected.
[in]num_of_entiresThe number of services to be detected.
[in]cbThe callback function which is called when the service has been detected.
Returns
See ble_status_t