Find devices with custom service like in central_hr example #bt #ble


Phil Hipp
 

Hi,

I'm trying to port the central_hr example to my project. In this project I'm using a peripheral that advertises a 128Bit UUID of a custom service instead of the 16Bit UUID of the HRS service. I also want to parse the AD data as in the example to build a list of all scanned devices that support this custom service. What do I have to change in the example for that purpose?

Also how can I read/write and subscribe to characteristics of that service?

Best Phil