<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
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.  
<div class=""><br class="">
</div>
<div class="">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.
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">Any ideas about the issue?</div>
<div class=""><br class="">
</div>
<div class="">Bob  N5BRG</div>
<div class=""><br class="">
</div>
<div class="">
<div class="" style="margin: 0px; line-height: normal; background-color: rgb(255, 255, 255);">
<div class="" style="margin: 0px; line-height: normal;">
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">bstrick@BBQbeef:~/pihpsdr-1.1.3-beta/pihpsdr$ sudo ./pihpsdr</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">Build: 2017-06-10 v1.1.3-beta</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">sysname: Linux</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">nodename: BBQbeef</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">release: 4.1.15-v7+</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span style="font-size: 11px;" class="">(removed for posting)</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">old_discovery</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discover: looking for HPSDR devices on enxb827ebfcffed</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discover: bound to enxb827ebfcffed</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discover_receive_thread</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discovery: bytes read -1</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discovery: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discovery: exiting discover_receive_thread</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discover: exiting discover for enxb827ebfcffed</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">discovery found 0 devices</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: looking for HPSDR devices on enxb827ebfcffed</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: bound to enxb827ebfcffed 192.168.7.2 255.255.255.0</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_disovery: thread_id=0xa63a30</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: bytes read -1</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: recvfrom socket failed for discover_receive_thread: Resource temporarily unavailable</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: exiting new_discover_receive_thread</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discover: exiting discover for enxb827ebfcffed</span></font></div>
<div class="" style="margin: 0px; line-height: normal;"><font face="Menlo" class=""><span class="" style="font-size: 11px;">new_discovery found 0 devices</span></font></div>
<div class=""><font face="Menlo" class=""><span class="" style="font-size: 11px;"><br class="">
</span></font></div>
</div>
</div>
</div>
</div>
</body>
</html>