GNU Radio's HPSDR Package
metis.h
Go to the documentation of this file.
1
2// This version has been modified from the John Melton original
3// by Tom McDermott, N5EG for use with metis.cc and Gnuradio.
4// Version - November 16, 2012
5
6#ifndef METIS_H
7#define METIS_H
8
9
10enum { RxStream_Off, // Hermes Receiver Stream Controls
11 RxStream_NB_On, // Narrow Band (down converted)
12 RxStream_WB_On, // Wide Band (raw ADC samples)
13 RxStream_NBWB_On // Narrow Band and Wide Band both On
14};
15
16typedef struct _METIS_CARD {
17 char ip_address[16];
18 char mac_address[18];
20
21void metis_discover(const char* interface);
23char* metis_ip_address(int entry);
24char* metis_mac_address(int entry);
25void metis_receive_stream_control(unsigned char, unsigned int);
27
28int metis_write(unsigned char ep,unsigned char* buffer,int length);
29void* metis_receive_thread(void* arg);
30void metis_send_buffer(unsigned char* buffer,int length);
31
32
33#endif // METIS_H
34
35
char * metis_mac_address(int entry)
char * metis_ip_address(int entry)
void * metis_receive_thread(void *arg)
int metis_write(unsigned char ep, unsigned char *buffer, int length)
struct _METIS_CARD METIS_CARD
void metis_send_buffer(unsigned char *buffer, int length)
void metis_discover(const char *interface)
void metis_receive_stream_control(unsigned char, unsigned int)
void metis_stop_receive_thread()
@ RxStream_WB_On
Definition metis.h:12
@ RxStream_Off
Definition metis.h:10
@ RxStream_NBWB_On
Definition metis.h:13
@ RxStream_NB_On
Definition metis.h:11
int metis_found()
Definition metis.h:16
char ip_address[16]
Definition metis.h:17
char mac_address[18]
Definition metis.h:18