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

Communicating nrf52 with ubuntu and bluez stack issue

I am trying to communicate between peripheral device (nordic nRF52840)  with another device (let us say ubuntu device) with ubunutu as OS and Bluez bluetooth stack. I have implemented gatt server using bluez stack on ubuntu device. The both devices are acting as server and client with same service names (vendor uuid) and characteristics with discriptor. I am able to connect with peripheral device and then peripheral device is looking for particular gatt service on ubuntu device where is the problem coming. The peripheral is issuing "Find by Type Value Request" for the particular service (I guess to get handles and attribute values) where this is failing on ubuntu device. Ubuntu device is responding with "Request not supported err 0x6" as response to that command sent from the peripheral for primary service discovery. I am not sure if Bluez supports "Find by Type Value" request. I have couple of questions here.

- Does/can peripheral support "Read by Group Type Request" and is that can be used for discovering primary services on other device e.g. having bluez stack?

- Is there any workaround or solution you can suggest to get rid of this issue ?

Note that I am able to read and write characteristic from ubuntu device and am also able to discover the primary services and characteristics of peripheral.