38 #define _KISSTNCLIB_H 1 49 #define KISSTNC_MTU 254 50 #define KISSTNC_PAYLOAD_SIZE KISSTNC_MTU 53 #define KISSTNC_FULL_SIZE (KISSTNC_PAYLOAD_SIZE+19) 54 #define AX25_FLAG 0x7E 55 #define AX25_NOLAYER3 0xF0 58 #define KISSTNC_BAUD 19200 59 #define KISSTNC_BITS 8 60 #define KISSTNC_PARITY 0 61 #define KISSTNC_STOPBITS 1 74 char destination_address[7];
75 char source_address[7];
vector< string > part
Definition: cubesat2obj.cpp:5
uint16_t kisstnc_calc_fcs(uint8_t *data, uint16_t length)
Definition: kisstnc_lib.cpp:67
int32_t kisstnc_connect(char *dev, kisstnc_handle *handle, uint8_t flag)
Definition: kisstnc_lib.cpp:78
int32_t kisstnc_unloadframe(kisstnc_handle *handle, uint8_t *data, uint16_t size)
Definition: kisstnc_lib.cpp:177
int32_t kisstnc_sendframe(kisstnc_handle *handle)
Definition: kisstnc_lib.cpp:117
Definition: kisstnc_lib.h:88
Simple Serial library header file.
int32_t kisstnc_enterkiss(kisstnc_handle *handle)
Definition: kisstnc_lib.cpp:213
Definition: kisstnc_lib.h:63
int32_t kisstnc_recvframe(kisstnc_handle *handle)
Definition: kisstnc_lib.cpp:98
uint16_t size
Definition: kisstnc_lib.h:85
Headers and definitions common to all COSMOS.
uint8_t protocol_id
Definition: kisstnc_lib.h:77
#define KISSTNC_PAYLOAD_SIZE
Definition: kisstnc_lib.h:50
gige_handle * handle
Definition: kpc9612p_recv.cpp:33
uint8_t flag
Definition: kisstnc_lib.h:92
uint8_t control
Definition: kisstnc_lib.h:76
kisstnc_frame frame
Definition: kisstnc_lib.h:91
int32_t kisstnc_exitkiss(kisstnc_handle *handle)
Definition: kisstnc_lib.cpp:205
png_uint_32 length
Definition: png.c:2173
uint8_t flag
Definition: kisstnc_lib.h:73
#define KISSTNC_FULL_SIZE
Definition: kisstnc_lib.h:53
int32_t kisstnc_loadframe(kisstnc_handle *handle, uint8_t *data, uint16_t size)
Definition: kisstnc_lib.cpp:127
cssl_t * serial
Definition: kisstnc_lib.h:90
int32_t kisstnc_disconnect(kisstnc_handle *handle)
Definition: kisstnc_lib.cpp:90
Definition: cssl_lib.h:34