This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to discover custom service of third party peripheral

Hi, Nordic staff.

I'm working with Central device using S120. Our custom has developed a peripheral device using third party's BLE module and wants the Central device of Nordic.

They are using custom service defining like this:

Serive UUID 00112233-4455-6677-8899-AABB-CCDDEEFF

Characteristic#1 UUID 00010203-0405-0607-0809-0A0B-0C0D0E0F

Characteristic#2 UUID 10111213-1415-1617-1819-1A1B-1C1D1E1F

My question is that is it possible to discover above service and some characteristics uuid from S120 central?

If possible, can tell me how should I do?

Best regards.

Parents
  • Should be possible. You can have a look at this example.

    It discovers a custom UUID. The example uses the same UUID base for its service and characteristics. You have three difference UUID bases, you need to add them all with sd_ble_uuid_vs_add() then use the correct reference(returned by the function) when you use the UUIDs.

  • Hi, Petter.

    Thanks your quick reply. I will study the example and try it sooner.

Reply Children
No Data