# Reg transceiver program

**URL:** <https://www.ruby-forum.com/t/reg-transceiver-program/209669>\
**Category:** GNU Radio\
**Created:** [July 19, 2011, 11:26pm UTC](https://www.ruby-forum.com/t/reg-transceiver-program/209669 "2011-07-19T23:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [July 19, 2011, 11:26pm UTC](https://www.ruby-forum.com/t/reg-transceiver-program/209669/1 "2011-07-19T23:26:23Z")

</div>

hi.  
i wanted to simulate a transceiver which receives some data and then  
transmits its own and the data it got.  
I have been modifying then benchmark\_tx and rx program to do this and  
I was able to simulate the transceiver I mentioned, by adding the  
sender code in the “def\_rxcallback” function.  
I dont know if thats the right way to do, but it worked for me, after  
importing and adding some code from benchmark\_tx program.  
But I am now trying to find a way to parse options for both the sender  
and receiver. Since I have been modifying the benchmark\_rx program for  
this, the options I pass are only used for the receiver program alone.  
So I am not able to send and receive using two different frequencies  
or two different packet sizes for each.  
Can anyone please help me with this?. I have attached my code here, so  
that if anyone is free to go through it, can help me with the mistakes  
I made.  
thank you
