bluetooth: host: Add support for SMP error code 0x0f

This error code informs that peer device rejected key during
keys distribution phase.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
This commit is contained in:
Szymon Janc 2021-10-18 14:13:40 +02:00 committed by Anas Nashif
commit 47ac14282d
3 changed files with 6 additions and 0 deletions

View file

@ -751,6 +751,9 @@ enum bt_security_err {
/** Invalid parameters. */
BT_SECURITY_ERR_INVALID_PARAM,
/** Distributed Key Rejected */
BT_SECURITY_ERR_KEY_REJECTED,
/** Pairing failed but the exact reason could not be specified. */
BT_SECURITY_ERR_UNSPECIFIED,
};