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.

SIMPLELINK-CC2640R2-SDK: Multi Role Function to send data to another BLE device

Part Number: SIMPLELINK-CC2640R2-SDK
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK, CC2642R

Hi,

Is there any generic function in the multirole example to send data from one BLE board to another?

Background:

I want to transmit data from a central device over a multi role device to a peripheral device. In other words, I want the board in the middle to relay data.

My setup consits of three three LAUNCHXL-C2640R2 development boards and looks like this:

                  (Board A) ---- (Board B) ----- (Board C)

All three boards are flashed with the multirole ble example.

Boards: LAUNCHXL-C2640R2

SDK: simplelink_cc2640r2_sdk_4_30_00_8

IDE: CCS 10.1.1.00004

Thanks for your help,

Sebastian

  • Hi Sebastian,

    For Bluetooth low energy, communication occurs over the air according to the Attribute Protocol (ATT). From a BLE application point of view however, data is exchanged using the Generic Attribute Protocol (GATT) which can be viewed as a meta-layer on top of ATT. Bluetooth SIG has defined several Profiles for the use of these protocols to ensure interoperability. You may want to review our SimpleLink Academy labs for additional details.

    That being said, we offer examples to "emulate" an UART between two devices (see our github and the Simple Serial Socket example).

    To finish, the use case you are describing makes me think about mesh (available on CC2642R since SIMPLELINK-CC13X2-26X2-SDK v4.40).

    Best regards,

  • Thanks Clément,

    I think the UART example helps me. It does not have exactly the function, which I search for but good enough.

    I will also do the "Custom Profie" BLE example to get a better knowledge about GATT/ATT.

    Best regards,

    Sebastian

  • Hi Sebastian,

    Let us know if you need additional help. In that case I would kindly ask you to open a new thread.

    In the meantime, could you please mark this thread as resolved?

    Thanks and regards,