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.

CC2650 profiles for data reception from android app and external MCU

Other Parts Discussed in Thread: CC2650

Hi,

My end application is an external MCU, CC2650 as BLE module and bidirectional data transmission between android application and device. Regarding this, I have certain doubts. Please clarify these for me..

  • I need a continuous data transmission and reception between app and CC2650. For this , I thought of keeping CC2650 as peripheral and adding UART to BLE bridge for two way communication using SPP profile.
  • In all the sample profiles given, I can transmit data from CC2650 to app. But how can a profile be made to receive?
  • There are a lot of callbacks in the code which sets event and  task will  process based on state change events. but how does callbacks gets triggered?
  • Regarding the variable app_msg_queue (which gets filled with value) where does it get populated? Is it from the app/ stack ? I don't think it is app.
  • To implement a profile for data reception, adding UART driver to a project / SPP BLE server and client which is the best solution?
  • Any suggestions for the android app which can be used for two way communication?

  • Hello,

    It seems many of your questions will be addressed by reviewing the BLE SW Developer's Guide (SWRU393) and going through the SimpleBLEPeripheral sample application. I would suggest using the TI UART to BLE Bridge sample application as this profile is bi-directional.

    Regarding Android app, I would suggest raising your inquiry on a site such as stackoverflow.net.

    Best wishes
  • Thanks for the reply.
    Wanted to confirm whether we had chosen the correct project itself... My base application is simple BLE peripheral and profiles are being added onto that based on requirement.

    For UART to BLE bridge sample application, does it work without power management mode.

    If I connect an external USB to serial converter and CC2650 RX and TX pins, shouldn't the data echo back as per code? It's not echoing back anything. That is why I asked
  • Hello,

    Yes, it can operate w/o power management enabled.

    For your data echo issue, are you not able to observe data on the peer device? Have you confirmed that your UART pins are mapped correctly as per the associated support wiki page for the UART BLE Bridge (on main BLE Wiki)?

    Best wishes