API to access custom service/characteristic handles?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I want my PRoC 4 BLE in the Central role to connect to another PRoC 4 BLE module, which is in the Peripheral role.

   

Then, I want the Central node to get a list of all the custom services and characteristics on the Peripheral, and get the handle of a specific (known UUID) characteristic, so that the Central node can write to the Peripheral's characteristics. If there is a way to access the characteristic by UUID, that is fine too.

   

What API calls should I use to get that information?

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

Open the BLE Component Datasheet and look at the section "GATT Client Functions". This has the description of all the APIs you are intersted in.

   

Regards,

   

- Madhu Sudhan

0 Likes