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.

LAUNCHXL-CC26X2R1: How to directly access the transmistted Bluetooth data packets from a PC?

Part Number: LAUNCHXL-CC26X2R1


I want to use CC2652R1 for an application in which the launchpad will transmit some EEG data wirelessly to a PC which will then do some heavy-duty processing. Do I need an additional USB dongle to receive the data packets on my computer? I am aware that TI RF SmartRF Studio would allow me to view the data received by a Bluetooth USB dongle, but is there a way for me to export the data in real time for proecessing in external programs like Matlab or Python? 

  • Hi Zhiyang,

    If your target computer has bluetooth you could connect directly to the laptop, but an application on the PC side would need to be written to take the data in and process it. Afterwards you can process it however you'd like.

    This forum is primarily used for questions regarding the BLE Software Stack and for the MCU hardware. We do not support questions about PC programming in this forum and you might be better suited on a website such as Stack Overflow.

    That said, you can checkout SimpleLink Academy training to learn how to use our device
    dev.ti.com/.../
  • If I am using a second CC2652R1 as the receiver on my PC, is there a way to export the received bluetooth data packets via SmartRF Studio in real time? Can rfPacketRx and rfPacketTx examples be modified to transmit EEG data in real time? Or do I have to write an app with BLE5-stack?
    Thank you!
  • Thank you for your reply. If I use a second CC2652R1 as the receiver on a PC, can I transmit the received data via UART? I am very new to wireless system, and I was wondering if the rfPacketTX example can be modified to send custom data packets? Or do I need to write a BLE-5 app to do fast data transfer?
  • Hi Zhiyang,

    rfPacketTx is not BLE. It uses proprietary RF meaning it's it's own custom built protocol.

    You can use a CC2652R1 as a receiver for your PC and pipe them up through UART.

    I do not think that you would need SmartRF studio for this.

    You can probably just the serial socket example to send UART packets over BLE and then receive them and send them to your computer to print out onto a serial port viewer like PuTTy.

    Below you can find that example and some other examples that we have. This example is written towards a cc2640r2 so if you want to use BLE5 you would need to modify to use that.

    github.com/.../simplelink_cc2640r2_sdk-2.20