Contiki 2.5
debug-uart.h
1 #ifndef __DEBUG_UART_H__1V2039076V__
2 #define __DEBUG_UART_H__1V2039076V__
3 
4 #ifndef dbg_setup_uart
5 #define dbg_setup_uart dbg_setup_uart_default
6 #endif
7 
8 void
9 dbg_setup_uart();
10 
11 void
12 dbg_set_input_handler(void (*handler)(const char *inp, unsigned int len));
13 
14 unsigned int
15 dbg_send_bytes(const unsigned char *seq, unsigned int len);
16 
17 
18 void
19 dbg_putchar(const char ch);
20 
21 void
22 dbg_blocking_putchar(const char ch);
23 
24 void
25 dbg_drain();
26 
27 #endif /* __DEBUG_UART_H__1V2039076V__ */