Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findSoapyRedPitaya() device discovery not implemented #2

Open
guruofquality opened this issue Dec 25, 2015 · 3 comments
Open

findSoapyRedPitaya() device discovery not implemented #2

guruofquality opened this issue Dec 25, 2015 · 3 comments

Comments

@guruofquality
Copy link
Contributor

There currently isnt a way to discover RedPitayas on a local network. Some drivers require that the user explicitly enter the IP address (Ex addr=192.168.10.100). I put this issue here because it may be worthwhile to implement a discovery multicast/broadcast discovery protocol. Example SSDP: https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol Also, there may be some existing service to run on the RedPitaya size like avahi.

@satfan52
Copy link

satfan52 commented May 10, 2019

The work around that I have used is to attribute a fixed IP address to the redpitaya (using the router DHCP server and the MAC address of the RP) and hard the SoapyRedpitaya.cpp file with that static IP address.

/***********************************************************************
 * Device interface
 **********************************************************************/

class SoapyRedPitaya : public SoapySDR::Device
{
public:
    SoapyRedPitaya(const SoapySDR::Kwargs &args):
        _addr("192.168.0.100"), _port(1001)
    {

@guruofquality
Copy link
Contributor Author

Red pitaya doesnt advertise any service on mdns does it? You dont happen to see it show up in mdns-scan or something like that.

Or maybe it could just be added to the redpitaya since its just embedded linux: https://linux.die.net/man/5/avahi.service

I was thinking another thing that could help is if the module supported looking at a particular environment variable for the address.

@pavel-demin
Copy link
Contributor

It's possible to advertise the SDR transceiver application via Avahi when the application is running on the Red Pitaya board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants