Implement rx buffer
Implement tx buffer