To pair with bonding and create a device database, pass --pair, --bond, and --device-db together with your connection options. For example:
nrfutil mcu-manager ble --hci-serial-port COM35 --pair --bond --device-db bonding.db image-list --device-name Nordic_LBS
Other connection options, such as --secure-connection or --mitm, might be needed depending on your configuration.
During pairing, you may need to confirm a passkey or numeric comparison in the terminal, depending on the pairing method and the --io-capabilities setting.
For example, in the following example, you need to provide a PIN for connecting to the device:
nrfutil mcu-manager ble --hci-serial-port COM35 --pair --bond --device-db bonding.db image-list --secure-connection --mitm --device-name Nordic_LBS --io-capabilities keyboard-display
v Device found: F9:9F:F3:7E:B3:D6, Nordic_LBS
v Connected to device: F9:9F:F3:7E:B3:D6
> PIN:
The output also includes information about the database entry specific to the device. For example:
Database entry 19: F9:9F:F3:7E:B3:D6 (1=random), key size: 16, ✔️ authenticated
mcu-manager ble-database command.