Skip to content

"Just-pair" seems to not work in the peripheral-HID sample #78131

Closed Answered by koffes
malto101 asked this question in Q&A
Discussion options

You must be logged in to vote

I am not that ventured in this sample.
One tip is to check in the .config file that CONFIG_BT_SMP=y.
I would try with Another Phone or PC to see what difference that makes.

It could be that the phone has received a software update, and now mandates a (higher) level of security for HID. The "err 4" is
/** The requested security level could not be reached. */ BT_SECURITY_ERR_AUTH_REQUIREMENT,

So what happens is that after connection, the phone requests a security update. The HID is unable to comply so the phone terminates the connection.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@malto101
Comment options

@koffes
Comment options

Answer selected by malto101
@malto101
Comment options

@malto101
Comment options

@koffes
Comment options

@malto101
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants