cc2500 interfacing

guys i am doing my project that takes the value from photodetector to arduino uno and it transmits the data. The receiver should receive the transmitted value. I am in need of coding for both tx and rx where the photodetector value changes periodically it should update the values at rx side also. Do we need to pair both the modules? help me with this, need assistance ASAP. Thank you in advance... :)