nRF5 SDK  v13.1.0
Choose documentation:
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Command Line Interface (CLI) Example

The CLI Example shows how to use the CLI library. It defines three instances of CLI working on different transport layers:

  • RTT
  • UART
  • USB CDC ACM (for PCA10056 only)

Testing

Test the CLI Example application by performing the following steps:

  1. Compile and program the application.
  2. Start a terminal emulator like PuTTY and establish the connection:
    • Serial: for UART or USB CDC transport.
    • Telnet, port 19021: for RTT transport.
  3. Press Enter. You can now start using the command line interface.