Due to the U.S. Thanksgiving holiday, please expect delayed responses during the week of 11/22.

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.

LAUNCHXL-CC2640R2: Change Value of a Characteristic

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640, CC2540,

HI!

I'm using CC2640 multi role project to connect my central (LAUNCHXL-CC2640R2) to my peripheral (a CC2540 based USB dongle ) and I want to write values on the Dongle present services, but how can I select the charachteristic and service needed to write the desired values?

Regards,

Bruno Ribeiro Chaves

  • Hi Bruno,

    The short answer is GATT_WriteCharValue(connHandle, &req, selfEntity);

    But, for more detail, I suggest reading over the BLE/BLE5 User's Guides to see how this is done in code.

    BLE5 Link

    BLE Link

    I suggest reviewing the simple_central code too as a guide to mimic. I hope this helps. If you have more questions, feel free to follow up in a new thread!