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

How to discover 128bit primary service uuid with no 16bit uuid.

I am using nrf52832 as my cnetral and also nrf52832 as my peripheral . i am connected central with peeripheral using ble multilink example code. but it shows only 16bit uuid discovering.  i want to discover my peripheral primary service with 128bit uuid. please reply ASAP.

  • Hi Athur, 

    Please have a look at the ble_app_uart_c and ble_app_uart . In these examples we discover the 128 bit UUID NUS service. 

    Note that you expected to know the UUID of the service and you feed that to the db_discovery module before doing service discovery. 

    If you don't know the UUID and want to do generic discovery (discovery any UUID) it would be more complex. The library doesn't support that and you will need to write your code to do so manually. 

Related