upped the uartsocket.c (should be moved to own proj really)