| RCOM PROJ
    File transfer via serial port | 

Go to the source code of this file.
| Macros | |
| #define | RESET "\033[0m" | 
| #define | BLACK "\033[30m" /* Black */ | 
| #define | RED "\033[31m" /* Red */ | 
| #define | GREEN "\033[32m" /* Green */ | 
| #define | YELLOW "\033[33m" /* Yellow */ | 
| #define | BLUE "\033[34m" /* Blue */ | 
| #define | MAGENTA "\033[35m" /* Magenta */ | 
| #define | CYAN "\033[36m" /* Cyan */ | 
| #define | WHITE "\033[37m" /* White */ | 
| #define | BOLDBLACK "\033[1m\033[30m" /* Bold Black */ | 
| #define | BOLDRED "\033[1m\033[31m" /* Bold Red */ | 
| #define | BOLDGREEN "\033[1m\033[32m" /* Bold Green */ | 
| #define | BOLDYELLOW "\033[1m\033[33m" /* Bold Yellow */ | 
| #define | BOLDBLUE "\033[1m\033[34m" /* Bold Blue */ | 
| #define | BOLDMAGENTA "\033[1m\033[35m" /* Bold Magenta */ | 
| #define | BOLDCYAN "\033[1m\033[36m" /* Bold Cyan */ | 
| #define | BOLDWHITE "\033[1m\033[37m" /* Bold White */ | 
| #define | PROGRESS_BAR_SIZE 30 | 
| #define | SEPARATOR_CHAR '#' | 
| #define | EMPTY_CHAR '.' | 
| #define | NUM_BACKSPACES PROGRESS_BAR_SIZE + 9 | 
| Functions | |
| void | log_error (char *arr) | 
| Outputs a message in red.  More... | |
| void | log_caution (char *arr) | 
| Outputs a message in yellow.  More... | |
| void | log_success (char *arr) | 
| Outputs a message in green.  More... | |
| void | log_message (char *arr) | 
| Outputs a message in white.  More... | |
| void | log_message_number (char *arr, int numb) | 
| Outputs a message in the form "number - message".  More... | |
| void | log_hexa (unsigned char a) | 
| Outputs a message in the form "Content: 0xHH".  More... | |
| void | clearProgressBar () | 
| Clears progress bar from terminal.  More... | |
| void | printProgressBar (int progress, int total) | 
| Prints progress bar on terminal.  More... | |
| void | startTime (struct timespec *start_time) | 
| starts counting time  More... | |
| void | log_elapsedTime (char *message, struct timespec start_time) | 
| starts counting time  More... | |
| void | log_bitsPerSecond (double nbytes, struct timespec start_time) |