<HTML><HEAD></HEAD>
<BODY 
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space" 
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hi Doug,</DIV>
<DIV> </DIV>
<DIV>John Melton pointed  out this bug some time ago and I fixed it in a 
private release that I sent him.</DIV>
<DIV> </DIV>
<DIV>I’ve just check the FPGA code in Metis V2.6b and the code to select the 
wideband data is in place. </DIV>
<DIV> </DIV>
<DIV>So to  start  without wideband data the command is </DIV>
<DIV> </DIV>
<DIV>0x01 </DIV>
<DIV> </DIV>
<DIV>and with is</DIV>
<DIV> </DIV>
<DIV>0x03</DIV>
<DIV> </DIV>
<DIV>I’ve just tested the code using KK and it appears to work as expected. 
</DIV>
<DIV> </DIV>
<DIV>Please let me know if you are still having a problem.</DIV>
<DIV> </DIV>
<DIV>73 Phil...VK6PH </DIV>
<DIV> </DIV>
<DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'></DIV>
<DIV style="FONT: 10pt tahoma">
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=douglas.adams@me.com 
href="mailto:douglas.adams@me.com">Doug Adams</A> </DIV>
<DIV><B>Sent:</B> Sunday, March 2, 2014 11:04 AM</DIV>
<DIV><B>To:</B> <A title=hpsdr@lists.openhpsdr.org 
href="mailto:hpsdr@lists.openhpsdr.org">hpsdr@lists.openhpsdr.org</A> </DIV>
<DIV><B>Subject:</B> [hpsdr] Metis/Mercury Bandscope Data 
(EP=4)</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>***** 
High Performance Software Defined Radio Discussion List *****<BR><BR>
<P>
<HR>
I am trying to suppress Bandscope data from being sent from Metis/Mercury to the 
PC. The firmware versions are Metis 2.6b and Mercury 3.4. I started the system 
using the designated command as follows (in Objective-C on a MAC running OS X 
10.9.2): 
<DIV> </DIV>
<DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px">- (<SPAN 
style="COLOR: #703daa">Boolean</SPAN>)startStop:(<SPAN 
style="COLOR: #bb2ca2">int</SPAN>)command</DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px">{</DIV>
<DIV 
style="FONT-SIZE: 11px; FONT-FAMILY: menlo; COLOR: rgb(187,44,162); MARGIN: 0px"><SPAN 
style="COLOR: #000000"><SPAN class=Apple-tab-span 
style="WHITE-SPACE: pre"></SPAN></SPAN>unsigned<SPAN style="COLOR: #000000"> 
</SPAN>char<SPAN style="COLOR: #000000"> msg[</SPAN><SPAN 
style="COLOR: #272ad8">64</SPAN><SPAN style="COLOR: #000000">] ;</SPAN></DIV>
<P 
style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px; MIN-HEIGHT: 13px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN><BR 
class=webkit-block-placeholder></P>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>msg[<SPAN 
style="COLOR: #272ad8">0</SPAN>] = <SPAN style="COLOR: #272ad8">0xef</SPAN> 
;</DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>msg[<SPAN 
style="COLOR: #272ad8">1</SPAN>] = <SPAN style="COLOR: #272ad8">0xfe</SPAN> 
;</DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>msg[<SPAN 
style="COLOR: #272ad8">2</SPAN>] = <SPAN style="COLOR: #272ad8">0x04</SPAN> 
;</DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN>msg[<SPAN 
style="COLOR: #272ad8">3</SPAN>] = command ;</DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px"><SPAN 
class=Apple-tab-span style="WHITE-SPACE: pre"></SPAN><SPAN 
style="COLOR: #78492a">memset</SPAN>( msg+<SPAN style="COLOR: #272ad8">4</SPAN>, 
<SPAN style="COLOR: #272ad8">0</SPAN>, <SPAN style="COLOR: #272ad8">60</SPAN> ) 
;</DIV>
<DIV 
style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px">        
[ <SPAN style="COLOR: #bb2ca2">self</SPAN> <SPAN 
style="COLOR: #31595d">write</SPAN>:msg <SPAN 
style="COLOR: #31595d">length</SPAN>:<SPAN style="COLOR: #272ad8">64</SPAN> ] 
;</DIV>
<DIV 
style="FONT-SIZE: 11px; FONT-FAMILY: menlo; COLOR: rgb(187,44,162); MARGIN: 0px"><SPAN 
style="COLOR: #000000">        
</SPAN>return<SPAN style="COLOR: #000000"> </SPAN>YES<SPAN 
style="COLOR: #000000">;</SPAN></DIV>
<DIV style="FONT-SIZE: 11px; FONT-FAMILY: menlo; MARGIN: 0px">}</DIV>
<DIV> </DIV>
<DIV>where the "command" parameter is set to 0x1. </DIV>
<DIV> </DIV>
<DIV>This is as per "Metis - How it works_V1.27" shown below:</DIV></DIV>
<BLOCKQUOTE 
style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 0px 40px; BORDER-LEFT: medium none; PADDING-RIGHT: 0px">
  <DIV>
  <DIV>
  <DIV title="Page 4" class=page>
  <DIV class=layoutArea>
  <DIV class=column>
  <P><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times'; FONT-STYLE: italic">Start 
  Command </SPAN></P></DIV></DIV></DIV></DIV></DIV>
  <DIV>
  <DIV>
  <DIV title="Page 4" class=page>
  <DIV class=layoutArea>
  <DIV class=column>
  <P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times'">Metis will start 
  sending UDP/IP data to the ‘from port’, IP address and MAC address of a PC 
  that sends a Start Command. The Start Command is a UDP/IP frame sent to the 
  Ethernet address assigned to the Metis card and port 1024. The command has the 
  following format: </SPAN></P></DIV></DIV></DIV></DIV></DIV>
  <DIV>
  <DIV>
  <DIV title="Page 4" class=page>
  <DIV class=layoutArea>
  <DIV class=column>
  <P><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times'"><0xEFFE><0x04><Command>< 
  60 bytes of 0x00> </SPAN></P></DIV></DIV></DIV></DIV></DIV>
  <DIV>
  <DIV>
  <DIV title="Page 4" class=page>
  <DIV class=layoutArea>
  <DIV class=column>
  <P><SPAN 
  style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times'">where</SPAN></P></DIV></DIV></DIV></DIV></DIV>
  <DIV>
  <DIV>
  <DIV title="Page 4" class=page>
  <DIV class=layoutArea>
  <DIV class=column>
  <P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times'">Command = 1 byte (bit 
  [0] set starts I&Q + Mic data and bit [1] set starts the wide bandscope 
  data) </SPAN></P></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE>
<DIV>
<DIV>Unfortunately, it seems to ignore the command and send both I/Q data 
(endpoint 6) and Bandscope data (endpoint 4). Otherwise everything works as 
expected.</DIV>
<DIV> </DIV>
<DIV>Is this a known bug? Is there a workaround?</DIV>
<DIV> </DIV>
<DIV apple-content-edited="true"><SPAN class=Apple-style-span 
style="BORDER-COLLAPSE: separate; BORDER-SPACING: 0px">
<DIV>Douglas Adams</DIV>
<DIV><A href="mailto:douglas.adams@me.com">douglas.adams@me.com</A></DIV>
<DIV> </DIV></SPAN><BR class=Apple-interchange-newline></DIV>
<DIV> </DIV></DIV>
<P>
<HR>
_______________________________________________<BR>HPSDR Discussion List<BR>To 
post msg: hpsdr@openhpsdr.org<BR>Subscription help: 
http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org<BR>HPSDR web page: 
http://openhpsdr.org<BR>Archives: 
http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</DIV></DIV></DIV>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email is free from viruses and malware because <a href="http://www.avast.com/">avast! Antivirus</a> protection is active.
                        </p>
                </td>
        </tr>
</table>
<br />
</BODY></HTML>