Contiki-NG
Files | Functions
Portable debugging output functons

Files

file  dbg.h
 Header file for the dbg-io module.
 

Functions

unsigned int dbg_send_bytes (const unsigned char *seq, unsigned int len)
 Print a stream of bytes. More...
 
int dbg_putchar (int c)
 Print a character to debug output. More...
 

Detailed Description

Function Documentation

◆ dbg_putchar()

int dbg_putchar ( int  c)

Print a character to debug output.

Parameters
cCharacter to print
Returns
Printed character

Definition at line 54 of file dbg.c.

◆ dbg_send_bytes()

unsigned int dbg_send_bytes ( const unsigned char *  seq,
unsigned int  len 
)

Print a stream of bytes.

Parameters
seqA pointer to the stream
lenThe number of bytes to print
Returns
The number of printed bytes

Definition at line 79 of file dbg.c.