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
  • hi , i don't sure how to use sd_ble_gattc_relationships_discover function.

    currently, at my project "sd_ble_gattc_primary_services_discover()"

    the chip and sdk version is nRF51822 EAAD0,softdevice S120 1.00 and SDK5.2.0

    The Test setup: 0. use BLE sniffer to capture the packet. 1. only use the S120 ble_app_hrs_c sample,to connect Vendor BLE module . it connect Success, but that seem can't get the handle range by sd_ble_gattc_primary_services_discover()

    2.when use the LightBlue to connect Vendor BLE module. it will work correctly.

    3.compare the the sniffer cap file , when CONNECT_REQ , the 1(S120 with vendor) GATT Primary Service Declaration,Find By type value request(0x06) ; another 2(iphone with vendor) Revd Read By Type request,Device Name,Read By type request(0x08).

    The results, i think the Vendor BLE module can't use "GATT Primary Service Declaration,Find By type value request(0x06) "

Reply
  • hi , i don't sure how to use sd_ble_gattc_relationships_discover function.

    currently, at my project "sd_ble_gattc_primary_services_discover()"

    the chip and sdk version is nRF51822 EAAD0,softdevice S120 1.00 and SDK5.2.0

    The Test setup: 0. use BLE sniffer to capture the packet. 1. only use the S120 ble_app_hrs_c sample,to connect Vendor BLE module . it connect Success, but that seem can't get the handle range by sd_ble_gattc_primary_services_discover()

    2.when use the LightBlue to connect Vendor BLE module. it will work correctly.

    3.compare the the sniffer cap file , when CONNECT_REQ , the 1(S120 with vendor) GATT Primary Service Declaration,Find By type value request(0x06) ; another 2(iphone with vendor) Revd Read By Type request,Device Name,Read By type request(0x08).

    The results, i think the Vendor BLE module can't use "GATT Primary Service Declaration,Find By type value request(0x06) "

Children
No Data
Related