37 #define IC9100_BAUD 19200 39 #define IC9100_PARITY 0 40 #define IC9100_STOPBITS 1 42 #define IC9100_CHANNEL_A 0 43 #define IC9100_CHANNEL_B 1 44 #define IC9100_CHANNEL_SWAP 2 46 #define IC9100_DATAMODE_OFF 0 47 #define IC9100_DATAMODE_ON 1 49 #define IC9100_9600MODE_OFF 0 50 #define IC9100_9600MODE_ON 1 52 #define IC9100_MODE_LSB 0 53 #define IC9100_MODE_USB 1 54 #define IC9100_MODE_AM 2 55 #define IC9100_MODE_CW 3 56 #define IC9100_MODE_RTTY 4 57 #define IC9100_MODE_FM 5 58 #define IC9100_MODE_CWR 7 59 #define IC9100_MODE_RTTYR 8 60 #define IC9100_MODE_DV 17 62 #define IC9100_FILTER_1 1 63 #define IC9100_FILTER_2 2 64 #define IC9100_FILTER_3 3 134 #endif // IC9100_LIB_H float powerout
Definition: ic9100_lib.h:89
int32_t ic9100_get_rfgain(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1123
vector< uint8_t > response
Definition: ic9100_lib.h:72
int32_t ic9100_get_freqband(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1368
uint8_t rfpower
Definition: ic9100_lib.h:80
int32_t ic9100_write(ic9100_handle &handle, uint8_t command)
Definition: ic9100_lib.cpp:88
int32_t ic9100_set_rfpower(ic9100_handle &handle, float power)
Definition: ic9100_lib.cpp:687
uint8_t rfgain
Definition: ic9100_lib.h:78
int32_t ic9100_get_datamode(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1483
Definition: serialclass.h:43
int32_t ic9100_set_squelch(ic9100_handle &handle, uint8_t squelch)
Definition: ic9100_lib.cpp:653
int32_t ic9100_set_bps9600mode(ic9100_handle &handle, uint8_t mode)
Definition: ic9100_lib.cpp:1390
std::mutex mut
Definition: ic9100_lib.h:71
uint8_t datamode
Definition: ic9100_lib.h:76
float maxpower
Definition: ic9100_lib.h:90
uint8_t opmode
Definition: ic9100_lib.h:86
int32_t ic9100_get_smeter(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1202
int32_t ic9100_get_rfpower(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1162
uint8_t freqband
Definition: ic9100_lib.h:73
int32_t ic9100_set_frequency(ic9100_handle &handle, double frequency)
Definition: ic9100_lib.cpp:868
int32_t ic9100_disconnect(ic9100_handle &handle)
Definition: ic9100_lib.cpp:52
float powerin
Definition: ic9100_lib.h:88
uint8_t message[300]
Definition: kpc9612p_send.cpp:36
Headers and definitions common to all COSMOS.
Serial * serial
Definition: ic9100_lib.h:70
int32_t ic9100_get_compmeter(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1321
int32_t ic9100_set_rfgain(ic9100_handle &handle, uint8_t rfgain)
Definition: ic9100_lib.cpp:619
int32_t ic9100_get_bandpass(ic9100_handle &handle)
Definition: ic9100_lib.cpp:510
int32_t ic9100_set_channel(ic9100_handle &handle, uint8_t channelnum)
Definition: ic9100_lib.cpp:1089
string command
Definition: add_radio.cpp:27
int32_t ic9100_set_datamode(ic9100_handle &handle, uint8_t mode)
Definition: ic9100_lib.cpp:1434
gige_handle * handle
Definition: kpc9612p_recv.cpp:33
int32_t ic9100_write_header(ic9100_handle &handle)
Definition: ic9100_lib.cpp:60
uint8_t address
Definition: ic9100_lib.h:68
uint8_t ic9100_freq2band(double frequency)
Definition: ic9100_lib.cpp:295
uint8_t bps9600mode
Definition: ic9100_lib.h:77
int32_t ic9100_get_squelch(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1143
int32_t ic9100_connect(string device, uint8_t address, ic9100_handle &handle)
Definition: ic9100_lib.cpp:33
uint8_t rfmeter
Definition: ic9100_lib.h:82
Definition: ic9100_lib.h:66
uint8_t swrmeter
Definition: ic9100_lib.h:83
uint8_t alcmeter
Definition: ic9100_lib.h:84
uint8_t channelnum
Definition: ic9100_lib.h:69
float bandpass
Definition: ic9100_lib.h:87
int32_t ic9100_get_mode(ic9100_handle &handle)
Definition: ic9100_lib.cpp:810
int32_t ic9100_get_rfmeter(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1243
int32_t ic9100_get_repeater_squelch(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1551
int32_t ic9100_get_swrmeter(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1291
int32_t ic9100_set_bandpass(ic9100_handle &handle, double bandpass)
Definition: ic9100_lib.cpp:362
uint8_t squelch
Definition: ic9100_lib.h:79
int32_t ic9100_get_alcmeter(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1306
int32_t ic9100_set_freqband(ic9100_handle &handle, uint8_t mode)
Definition: ic9100_lib.cpp:1336
int32_t ic9100_set_mode(ic9100_handle &handle, uint8_t opmode)
Definition: ic9100_lib.cpp:974
double frequency
Definition: ic9100_lib.h:92
uint8_t compmeter
Definition: ic9100_lib.h:85
uint8_t ic9100_byte(vector< uint8_t > response)
Definition: ic9100_lib.cpp:283
float repeater_squelch
Definition: ic9100_lib.h:91
int32_t ic9100_check_address(ic9100_handle &handle)
Definition: ic9100_lib.cpp:760
uint8_t mode
Definition: ic9100_lib.h:75
uint8_t filtband
Definition: ic9100_lib.h:74
uint8_t smeter
Definition: ic9100_lib.h:81
int32_t ic9100_get_frequency(ic9100_handle &handle)
Definition: ic9100_lib.cpp:778
static string device
Definition: ax25_recv.cpp:39
int32_t ic9100_set_repeater_squelch(ic9100_handle &handle, float frequency)
Definition: ic9100_lib.cpp:1499
int32_t ic9100_get_bps9600mode(ic9100_handle &handle)
Definition: ic9100_lib.cpp:1418