[hpsdr] PiHPSDR on RPi3 running Ubuntu Mate

Bob Stricklin bstrick at N5BRG.COM
Mon Oct 16 08:35:24 PDT 2017


RE: PIHPSDR running on Ubuntu Mate RPi3. I built code on the RPi3. PIHPSDR does not discover Atlas Metis on the network or a Hermes. PowerSDR on a windows system works.

Some output produced by pihpsdr shown below. With Wireshark I can see the pihpsdr sending a 41797 - 1024 UDP packet to 255.255.255.255.  Atlas and the Hermes reply with a UDP 1024 - 41797 port address to the originating RPi3 PIHPSDR port.

Maybe RP3/Ubuntu is not getting the network traffic back through the socket on the reply. I see a couple of lines of code around the read socket feedback John had commented out. I put in the code and tested with no improvement.

PowerSDR GUI discovery sends a 1024 packet to 192.255.255.255. The RPi sends discovery to 255.255.255.255. I changed the RPi code to use 192.255.255.255 but no help.

Any ideas about the issue?

Bob  N5BRG

bstrick at BBQbeef:~/pihpsdr-1.1.3-beta/pihpsdr$ sudo ./pihpsdr
Build: 2017-06-10 v1.1.3-beta
sysname: Linux
nodename: BBQbeef
release: 4.1.15-v7+
(removed for posting)
old_discovery
discover: looking for HPSDR devices on enxb827ebfcffed
discover: bound to enxb827ebfcffed
discover_receive_thread
discovery: bytes read -1
discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
discovery: exiting discover_receive_thread
discover: exiting discover for enxb827ebfcffed
discovery found 0 devices
new_discover: looking for HPSDR devices on enxb827ebfcffed
new_discover: bound to enxb827ebfcffed 192.168.7.2 255.255.255.0
new_disovery: thread_id=0xa63a30
new_discover: bytes read -1
new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable
new_discover: exiting new_discover_receive_thread
new_discover: exiting discover for enxb827ebfcffed
new_discovery found 0 devices

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20171016/0eb7650c/attachment.html>


More information about the Hpsdr mailing list