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.

Process Data received from mobile app LightBlue

Other Parts Discussed in Thread: CC2540, CC2650

Hi everyone,

I am making some test over TI CC2540 debugged externally on SmartRF05 and LightBlue app for Iphone 5s. I have compiled the SimpleBlePeripheral example project on the cc2540 and I am able to connect it with the Iphone via LightBlue app. What I am trying to do now is send a message from the CC2540 SimpleBlePeripheral project to the mobile app each time the CC2540 receive a message from the app. To achieve that goal, I suppose I have to process te messages incoming from the app in the SimpleBLEPeripheral.c file (uint16 SimpleBLEPeripheral_ProcessEvent( uint8 task_id, uint16 events )), but I am not an expert about the issue, so I would like to know where do I have to add the necessary code and what do I have to add (some examples or links could be helpful for me to understand).

Thank you in advance for your attention

Miguel 

:)

  • Hi Miguel,

    Please refer to the SW Developers Guide. You will find it in the CC254x section of the BLE wiki: ti.com/ble-wiki.

    Cheers,
    Fredrik
  • Hi,

    I want to send a data value from mobile app, to my CC2650 controller. I have created a service with a characteristics having read and write permission. i want to write a value to this characteristic via LightBlue App and see this value on the same app.how it can be possible. I could a value with another characteristic having notify proeprty whenever i pressed a key on keyboard. but this was done by using get/set functions. How can i write a value from mobile, and read that value ?? is there any example? can anyone please explain...its URGENT

    Thank you
    Abhijith S

    NOTE: I could not understand what to do after referring SWD Guide
  • Hi,

    Your question has already been answer at the following 2 posts.
    e2e.ti.com/.../441509
    e2e.ti.com/.../484683
    Please try to just make 1 new post about your questions so that it's easier for us to support.