• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CONSOLE APP
2===========
3
4![logo](../images/console_screenshot.png){ width=300 height=300 }
5
6The Console app is an interactive text user interface that offers a number of functions, including:
7
8  * scanning
9  * advertising
10  * connecting to and disconnecting from devices
11  * changing connection parameters
12  * enabling encryption
13  * discovering GATT services and characteristics
14  * reading and writing GATT characteristics
15  * subscribing to and unsubscribing from GATT characteristics
16
17The console user interface has 3 main panes:
18
19  * a display pane, that displays information, depending on a user-selected mode. The `show` command can be used to switch what is displayed in this pane
20  * a command history pane that shows a short history of the last commands and their results
21  * a command pane, with tab completion, where you can enter commands
22
23In addition to the display panes, the console has a status bar, showing the scanning state and the connection state.
24
25!!! info "Running the console app"
26    ```
27    python console.py <transport-spec>
28    ```
29
30    Example:
31    ```
32    python console.py usb:0
33    ```
34