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.

How to receive the string data from CC2541 Keyfob on Android 4.3 ?

Other Parts Discussed in Thread: CC2541

I am developing an application where I have to connect to BLE device on Android 4.3.

I am using CC2541 KefobDemo project.

I already have try to get the battery level from the CC2541  , and make the buzzer beep by using battery Service and immediate alert Service.

And I want to receive the text string on Android side which sending from the CC2541.

The question is:

1.  Which UUID can I use for receive the text data from CC2541 ??

2.  Does there has sample code about receive text data from BLE device for Android ?

 

  • You should be able to use a 128-bit UUID and write an app for it. We have some Android example code on our wiki page here: http://processors.wiki.ti.com/index.php/Bluetooth_SensorTag#Android

  • Hi Willis1

    I have download the Source code of SensorTag Android APP.

    After SensorTag App connect to the CC2541-SensorTag. The SensorTag-App will disconnect with CC2541-SensorTag when the CC2541 push the key-B4.

    The Android APP receive the message which send from CC2541 when the CC2541 push the key-B4.

    This operate seems to be what I want , but which UUID is use for the above operate???

  • HI 

    Can your share the code or sample  android project to make the buzzer beep .