I plan to keep the bonded device information in the ring buffer, but there are a few things that puzzled me:
When PM_EVT_CONN_SEC_CONFIG_REQ event is received, .allow_repairing = true, then pm_conn_sec_config_reply, for this peer device,
1, its peer id will be changed, and peer manager to assign it a new peer id?
2, its peer id will not be changed, peer manager just update the peer id data?