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.

Parents Reply
  • Sorry I am very new to this so I have many questions. What does it mean to provision a UUID?

    Does this mean, if I change the given 128 bit UUID in the example to resemble the UUID of the characteristic I'm trying to read, it won't affect any of the other UUID's my board needs to read (i.e. the UUID for another service)? I am confused because they do not all have the same 128 bit form.

Children
No Data
Related