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.

RTOS/LAUNCHXL-CC2640R2: Sent dummy data to android app using ble

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640R2F

Tool/software: TI-RTOS

Hi,

I trying to sent a set  dummy data to the android app. I do not have any idea how to do it. I saw couple of examples like ble5_simple_peripheral. But did not understand any thing. Can any one guide me how to sent out a dummy data when the android app tries to read the data from the cc2640r2.

I wanted to modify the simple_peripheral so that when the application request read, it will present out the data. Can anyone help me out. 

Regards

Rahul

  • Hello Rahul,

    I'm not sure what 'dummy data' means in relation to the BLE specification. I suggest looking at SimpleLink Academy for CC2640R2F (See the pinned Getting Started FAQ post here in the BLE forum) on how to send Characteristic data via GATT. For the Simple GATT Profile, you can send back any data in your Read Attr Callback.

    Best wishes