Standard Input API

#include "src/btstack_stdin.h"

Register a handler for characters read from standard input.

// setup handler for command line interface

btstack_stdin_setup

void btstack_stdin_setup(void (*stdin_handler)(char c));

Register a handler for characters read from standard input.

Source


// gets called by main.c

btstack_stdin_reset

void btstack_stdin_reset(void);

Stop handling standard input and restore its state.

Source