metis.h
Go to the documentation of this file.
// This version has been modified from the John Melton original
// by Tom McDermott, N5EG for use with metis.cc and Gnuradio.
// Version - November 16, 2012
#ifndef METIS_H
#define METIS_H
enum { RxStream_Off, // Hermes Receiver Stream Controls
RxStream_NB_On, // Narrow Band (down converted)
RxStream_WB_On, // Wide Band (raw ADC samples)
RxStream_NBWB_On // Narrow Band and Wide Band both On
};
typedef struct _METIS_CARD {
char ip_address[16];
char mac_address[18];
} METIS_CARD;
void metis_discover(const char* interface);
int metis_found();
char* metis_ip_address(int entry);
char* metis_mac_address(int entry);
void metis_receive_stream_control(unsigned char, unsigned int);
void metis_stop_receive_thread();
int metis_write(unsigned char ep,unsigned char* buffer,int length);
void* metis_receive_thread(void* arg);
void metis_send_buffer(unsigned char* buffer,int length);
#endif // METIS_H
metis_mac_address
char * metis_mac_address(int entry)
metis_ip_address
char * metis_ip_address(int entry)
metis_receive_thread
void * metis_receive_thread(void *arg)
metis_write
int metis_write(unsigned char ep, unsigned char *buffer, int length)
METIS_CARD
struct _METIS_CARD METIS_CARD
metis_send_buffer
void metis_send_buffer(unsigned char *buffer, int length)
RxStream_WB_On
@ RxStream_WB_On
Definition metis.h:12
RxStream_Off
@ RxStream_Off
Definition metis.h:10
RxStream_NBWB_On
@ RxStream_NBWB_On
Definition metis.h:13
RxStream_NB_On
@ RxStream_NB_On
Definition metis.h:11
metis_discover
void metis_discover(const char *interface)
metis_receive_stream_control
void metis_receive_stream_control(unsigned char, unsigned int)
metis_stop_receive_thread
void metis_stop_receive_thread()
metis_found
int metis_found()
_METIS_CARD
Definition metis.h:16
_METIS_CARD::ip_address
char ip_address[16]
Definition metis.h:17
_METIS_CARD::mac_address
char mac_address[18]
Definition metis.h:18