rewrite TxRx data format