Hi guys,
I have a peripheral device using a custom service based on the ble_nus, the intention is to hide the service and its characteristics until the bonded has been done.
Using the security parameter in the char access i can disable any writing or reading from them
add_char_params.write_access = SEC_MITM; add_char_params.read_access = SEC_MITM;
But i would like to hide the full service until the bonding is correct. Is there any way of doing this?
Similar way, in the central, i would like to avoid the discovery to start, unless the bonding has been done properly.
I am using the s140 in a nrf52840, using examples from the SDK_15.3. Thank you in advance!