That depends on what the sensor outputs.
If it is ADC data, then enable the ADC line on the TX module and set an IR rate.
On the receiving side, set it for API mode.
If the sensor has a 3V CMOS, simple connect the UART's accordingly. Then set the DL/DH to the SL and SH of the other. Then read the data like you would on a serial cable.