Contiki 3.x
dbg-puts.c
1 #include <stdio.h>
2 #include <debug-uart.h>
3 #include <string.h>
4 
5 int
6 puts(const char *str)
7 {
8  dbg_send_bytes((unsigned char*)str, strlen(str));
9  dbg_putchar('\n');
10  return 0;
11 }
unsigned int dbg_send_bytes(const unsigned char *seq, unsigned int len)
Print a stream of bytes.
Definition: debug-uart.c:71