uartwrapper c version