xtrx-sdr / images

Pre-built XTRX packages and firmware images
https://www.crowdsupply.com/fairwaves/xtrx
44 stars 27 forks source link

gr-osmosdr xtrx unique options in the documentation. #66

Open o8ko8k opened 5 years ago

o8ko8k commented 5 years ago

Can we please put the valid antenna selection options as well as other xtrx unique arguments in the documentation section of the source and sink blocks (the ones specific to xtrx) for example (the list of correct values for which antenna to use):

static const std::map<std::string, xtrx_antenna_t> s_ant_map = boost::assign::map_list_of ("AUTO", XTRX_TX_AUTO) ("B1", XTRX_TX_H) ("B2", XTRX_TX_W) ("TXH", XTRX_TX_H) ("TXW", XTRX_TX_W)

static const std::map<std::string, xtrx_antenna_t> s_ant_map = boost::assign::map_list_of ("AUTO", XTRX_RX_AUTO) ("RXL", XTRX_RX_L) ("RXH", XTRX_RX_H) ("RXW", XTRX_RX_W) ("RXL_LB", XTRX_RX_L_LB) ("RXW_LB", XTRX_RX_W_LB) ; It would also appear that if i use the wrong setting here, i will be using LB vs W vs L H etc. Filtering could be wrong and the unit will be deaf/severely attenuated receive signals! might be linked to the other issue on the subject (ITEM #12).

This way folks wont have to dig through the code to find the valid options AND then ill know that i have the gr-osmo block from this branch and not the generic one.

If i could figure out how to check-out/check-in i would do it myself, but im a bit of a hack when it comes to coding so i would recommend someone else do it so they dont have to clean up my mess.

o8ko8k commented 5 years ago

Another HUGE one that should be added to the docs, the gr-osmsdr block under gnuradio-companion device arguments section MUST INCLUDE:

xtrx=1

in order to enable the xtrx device. or it not no worky!

Now granted, the gr-osmosdr documentation gives some clue to this but its not explicit as no xtrx device exists in the original branch.

forgive me if my contributions here have been rather elementary from the perspective of a power user, but for the novice like me, these items are fundamental to getting this awesome little device working.

dchard commented 4 years ago

I have the same issue. My antenna is connected to RXA, so what command line should I use?

osmocom_fft -a xtrx -A RXW -s 4000000 -f 804000000 -F

Thanks in advance!

WilfredoLora commented 3 years ago

@dchard any movement on this? I am curious as well before I dive in. Thanks!!