Modifying gr-air-modes to work with Nutaq's Zepto/Pico

Hello,

I’m currently working on a project where I need to install gr-air-modes
on a Zepto then a Pico from Nutaq. The problem is that gr-air-modes is
working with UHD/Osmocom.

I wondered if somebody had any ideas about how to modify gr-air-modes ?

Thank you !

Kind regards,

cid:[email protected]cid:[email protected]

/linkedin/
http://www.linkedin.com/company/laboratoire-de-recherche-lassena/twitter/
http://twitter.com/lassenaetshttps://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-snc6/224433_10151269768522857_381084400_n.jpg
http://www.facebook.com/lassena.etsmtl.ca

*Adrien Dubedat *| Stagiaire

Laboratoire LASSENA
?cole de Technologie Sup?rieure | 1100, rue Notre-Dame Ouest |
Montr?al (Qc) Canada | H3C 1K3

Tel.:514 430-9342, poste 7750 | Bureau : A-2451 | www.etsmtl.ca
http://www.etsmtl.ca/
Email :[email protected]
mailto:[email protected]
LASSENA : lassena.etsmtl.ca http://lassena.etsmtl.ca/

-------------------------------------------------------------------------------------------------------------------------------/
L//’//?TS est une constituante du r?seau de l//’//Universit? du Qu?bec//
/

Int?ress? ? joindre le laboratoire de recherche, remplir ce formulaire
svp : http://profs.etsmtl.ca/rlandry/landry/avis.asp?lang=fr
Interested to join the research laboratory, please fill this form:
http://profs.etsmtl.ca/rlandry/landry/avis.asp?lang=en


Avis: L’information contenue dans ce courriel est strictement
confidentielle. Toute utilisation par une personne autre que le
destinataire est ill?gale.
Si vous recevez ce courriel par erreur, veuillez svp le d?truire et nous
en aviser.

Hello Adrien,

You can simply replace the UHD functions invoked by their Nutaq
equivalent.
This is very easy and straight forward.

There are two blogs on the subject, one for C language, one for GRC flow
graphs.
http://nutaq.com/en/blog/comparison-nutaq-api-and-usrp-hardware-driver
http://nutaq.com/en/blog/how-port-existing-gnu-radio-waveform-picosdr-less-2-minutes

I had a quick look to gr-air-modes-master, it doesn’t seem to have a
.grc,
so you will do the UHD->Nutaq replacements in the Python implementation
(gr-air-modes-master\python\radio.py). The Nutaq API and FPGA cores come
with in-depth documentation that explains each function (“doc” folder).
But
one quick way to get started is by comparing (using diff or Beyond
Compare)
the Pyton generated form a basic GRC example (eg: uhd_rx_dpsk.uhd.py
from
basic GR install) where you replace the UHD blocks with Nutaq blocks.
The
delta obtained is the list of UHD python function along with their Nutaq
equivalent.

In Radio.py (gr-air-modes-master), copy the UHD implementation starting
at
line 144 and paste it into a new “elsif” at line 177:
elif options.source == “zeptosdr”: #using Nutaq ZeptoSDR
Then replace the “from gnuradio import uhd” and “uhd.usrp_source()” by
their
Nutaq equivalent: “import Nutaq” and “nutaq.rtdex_source()”
respectively.

Repeat with all the RTDEx and Radio420x configuration functions listed
earlier with diff or Beyond Compare (set_center_freq , set_samp_rate,
set_gain, etc…).

Then, remake the proper connexions by replacing
self.connect((self.uhd_usrp_source_0, 0), (…))
with
self.connect((self.nutaq_rtdex_source_0, 0), (…))

Finally, do not hesitate to connect our tech support helpdesk if you run
into problems understanding an API function when working on your code.

http://nutaq.com/en/support

Tristan


View this message in context:
http://gnuradio.4.n7.nabble.com/Modifying-gr-air-modes-to-work-with-Nutaq-s-Zepto-Pico-tp46634p46671.html
Sent from the GnuRadio mailing list archive at Nabble.com.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs