38 #define USRP_BAUD 19200 41 #define USRP_STOPBITS 1 43 #define USRP_CHANNEL_A 0 44 #define USRP_CHANNEL_B 1 45 #define USRP_CHANNEL_SWAP 2 47 #define USRP_DATAMODE_OFF 0 48 #define USRP_DATAMODE_ON 1 50 #define USRP_9600MODE_OFF 0 51 #define USRP_9600MODE_ON 1 53 #define USRP_MODE_LSB 0 54 #define USRP_MODE_USB 1 55 #define USRP_MODE_AM 2 56 #define USRP_MODE_CW 3 57 #define USRP_MODE_RTTY 4 58 #define USRP_MODE_FM 5 59 #define USRP_MODE_CWR 7 60 #define USRP_MODE_RTTYR 8 61 #define USRP_MODE_DV 17 63 #define USRP_FILTER_1 1 64 #define USRP_FILTER_2 2 65 #define USRP_FILTER_3 3 uint8_t usrp_byte(vector< uint8_t > response)
Definition: usrp_lib.cpp:69
uint8_t alcmeter
Definition: usrp_lib.h:86
Definition: usrp_lib.h:67
uint8_t opmode
Definition: usrp_lib.h:88
uint16_t port
Definition: usrp_lib.h:72
uint8_t swrmeter
Definition: usrp_lib.h:85
int32_t usrp_get_bps9600mode(usrp_handle &handle)
uint8_t filtband
Definition: usrp_lib.h:76
int32_t usrp_get_squelch(usrp_handle &handle)
uint8_t mode
Definition: usrp_lib.h:77
uint8_t record
Definition: usrp_lib.h:69
uint8_t squelch
Definition: usrp_lib.h:81
int32_t usrp_set_channel(usrp_handle &handle, uint8_t channelnum)
int32_t usrp_get_smeter(usrp_handle &handle)
uint8_t rfgain
Definition: usrp_lib.h:80
int32_t usrp_set_record(usrp_handle &handle, uint8_t record)
Definition: usrp_lib.cpp:322
uint8_t freqband
Definition: usrp_lib.h:75
uint8_t channelnum
Definition: usrp_lib.h:70
int32_t usrp_check_address(usrp_handle &handle)
int32_t usrp_set_frequency(usrp_handle &handle, double frequency)
Definition: usrp_lib.cpp:226
int32_t usrp_get_freqband(usrp_handle &handle)
int32_t usrp_set_mode(usrp_handle &handle, uint8_t opmode)
int32_t usrp_set_freqband(usrp_handle &handle, uint8_t mode)
Definition: socketlib.h:115
Headers and definitions common to all COSMOS.
int32_t usrp_get_rfpower(usrp_handle &handle)
Socket Support header file.
socket_channel socket
Definition: usrp_lib.h:71
int32_t usrp_set_datamode(usrp_handle &handle, uint8_t mode)
uint8_t datamode
Definition: usrp_lib.h:78
int32_t usrp_set_squelch(usrp_handle &handle, uint8_t squelch)
int32_t usrp_send(usrp_handle &handle, std::string &data)
gige_handle * handle
Definition: kpc9612p_recv.cpp:33
float maxpower
Definition: usrp_lib.h:92
double frequency
Definition: usrp_lib.h:93
int32_t usrp_get_compmeter(usrp_handle &handle)
int32_t usrp_get_record(usrp_handle &handle)
Definition: usrp_lib.cpp:306
int32_t usrp_connect(string device, uint16_t port, usrp_handle &handle)
Definition: usrp_lib.cpp:33
stringlib include file A library providing functions for handling various types of string...
int32_t usrp_set_bandpass(usrp_handle &handle, double bandpass)
int32_t usrp_disconnect(usrp_handle &handle)
Definition: usrp_lib.cpp:49
int32_t usrp_get_frequency(usrp_handle &handle)
Definition: usrp_lib.cpp:148
int32_t usrp_get_rfmeter(usrp_handle &handle)
int32_t usrp_get_bandpass(usrp_handle &handle)
uint8_t compmeter
Definition: usrp_lib.h:87
float powerin
Definition: usrp_lib.h:90
int32_t usrp_set_rfpower(usrp_handle &handle, float power)
int32_t usrp_set_rfgain(usrp_handle &handle, uint8_t rfgain)
int32_t usrp_get_datamode(usrp_handle &handle)
int32_t usrp_set_bps9600mode(usrp_handle &handle, uint8_t mode)
int32_t usrp_get_rfgain(usrp_handle &handle)
vector< uint8_t > response
Definition: usrp_lib.h:74
float bandpass
Definition: usrp_lib.h:89
uint8_t rfpower
Definition: usrp_lib.h:82
int32_t usrp_get_mode(usrp_handle &handle)
uint8_t usrp_freq2band(double frequency)
Definition: usrp_lib.cpp:81
std::mutex mut
Definition: usrp_lib.h:73
static string device
Definition: ax25_recv.cpp:39
uint8_t bps9600mode
Definition: usrp_lib.h:79
int32_t usrp_get_swrmeter(usrp_handle &handle)
uint8_t rfmeter
Definition: usrp_lib.h:84
int32_t usrp_get_alcmeter(usrp_handle &handle)
float powerout
Definition: usrp_lib.h:91
uint8_t smeter
Definition: usrp_lib.h:83