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.

CC2540 USB dongle send/receive

Other Parts Discussed in Thread: CC2540

Hi.

I have switched the USB CC2540 dongle to slave mode with building the HostTestApp, and flashed the hex file into the dongle with the debugger. Now it can communicate with my Galaxy S4 and i can send string with my phone to the dongle without any problems. Now i need to send a string "O\r\n" from the dongle to the phone, and when my phone receive that string, it will send another string back to the dongle. So the dongle must send a string, and receive a string right after.

Q1. Can i make this procedure, while the dongle is in slave mode ?

Q2. How can i send a string with the dongle ?

Thanks in advance