Repository navigation
hci: reply Pairing Not Supported to SMP requests - #535
Open
deadprogram wants to merge 1 commit into
Open
deadprogram wants to merge 1 commit into
deadprogram wants to merge 1 commit into
Conversation
deadprogram
force-pushed
the
hci-smp-not-supported
branch
from
December 1, 2026 12:43
95e3ed0 to
4bd6ce0
Compare
A Pairing Request or Security Request on the security channel was dropped, so the peer waited for the 30 s SMP timeout. Reply with Pairing Failed and reason Pairing Not Supported.
deadprogram
force-pushed
the
hci-smp-not-supported
branch
2 times, most recently
from
December 1, 2026 12:53
7954d82 to
4bd6ce0
Compare
deadprogram
force-pushed
the
hci-smp-not-supported
branch
from
December 1, 2026 12:55
4bd6ce0 to
7954d82
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This builds on #532, so the base is its branch. GitHub moves the base when #532 merges. It does not need #534.
The HCI stack dropped every packet on the SMP channel (CID 0x0006). A central that sent a Pairing Request, or a peripheral that sent a Security Request, waited for the 30 s SMP timeout.
The stack now replies with Pairing Failed, reason 0x05 Pairing Not Supported (Core v5.4 Vol 3 Part H section 3.5.5). Other SMP codes are still ignored.
This is the first step toward Just Works pairing on HCI.
Testing: