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 special handling was added to `cmd_scan_off` and `cmd_connect_le`
because these commands both used the `sh` context and previously
depended on `ctx_shell`.

Signed-off-by: Pisit Sawangvonganan <[email protected]>
  • Loading branch information
ndrs-pst committed Nov 11, 2024
1 parent 1adc828 commit 0bf9681
Show file tree
Hide file tree
Showing 5 changed files with 318 additions and 284 deletions.
Loading

0 comments on commit 0bf9681

Please sign in to comment.