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

Creating a custom UART connection over BLE

I would like to use the ble_app_uart_c example, found here, to connect to a custom peripheral. What values should I change in the central device code in order to connect to a device, service, and characteristic of my choice?

I am guessing I need to change the UUID of the service I am searching for. Also, I assume should be able to change the UUID's for the RX and TX characteristics of the service I want to read from and write to.

Do I need to change how the handles for these characteristics are retrieved? Are there any another changes I need to make in order to get the nRF52 to establish a serial connection with my device?

I am using IAR, and the nRF52832 with softdevice 132 loaded onto it.

Related