2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file console_io.h
|
|
|
|
*
|
|
|
|
* @date Dec 29, 2012
|
2020-01-13 18:57:43 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
2020-04-01 16:00:56 -07:00
|
|
|
#pragma once
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
typedef void (*CommandHandler)(char *);
|
|
|
|
|
|
|
|
void consoleOutputBuffer(const uint8_t *buf, int size);
|
2021-04-20 11:09:41 -07:00
|
|
|
void startConsole(CommandHandler console_line_callback_p);
|
2021-06-23 01:36:55 -07:00
|
|
|
void onDataArrived(bool valid);
|