![]() |
COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
KISSTNC controller includes. More...
#include "support/configCosmos.h"#include <stdio.h>#include <errno.h>#include "device/general/cssl_lib.h"#include "support/cosmos-errno.h"Go to the source code of this file.
Classes | |
| struct | kisstnc_frame |
| struct | kisstnc_handle |
Macros | |
| #define | KISSTNC_MTU 254 |
| #define | KISSTNC_PAYLOAD_SIZE KISSTNC_MTU |
| #define | KISSTNC_FULL_SIZE (KISSTNC_PAYLOAD_SIZE+19) |
| #define | AX25_FLAG 0x7E |
| #define | AX25_NOLAYER3 0xF0 |
| #define | KISSTNC_ID 1 |
| #define | KISSTNC_BAUD 19200 |
| #define | KISSTNC_BITS 8 |
| #define | KISSTNC_PARITY 0 |
| #define | KISSTNC_STOPBITS 1 |
Functions | |
| int32_t | kisstnc_connect (char *dev, kisstnc_handle *handle, uint8_t flag) |
| int32_t | kisstnc_disconnect (kisstnc_handle *handle) |
| int32_t | kisstnc_recvframe (kisstnc_handle *handle) |
| int32_t | kisstnc_sendframe (kisstnc_handle *handle) |
| int32_t | kisstnc_loadframe (kisstnc_handle *handle, uint8_t *data, uint16_t size) |
| int32_t | kisstnc_loadframe (kisstnc_handle *handle, vector< uint8_t > data) |
| int32_t | kisstnc_unloadframe (kisstnc_handle *handle, uint8_t *data, uint16_t size) |
| int32_t | kisstnc_unloadframe (kisstnc_handle *handle, vector< uint8_t > &data) |
| uint16_t | kisstnc_calc_fcs (uint8_t *data, uint16_t length) |
| int32_t | kisstnc_exitkiss (kisstnc_handle *handle) |
| int32_t | kisstnc_enterkiss (kisstnc_handle *handle) |
KISSTNC controller includes.
| #define KISSTNC_MTU 254 |
| #define KISSTNC_PAYLOAD_SIZE KISSTNC_MTU |
| #define KISSTNC_FULL_SIZE (KISSTNC_PAYLOAD_SIZE+19) |
| #define AX25_FLAG 0x7E |
| #define AX25_NOLAYER3 0xF0 |
| #define KISSTNC_ID 1 |
| #define KISSTNC_BAUD 19200 |
| #define KISSTNC_BITS 8 |
| #define KISSTNC_PARITY 0 |
| #define KISSTNC_STOPBITS 1 |
| int32_t kisstnc_connect | ( | char * | dev, |
| kisstnc_handle * | handle, | ||
| uint8_t | flag | ||
| ) |
| int32_t kisstnc_disconnect | ( | kisstnc_handle * | handle | ) |
| int32_t kisstnc_recvframe | ( | kisstnc_handle * | handle | ) |
| int32_t kisstnc_sendframe | ( | kisstnc_handle * | handle | ) |
| int32_t kisstnc_loadframe | ( | kisstnc_handle * | handle, |
| uint8_t * | data, | ||
| uint16_t | size | ||
| ) |
| int32_t kisstnc_loadframe | ( | kisstnc_handle * | handle, |
| vector< uint8_t > | data | ||
| ) |
| int32_t kisstnc_unloadframe | ( | kisstnc_handle * | handle, |
| uint8_t * | data, | ||
| uint16_t | size | ||
| ) |
| int32_t kisstnc_unloadframe | ( | kisstnc_handle * | handle, |
| vector< uint8_t > & | data | ||
| ) |
| uint16_t kisstnc_calc_fcs | ( | uint8_t * | data, |
| uint16_t | length | ||
| ) |
| int32_t kisstnc_exitkiss | ( | kisstnc_handle * | handle | ) |
| int32_t kisstnc_enterkiss | ( | kisstnc_handle * | handle | ) |