MetisHPSDRDelegate Protocol Reference


Overview


The MetisHPSDRDelegate protocol defines the optional method implemented by the HPSDR delegate of the Metis object. The protocol is defined in Metis.h.

The first argument of the methods is the Metis object that sends the message to the delegate.

Unless you wish to do your own decoding of data or control bits from a Metis device, use the methods in
MetisDataDelegate and MetisControlDelegate instead. One use of the HPSDR frame is for recording the data from a Metis device directly to a file.

Tasks


Receiving HPSDR Data Frame

- metis:newFrame:



Instance Methods


metis:newFrame:

This message is sent to the delegate when a new HPSDR data frame arrives from the Metis hardware. For details on the HPSDR data frames, please refer to the HPSDR — USB Data Protocol document in the OpenHPSDR support page.

Each Metis UDP packet contains two HPSDR Frames. You should expect pairs of metis:newFrame: callbacks to arrive one immediately after another.

The HPSDRFrame structure is defined in Metis.h. See the
Programming Guide for details.

- (void)metis:(Metis*)metis newFrame:(HPSDRFrame*)frame

Parameters

metis
the Metis object that sent the message,

frame
pointer to HPSDRFrame structure.