Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how to discover ble services at connected ble peripheral without adding services to softdevice

hi,

i am doing a project where i am using a pca10040 board as central device and a another pca10040 board as peripheral device.

i am able to connect peripheral device using device address and found available primary or secondary services on connected device using "find_adv_uuid()" from "ble_app_hrs_c" example of sdk 14.2.  now if peripheral device has custom service (128-bit uuid) or both custom services and primary services i will only get 128bit base uuid. now how to find available services on connected node and start receiving notification.

thanks.

  • hi Håkon Alseth,

    i have 2 question that,

    1. now i want to know what is data length sent by ble peripheral service characteristic which has only notification attribute, without enabling notification.

    2. how to discover custom characteristics within primary service. 

    ie. nordic thingy 52 has dfu service 0xFE59 which is a primary service and it's characteristic has secondary type UUID so i am not able to discover it unless i register 128-bit base uuid into softdevice.

Related