Skip to content

Commit

Permalink
bluetooth: shell: refactor shell print to eliminate ctx_shell usage
Browse files Browse the repository at this point in the history
This change aims to eliminate the dependency on `ctx_shell` in
the Bluetooth `host/shell/*`, making the code more maintainable.
Replaced `shell_*` functions that depended on `ctx_shell` with
the appropriate `bt_shell_*` functions.

The shell-less functions `bt_do_scan_off` and `bt_do_connect_le`
were added so they can be called in `cmd_scan_off`, `cmd_connect_le`,
and `scan_recv`.

Signed-off-by: Pisit Sawangvonganan <[email protected]>
  • Loading branch information
ndrs-pst committed Nov 15, 2024
1 parent 325ae66 commit 5243ac9
Show file tree
Hide file tree
Showing 5 changed files with 331 additions and 291 deletions.
Loading

0 comments on commit 5243ac9

Please sign in to comment.