Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello
I am developing an application based on the multirole example. I want to configure incoming connections so that each time a passcode is required. To do this, I set the GAPBOND_PAIRING_MODE_INITIATE parameter. Everything seems to work fine, but there is one remark.
I am checking the work using the nRF connect application on iOS. When connecting, I really have to enter a passcode, but in the background I see that the application has already received information about the characteristics. I also have my own application on Android that connects to my device BUT for some reason it is possible to read / write to the characteristics without entering a passcode.
The question is, how to correctly configure the device so as not to allow reading / writing to the characteristics until I enter the correct passcode?
Maybe I did not configure something correctly?
Or is the only way to protect against writing without a passcode, is to configure the characteristics with the GATT_PERMIT_AUTHEN_WRITE / GATT_PERMIT_AUTHEN_READ parameters?