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

UWP custom pairing nrf52840 with static passkey , PairingKind ?

My UWP(Universal windows platform) app in Windows 10, Windows 10 tablet as master bluetooth, nrf52840(nRF5_SDK_15.3.0_59ac345) module as slave device.
The PIN static-passkey is set for the device. UWP app custom pairing slave device(\Windows-universal-samples-master\Samples\DeviceEnumerationAndPairing),
Here is pairing event handler(PairingRequestedHandler), This function gets some parameter information from slave bluetooth module, such as args.PairingKind.
Now the problem is that the getting information(args.PairingKind) from the device is default value "ConfirmOnly",
I want to change this value to "providepin" or "providepasswordcredential".
Please tell me which configuration parameters in which file need to be modified in the module SDK(nRF5_SDK_15.3.0_59ac345) ?
I hope you understand what I'm saying. Thanks.

Related