New API; Antenna selection

Add useful snippets of code or links to entire SDR projects.
mikael
Posts: 18
Joined: Tue Dec 06, 2016 9:03 am

New API; Antenna selection

Postby mikael » Sun Dec 11, 2016 8:31 pm

There's some confusion about selecting antennas in the new RSP2 API.

mir_sdr_RSPII_AntennaControl() selects between SMA A and SMA B.

mir_sdr_AmPortSelect() selects between the HI-Z antenna and ... ?

How are the above support to work in conjunction? Need schematics! :-) The antennas must be multiplexed in some way, i.e 75Ω AM port connected to the SMA connectors, or something..? An example selecting SMA A, SMA B and HI-Z appreciated. Preferable in the next version of the API docs. :-)

Also, there's a typo on page 38; "mir_sdr_RSPII_ANTENNA_A -> Antenna B"?! :-)

Reason: No reason

Tech_Support
Posts: 199
Joined: Mon Jun 01, 2015 7:00 pm

Re: New API; Antenna selection

Postby Tech_Support » Sun Dec 11, 2016 10:14 pm

Hello Mikael,
I have forwarded your comments to our development team. Please send all feedback or requests for support to:

support@sdrplay.com

This forum is really intended for users to share information. Whilst we try to to monitor everything that gets posted, it is sometimes all too easy to miss some.

Sincerely

SDRplay Tech_Support

Reason: No reason

sdrplay
Posts: 565
Joined: Wed Jan 07, 2015 7:58 am

Re: New API; Antenna selection

Postby sdrplay » Sun Dec 11, 2016 10:15 pm

AntennaControl selects between A and B

AmPortSelect selects between HiZ (1) and whatever port is selected using AntennaControl (0)

When you switch between HiZ and the other ports use the Reinit with the mir_sdr_CHANGE_AM_PORT reason.

We'll fix the typo, thanks.

Best regards,

SDRplay Support

Reason: No reason


Return to “Code Corner”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest