Dear,
After adding the peer manager module of the SDK 15.2 and some other codes about configuring static passkey in the example "ble_app_uart" in ble_peripheral, I can successfully realize the static passkey and storing bonding infromation features.
But the goal of my design is that the central device, just like a smartphone which is paired and bonded successfully at the first time, can automatically connect the nRF52832 acted as the peripheral device without needing someone to manually do connecting operations when the nRF52832 began to advertise just like the example "ble_app_hids_keyboard".
In the example "ble_app_hids_keyboard", I find that after one central device, just like a smartphone, has bonded with the nRF52832, the central device will connect the nRF52832 automatically without needing someone to do any operations once finding the nRF52832 begin to advertise.
I also hope my project owning the same features, and I have already tried many times to modified the example "ble_app_uart" but failed. I consider the really reason is that I do not know the specific ,clear and detailed steps of how to organize codes to realize the functionality which the bonded central device can automatically connect the nRF52832 once nRF52832 begin to advertise.
I will look forward your useful guidances to help me realize my design goals.
Thanks very much for your help.
Best regards,
Tianfei