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.

SimpleGATTprofile.c characteristic values

Other Parts Discussed in Thread: CC2540

Hi.

I have looked at rswl88's android code for write/read from keyfob:

http://e2e.ti.com/support/low_power_rf/f/538/p/240097/865102.aspx#865102

and i can see that he has directly written to five characteristic values in his android code.

I used Samsung BLE SDK for Android 4.2.2 and i can't use his code anyway, but i have written my own app, which can connect and write to the CC2540 USB dongle with BTOOL. It detects and shows every random value i write from my app

I can connect to the keyfob, but i don't really no how i can write to it with my app.

Q1: Should i use the same procedure as rswl88, and write directly to the characteristic values, or is there an another easier way ?

  • Hello Osman,

    You would have to write to the characteristic value if you are using the peripheral role on the Keyfob.  For the central role they are other options such as reading the manipulated advertising data from the device.

    Thanks,