This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE UART Bridge

Hello.

I have a custom board with a uBlox BMD300 on it. The BMD300 is based on the nRF52382. The BMD300 had a pre package firmware in it that acted as a BLE UART bridge that we need for our application. We have decided to write our own firmware for the chip now since we need some additional functionality and now that the BMD300 firmware is no longer supported.

The application needs to act as a simple UART bridge between a BLE Device (iOS, Android, Windows) and our serial device in the field. So far, I have been able to use the ble_app_uart_pca10040 example and get my application to send a message to the nRF5282 and then it sends that message to the serial device in the field. What I need to do next is be able to take the response I get from the serial device, and send it back to the application to read it. So far when the serial device responds, my application does not get a notification that the Rx characteristic on the nRF52832 has changed. Upon examining the code in the example UART project, I don't believe it supports receiving from the serial device and updating its Rx so that I can read it on the appplication.

Does anyone have an example of doing this? Any guidance would be very appreciated. 

Related