This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BLE CC2650 GATT client with multiple GATT server

Other Parts Discussed in Thread: CC2650

Hi


I have 2 CC2650 sensor TAG devices, I want to interface both of them with my raspberry pi.

I am able to interface one sensor with my raspberry pi using BLE GATT client c code (bluez).

So my doubts are,

1) Is it possible to connect multiple BLE GATT server with single BLE GATT client?

2) If it is possible then how to do it.

Thanks

  • Hi Kishan,

    It's really up to your GATT Client's BLE Stack on how it handles this. From a GATT Server/Sensortag perspective, as long as GATT reads/writes are received, the TI BLE Stack will schedule and send the proper response.

    I'm not sure how BlueZ handles multiple connections, but I'm fairly positive it should be able to handle this use case. And you won't find much support on these forums for BlueZ, try stack overflow or another forum where experts are available.

    Regards,
    Rebel
  • Thanks A.Rebel

    Only doubt in my mind is, Is it possible for single gatt client to connect with multiple gatt server??

    If possible then can you suggest me any way to do it?

    Thank you

  • Sure, our central_to_multiperipheral or multirole examples support doing this with our TI BLE Stack. Use them for reference; I'm sure there are similar APIs in BlueZ. You can find them here: github.com/.../ble_examples

    Regards,
    Rebel