roneos
Operating System for the r-one robot
 All Data Structures Files Functions Variables Typedefs Groups
rprintf.h
Go to the documentation of this file.
1 
12 #ifndef RPRINTF_H_
13 #define RPRINTF_H_
14 
15 /******** Defines ********/
16 
17 #define RPRINTF_TEXT_STRING_SIZE CPRINTF_TEXT_STRING_SIZE
18 #define RPRINTF_REMOTE 0
19 #define RPRINTF_HOST 1
20 #define RPRINTF_MAX_PACKETS 8
21 
22 /******** Functions ********/
23 
29 void rprintfInit(void);
30 
31 
40 void rprintf(char* format, ...);
41 
42 
43 //TODO: Should this be public?
44 void rprintfSetHostMode(uint8 val);
45 
46 
53 boolean rprintfIsHost(void);
54 
55 
56 //TODO: Should this be public?
57 void rprintfEnableRobot(uint8 robotID, boolean enable);
58 
59 
65 uint32 rprintfGetTotalBytesReceived(void);
66 
67 
73 uint32 rprintfGetActiveRobotsNum(void);
74 
75 
81 void rprintfPrintActiveRobotList(void);
82 
83 #endif /* RPRINTF_H_ */