[BB xM] How to write software in C to control UART

http://www.easysw.com/~mike/serial/serial.html