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

ble_uart example with bonding

Using nrf52 DK , SDK 12.2 , and armgcc.

I want to use BLE_UART but I also want to bond.

I started with the BLE_UART example code and added peer manager and FDS.

I have no issue connecting and UART works fine but I still can't bond. FDS is also working fine.

I use nRF Connect app (android) and can connect fine but when I try to bond, th elog just says Bonding Failed.

What am I missing?

Any help would be appreciated.

--edit

main.c

added main.c file

-- end edit

Related