Skip to content

apps/bttester: add btp command to configure security mode and level#2200

Open
piotrnarajowski wants to merge 2 commits intoapache:masterfrom
piotrnarajowski:set_security_mode_lvl
Open

apps/bttester: add btp command to configure security mode and level#2200
piotrnarajowski wants to merge 2 commits intoapache:masterfrom
piotrnarajowski:set_security_mode_lvl

Conversation

@piotrnarajowski
Copy link
Copy Markdown
Contributor

@piotrnarajowski piotrnarajowski commented Apr 2, 2026

This adds command to configure security mode and level. For now, this can't be done dynamically, we can just check if our settings comply with provided mode and level. This is needed for various GAP/SEC/SEM qualification test cases.

Related: auto-pts/auto-pts#1751

@piotrnarajowski
Copy link
Copy Markdown
Contributor Author

Fixed coding style issues

@piotrnarajowski
Copy link
Copy Markdown
Contributor Author

Recent update: Change command opcode to 0x34. 0x2F opcode was already in use.

@piotrnarajowski piotrnarajowski marked this pull request as ready for review April 8, 2026 12:27
This adds command to configure security mode and level. For now, this
can't be done dynamically, we can just check if our settings comply
with provided mode and level. This is needed for various GAP/SEC/SEM
qualification test cases.
Fix code formatting issues in btp handlers.
@piotrnarajowski
Copy link
Copy Markdown
Contributor Author

Updated struct gap_configure_security_mode_cmd with new command parameter uint8_t flags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Medium PR size/S Small PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants