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

How can I make only bonded devices can write to my characteristic on nRF_5 chip?

I am developing an application with a single service that has a single characteristic with read and write operations.

I want to give the ability to writing to this characteristic to only bonded devices and not just any connected device.

I tried "signed write" option, but I couldn't write neither with a bonded device nor with a non-bonded device.

I know that this feature is possible in BLE, however, I can't implement it. Please, enlighten me.Thanks.

Note: I am using PCA 10028, sdk 12.2.0, s130 v 2.0.1, and I am using the default security settings in my project (following ble_app_tempelate example).

Related