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

how to use sd_ble_gattc_relationships_discovery to discovery

hi all: how to use sd_ble_gattc_relationships_discover to discover att handle?

as my question Use Nordic BTLE Soc with other Vendor BTLE Compatibility

i found this issue that nordic sdk(s120 and mastercontrol panel) use Primary Service Discovery and softdevice(contain a Primary Service 0x2800).

so when i use Vendor BLE module ,that will not return group type response from slave. when i use iphone with vendor ble module, that use read by type with UUID(Device Name) as attachment file(*1 and *2).

*1 readbyname.png readbyname.pcapng

Parents
  • What do you input into the sd_ble_gattc_primary_services_discover()? I assume you set the handle range for the master (S120) to start looking through the attributes available on the slave/peripheral side?

    The S120 code example heart rate collector (is this the one you use) needs the display module to work, if not the definition of the macro APPL_LCD_PRINT_ENABLE in main.c of this application must be commented out. If this is not done, the application will not run as expected.

    If I understand you correct, you are able to connect this module you have with an iPhone. What code are you running on the module?

Reply
  • What do you input into the sd_ble_gattc_primary_services_discover()? I assume you set the handle range for the master (S120) to start looking through the attributes available on the slave/peripheral side?

    The S120 code example heart rate collector (is this the one you use) needs the display module to work, if not the definition of the macro APPL_LCD_PRINT_ENABLE in main.c of this application must be commented out. If this is not done, the application will not run as expected.

    If I understand you correct, you are able to connect this module you have with an iPhone. What code are you running on the module?

Children
No Data
Related