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

Static Pass Key Setup

I am planning to migrate to SD 7.0 and SDK 6.0 in order to use the static pass key capabilities. When using the static pass key how should security params be initialized ? I don't have IO capabilities on my device but should I still say I have a display? Should MITM = 1?

Basically, I want example code that demonstrates how to use this new feature. Additionally can the static passkey be set during an active connection? Is the static pass key stored in non-volatile memory?

Additionally, I have been reading other posts about the migration process. Previously, a Nordic employee mentioned that the easiest way to port was to start from an up to date base project for example the ble_hrs_app (SD 7.0 SDK 6.0). I have made a lot of custom changes to the base ble_hrs_app (SD 6.0 SDK 5.2) project and porting from scratch is a bit of pain. Is going from SD 6.0 SDK 5.2 to SD 7.0 SDK 6.0 really that significant? Nothing simpler can be done?

Lucas

Related