tx/rx completely functional, porting to main done