[hpsdr] Metis/Mercury Bandscope Data (EP=4)
Phil Harman
phil at pharman.org
Sat Mar 1 19:38:06 PST 2014
Hi Doug,
John Melton pointed out this bug some time ago and I fixed it in a private release that I sent him.
I’ve just check the FPGA code in Metis V2.6b and the code to select the wideband data is in place.
So to start without wideband data the command is
0x01
and with is
0x03
I’ve just tested the code using KK and it appears to work as expected.
Please let me know if you are still having a problem.
73 Phil...VK6PH
From: Doug Adams
Sent: Sunday, March 2, 2014 11:04 AM
To: hpsdr at lists.openhpsdr.org
Subject: [hpsdr] Metis/Mercury Bandscope Data (EP=4)
***** High Performance Software Defined Radio Discussion List *****
--------------------------------------------------------------------------------
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):
- (Boolean)startStop:(int)command
{
unsigned char msg[64] ;
msg[0] = 0xef ;
msg[1] = 0xfe ;
msg[2] = 0x04 ;
msg[3] = command ;
memset( msg+4, 0, 60 ) ;
[ self write:msg length:64 ] ;
return YES;
}
where the "command" parameter is set to 0x1.
This is as per "Metis - How it works_V1.27" shown below:
Start Command
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:
<0xEFFE><0x04><Command>< 60 bytes of 0x00>
where
Command = 1 byte (bit [0] set starts I&Q + Mic data and bit [1] set starts the wide bandscope data)
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.
Is this a known bug? Is there a workaround?
Douglas Adams
douglas.adams at me.com
--------------------------------------------------------------------------------
_______________________________________________
HPSDR Discussion List
To post msg: hpsdr at openhpsdr.org
Subscription help: http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
HPSDR web page: http://openhpsdr.org
Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20140302/bd683629/attachment-0004.htm>
More information about the Hpsdr
mailing list