made rx/tx buffers static in case stack space is small