Skip to content

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

Open
piotrnarajowski wants to merge 2 commits into
apache: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 into
apache:masterfrom
piotrnarajowski:set_security_mode_lvl

Conversation

@piotrnarajowski

@piotrnarajowski piotrnarajowski commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

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
@piotrnarajowski

Copy link
Copy Markdown
Contributor Author

Updated struct gap_configure_security_mode_cmd with new command parameter uint8_t flags

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 piotrnarajowski force-pushed the set_security_mode_lvl branch from 8dfb875 to 92d02d8 Compare May 20, 2026 10:26
@piotrnarajowski

Copy link
Copy Markdown
Contributor Author

Updated BTP Command opcode

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants