modified names of rx side to be consistent with tx side
modified bar mapping for tx and rx.
fixed bugs in the tx. tests show working tx and rx