45 #define PACKETMAX 1024 52 KissHandle(
string dest_call=
"",
string sour_call=
"", uint8_t
port=0, uint8_t comm=0, uint8_t dest_stat=0x60, uint8_t sour_stat=0x61, uint8_t cont=0x03, uint8_t prot=0xf0);
70 int32_t
set_data(vector <uint8_t> input);
83 unsigned port_number : 4;
84 uint8_t destination_callsign[6];
85 uint8_t destination_stationID;
86 uint8_t source_callsign[6];
87 uint8_t source_stationID;
88 uint8_t control = 0x03;
89 uint8_t protocolID = 0xf0;
113 int kissDecode(uint8_t* kissed_input, uint32_t
count, uint8_t* unload_packetd_payload);
static string port
Definition: add_radio.cpp:16
void set_command(uint8_t C)
Definition: kisslib.cpp:57
int32_t error
Definition: kisslib.h:103
uint8_t get_port_number()
Definition: kisslib.cpp:52
COSMOS SLIP support include file.
int count
Definition: rw_test.cpp:36
void set_source_callsign(string source)
Definition: kisslib.cpp:106
friend std::ostream & operator<<(std::ostream &out, KissHandle &K)
Definition: kisslib.cpp:165
static string destination
Definition: ax25_recv.cpp:43
void set_source_stationID(uint8_t ID)
Definition: kisslib.cpp:132
void set_port_number(uint8_t P)
Definition: kisslib.cpp:46
void print_ascii(unsigned char *packet, unsigned int count)
uint8_t get_source_stationID()
Definition: kisslib.cpp:138
vector< uint8_t > get_slip_packet()
Definition: kisslib.cpp:311
Definition: pic_lib.h:128
KissHandle kissInspect(const unsigned char *input)
Definition: kisslib.cpp:316
uint8_t get_command()
Definition: kisslib.cpp:63
void print_hex(unsigned char *packet, unsigned int count)
int kissDecode(uint8_t *kissed_input, uint32_t count, uint8_t *unload_packetd_payload)
Definition: kisslib.cpp:391
packet_header header
Definition: kisslib.h:99
int32_t unload_packet()
Definition: kisslib.cpp:292
vector< uint8_t > data
Definition: kisslib.h:100
void set_protocolID(uint8_t protocol)
Definition: kisslib.cpp:154
int32_t set_slip_packet(vector< uint8_t > packet)
Definition: kisslib.cpp:270
void set_destination_callsign(string destination)
Definition: kisslib.cpp:69
Headers and definitions common to all COSMOS.
KissHandle(string dest_call="", string sour_call="", uint8_t port=0, uint8_t comm=0, uint8_t dest_stat=0x60, uint8_t sour_stat=0x61, uint8_t cont=0x03, uint8_t prot=0xf0)
Definition: kisslib.cpp:33
uint8_t data
Definition: kisslib.h:95
string command
Definition: add_radio.cpp:27
gige_handle * handle
Definition: kpc9612p_recv.cpp:33
string get_destination_callsign()
Definition: kisslib.cpp:85
int32_t set_data(vector< uint8_t > input)
Definition: kisslib.cpp:258
string get_source_callsign()
Definition: kisslib.cpp:122
int kissEncode(uint8_t *input, uint32_t count, uint8_t *packet)
Definition: kisslib.cpp:183
static string source
Definition: ax25_recv.cpp:42
uint8_t get_protocolID()
Definition: kisslib.cpp:160
vector< uint8_t > raw_packet
Definition: kisslib.h:101
vector< uint8_t > get_raw_packet()
Definition: kisslib.cpp:306
uint8_t get_destination_stationID()
Definition: kisslib.cpp:101
vector< uint8_t > get_data()
Definition: kisslib.cpp:276
int32_t set_raw_packet(vector< uint8_t > packet)
Definition: kisslib.cpp:264
vector< uint8_t > slip_packet
Definition: kisslib.h:102
packet_header header
Definition: kisslib.h:94
void set_control(uint8_t control_number)
Definition: kisslib.cpp:143
void set_destination_stationID(uint8_t ID)
Definition: kisslib.cpp:95
int32_t get_error()
Definition: kisslib.cpp:301
uint8_t get_control()
Definition: kisslib.cpp:149
int32_t load_packet()
Definition: kisslib.cpp:281