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.

[Serial Communication to Bluetooth Module]



Hello TI,

I wrote a PC program to communicate with Bluetooth module which is connected to PCs serial port. I am observing the communication between two bluetooth modules via TI BLE sniffer tool.

I can send the basic commands (strings) to BLE module via serial port. Considering PC as Client and other BLE device as Server. when I send connection request, it scan the BLE advertisers and select and connect well. But later after getting CONNECTED state, i try to send any data/string, it wont accept that and do not communicate. I can see this in packet sniffer. when i send the data after getting connected, it wont show any data transferring in sniffer.

Is this the Serialport Issue Or BLE module issue? I did not understand. Please help. Thanks.

  • HI,

    When you said it won't accept/don't communicate, do you mean that you don't see UART communication? Did you use logic analyzer, if yes, can you post trace?

    Did you use host test on your client device?
  • Hello Mr Lee,
    Thanks for your reply~

    well, I am just observing the packets in sniffer.It seems that when I send any data/string after getting connected state, i can not see any WRITE operation via serial port. "serialport.write(data)"
    Because when I send any data, atleast sniffer should show it , whatever it is.....isnt?

    So I am confusing about that is it the issue of serial port Or bluetooth module.

    Also I tried to send the command and data to ble module via PC terminal, and it works well, i can see the command and data packets in sniffer. But the issue is when I send it through my PC serial port program (in vb.net), it doesn't. Please suggest..

    Thanks~
  • Hi,

    From your description, it seems like you have 2 PC program communicating with CC26xx through serial port and one work, the other one does not.

    If that's the case, you should use logic analyzer to track your UART communication and see if there is any difference between those 2 programs. (ex: baud rate)
  • Hello Mr Lee,
    well, I have only once PC program (PC side) and other side is (MCU set up+BLE module). Sending the commands from PC to BLE. Both sides are having BLE module like.. ..Client(PC<--serialport--->BLEc) <-------------->Server (MCU<---uart--->BLEs)
    BLEc: client side BLE
    BLEs: server side BLE

    Following these steps:
    1. PC serial port connected to BLEc module.......
    1. Scanning the near by devices via sending commandfrom PC to BLEc at client side.....
    2. Select the device and send connect command from PC to BLEc.......receive connected state
    3.. Sending data to client BLEc to transfer......no response
    4. sniffing the packets while communicating between BLEc <-----> BLEs

    Please suggest~ Thanks.
  • Again, I would suggest using logic analyzer to check the UART msg when the problem occurs. See if the msg was even sent to the client first, if it is indeed sent to the client, then you can debug your BLE module to see where it stops or why the msg is lost/not processed.