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.
Hello,
I have CC2541EM with BLE_Bridge firmware connected to smartRF05 that is connected via RS232 to PC. There is also CC2540 usb dongle with that I want to communicate using Btool. When I send some data to CC2541EM trough UART then it works and I can read these data as UUID FF:F4 in Btool. The problem is how to send something using Btool to CC2541EM and read it through UART.
Thanks for any help.
Best regards
Jan
Hello. The bridge is bi-directional. From the wiki...
This project also includes the capability to forward received GATT data to the host MCU via UART / SPI. This was accomplished by modifying the simpleGATTprofile which is used in the simpleBLEperipheral project: simple Profile Characteristic 3 is now a 20-byte writeable characteristic. simpleProfileChangeCB() in the application code is called when this characteristic is written to which in turn will call sendDataToHost() to send the received data serially to the host. Data written over-the-air to this characteristic must be of the following format: one "length" followed by "length" data bytes. The serial data transmitted to the host MCU will be of the format "AB" "AD" "LEN" "data[0]" "data[1]" ... "data[LEN]"