nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Loaded the ble_app_gatts_c example and now I can't get my device not to appear as Nordic_GATTS despite complete wipe

I have a nRF52 DK from DigiKey that I've been evaluating and I ran into an issue: I had a custom app that was talking through Bluetooth and sharing some custom characteristics. Then, I loaded the `ble_app_gatts_c` example from the nRF52 SDK examples folder (SDK version 15.3). Now, when I wipe the flash and load my custom app, it's still showing as "Nordic_GATTS" in my Bluetooth scanner, not my custom name.

I've tried going to Target -> Erase All in Segger and then programming my app again. I've also tried merging a bootloader, soft device, and my app into a single Hex file and loading that. But, it always appears as Nordic_GATTS and the connection fails with this error:

peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Encryption, error: 4102[0m


Please let me know what I can do to fix this!

Related