Hello,
I'm working on the gr-osmosdr blocks for the Red Pitaya SDR transceiver. They are based on the file block with some pieces borrowed from the rtl_tcp block.
The new blocks are already working and the code can be found at:
https://github.com/pavel-demin/gr-osmosdr/tree/master/lib/red_pitaya
My notes about the Red Pitaya SDR transceiver can be found at:
http://pavel-demin.github.io/red-pitaya-notes/sdr-transceiver
I have two questions that I can't find an answer to:
- What would be the best way to implement the push-to-talk (PTT) command? I don't see any method reserved for this kind of functionality in gr-osmosdr/lib/sink_impl.h. I can think of putting it to set_if_gain or set_bb_gain but I'm not sure if it's a good idea.
- Once the PTT problem solved, what would be the best way to submit a patch with my modifications?
Best regards,
Pavel
Hi,
- What would be the best way to implement the push-to-talk (PTT) command?
What do you mean by PTT ?
(I mean I know what PTT means in the context of a walkie talkie, but I don't really see how it applies to the red pitaya or gr-osmosdr. Or rather I see several different things it could mean .. ).
PS: Hey, someone else than me is doing gnuradio stuff in louvain la neuve ... nice :p
Cheers,
sylvain
Hi Sylvain,
What do you mean by PTT ?
(I mean I know what PTT means in the context of a walkie talkie, but I don't really see how it applies to the red pitaya or gr-osmosdr. Or rather I see several different things it could mean .. ).
In case of the Red Pitaya SDR transceiver, it's a command to enable or disable the transmitter output and eventually to drive a relay that switches the antenna between the RX path or TX path and/or to control an external amplifier.
I've seen that some SDR transceivers (Elad FDM-DUO, FLEX, ANAN) have an output called PTT-Out and graphical user interfaces of some SDR programs (Quisk, PowerSDR, QtRadio) have a button called PTT or MOX that controls the PTT output of the SDR transceivers. So, I thought that it's a common name for this kind of command.
Cheers,
Pavel
Hi,
In case of the Red Pitaya SDR transceiver, it's a command to enable or disable the transmitter output and eventually to drive a relay that switches the antenna between the RX path or TX path and/or to control an external amplifier.
The only thing that's close to this is the UHD auto TX/RX switching
It's not really exposed as a different method / function on the gnuradio level, it's handled internally by the hardware / low-level driver.
Basically when the hardware doesn't receive any TX sample (i.e underflow), then the hardware is in RX mode. When it starts receiving TX samples, then it auto switch to TX mode (and stops receiving and sending data to the host).
Cheers,
Sylvain
Thanks for the information about auto TX/RX switching Sylvain!
What about my second question? How to submit a patch with my modifications? Should I create a pull request or send a patch file to this list?
Cheers,
Pavel
Hi,
Thanks for the information about auto TX/RX switching Sylvain!
What about my second question? How to submit a patch with my modifications? Should I create a pull request or send a patch file to this list?
Send a patch to this list.
Try to make sure you match the code style of the project.
Dimitri is the maintainer, so you can CC him when you want your patch reviewed and he should either merge it or reply with comments with what to improve.
Cheers,
Sylvain
Hi list,
Just thought I'd drop a link to some fun we've been having with RTLSDR and the OsmoSDR Gnu Radio block:
https://criticalengineering.org/projects/deep-sweep/
Cheers,