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.

Enable UART in BLE CC2541 stack

Other Parts Discussed in Thread: CC2541

Hi,

I am using CC2541 ble module and want to interface ble module with external micro controller using uart. Can anyone please tell what changes do i need to make in ble stack to enable uart like registering callback function?

I am using Simplebleperipheral example. i could find definitions for uart read and write functions in "hal_uart.c". I could find function for uart read "NPI_ReadTransport()" in "npi.c" file but there is no call for this function in any of the files. I have defined "ZAPP_P1" in compile option. I want to define callback function to read data whenever it receives any data through uart.

Regards

Kumar