roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
rprintf.h File Reference

Light-weight formatted printing to a remote print buffer that is routed through a host robot. More...

Go to the source code of this file.

Functions

void rprintfInit (void)
 Initializes rprintf and the remote print buffer. More...
 
void rprintf (char *format,...)
 Prints formatted output to the remote terminal. More...
 
boolean rprintfIsHost (void)
 Returns the current rprintf terminal mode. More...
 
uint32 rprintfGetTotalBytesReceived (void)
 Measure the rptintf Radio usage. More...
 
uint32 rprintfGetActiveRobotsNum (void)
 Measure the rprintf Radio usage. More...
 
void rprintfPrintActiveRobotList (void)
 Measure the rprintf Radio usage. More...
 

Detailed Description

Light-weight formatted printing to a remote print buffer that is routed through a host robot.

Since
2001
Author
James McLurkin

Function Documentation

void rprintf ( char *  format,
  ... 
)

Prints formatted output to the remote terminal.

Processes the input string into an output string rone understands. If the input string is too large, rprintfOverRunError is set to TRUE.

Returns
void
uint32 rprintfGetActiveRobotsNum ( void  )

Measure the rprintf Radio usage.

Returns
the total number of bytes received
uint32 rprintfGetTotalBytesReceived ( void  )

Measure the rptintf Radio usage.

Returns
the total number of bytes received
void rprintfInit ( void  )

Initializes rprintf and the remote print buffer.

Returns
void
boolean rprintfIsHost ( void  )

Returns the current rprintf terminal mode.

Returns the current rprintf terminal mode.

Returns
uint8 or either RPRINTF_HOST or RPRINTF_REMOTE
void rprintfPrintActiveRobotList ( void  )

Measure the rprintf Radio usage.

prints the list of active robots. This starts with a leading comma, which is useful for how it's used.