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

S130 Custom UUID Service discovery

I have S110 peripheral device with custom UUID, created as described in www.nordicsemi.com/.../80193304 . On the other side i have S130 device who successfuly scans and connects to peripheral device. But when i try to discover services, i cant get custom service - i get that type is BLE_UUID_TYPE_UNKNOWN. All other servces is like ble_bas, ble_dis are discovered. I use S130 demo code.

So my question - how to discover custom UUIID service on S130 device?

Parents
  • Hi,

    I have the same problem than DiamondS. From S130 device, I try to discover my services in S110 peripheral, but i can not found it.

    Jan Steffl I tried your solution but I get an error in sd_ble_gattc_read function, and i dont understand why. Can you give a clearer statement of how to solve this problem? Or even share an excerpt from the code in question?

  • Hello Thanks everyone for the reply. Now I am using nAN-36 example in the peripheral and I am trying to read the example service in the S130 example code. With your code I read the value generic attribute profile and Generic access profile, but when I enter in the if condition, the sd_ble_gattc_read funtion return a error and my peripheral disconnect. Do you have any idea of what cause the error? With my smartphone I connect with my peripheral without any problem, but with the central device I cannot find my service.

    Thanks for your help

Reply
  • Hello Thanks everyone for the reply. Now I am using nAN-36 example in the peripheral and I am trying to read the example service in the S130 example code. With your code I read the value generic attribute profile and Generic access profile, but when I enter in the if condition, the sd_ble_gattc_read funtion return a error and my peripheral disconnect. Do you have any idea of what cause the error? With my smartphone I connect with my peripheral without any problem, but with the central device I cannot find my service.

    Thanks for your help

Children
No Data
Related