kpreid / radio-wishlist

No code; a wishlist in issue-tracker form for GNU Radio and other software-defined radio libraries and applications.
0 stars 0 forks source link

Ability to prepare TX flowgraph without transmitting in gr-osmosdr #1

Open kpreid opened 8 years ago

kpreid commented 8 years ago

gr-osmosdr's source and sink blocks have operations to retrieve information about the capabilities of a device, such as the range of its frequency setting and the existence and valid ranges of its gain settings. Unfortunately, in the case of a sink (transmitter driver), creating the sink block itself starts transmission, meaning that it is not possible to create interactive UI for the sink until the first transmission.

(At least, that's the behavior when using a HackRF device. If the behavior is different on other devices, then it should be brought into line since gr-osmosdr is supposed to be an adapter.)

This is closely related to the problem of supporting half duplex operation which I filed HackRF-specifically at mossmann/hackrf#195. In that thread, it was suggested that the sink should simply do nothing until it receives a tx_sob tag.

(How this should be made compatible with existing users of the sink, I don't know.)