![]() |
COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
MIXWTNC 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 | mixwtnc_frame |
| struct | mixwtnc_handle |
Macros | |
| #define | MIXWTNC_MTU 254 |
| #define | MIXWTNC_PAYLOAD_SIZE MIXWTNC_MTU |
| #define | MIXWTNC_FULL_SIZE (MIXWTNC_PAYLOAD_SIZE+19) |
| #define | AX25_FLAG 0x7E |
| #define | AX25_NOLAYER3 0xF0 |
| #define | MIXWTNC_ID 1 |
| #define | MIXWTNC_BAUD 19200 |
| #define | MIXWTNC_BITS 8 |
| #define | MIXWTNC_PARITY 0 |
| #define | MIXWTNC_STOPBITS 1 |
Functions | |
| int32_t | mixwtnc_connect (char *dev, mixwtnc_handle *handle, uint8_t flag) |
| int32_t | mixwtnc_disconnect (mixwtnc_handle *handle) |
| int32_t | mixwtnc_recvframe (mixwtnc_handle *handle) |
| int32_t | mixwtnc_sendframe (mixwtnc_handle *handle) |
| int32_t | mixwtnc_loadframe (mixwtnc_handle *handle, uint8_t *data, uint16_t size) |
| int32_t | mixwtnc_loadframe (mixwtnc_handle *handle, vector< uint8_t > data) |
| int32_t | mixwtnc_unloadframe (mixwtnc_handle *handle, uint8_t *data, uint16_t size) |
| int32_t | mixwtnc_unloadframe (mixwtnc_handle *handle, vector< uint8_t > &data) |
| int32_t | mixwtnc_unloadframe (mixwtnc_frame *frame, vector< uint8_t > &data) |
| uint16_t | mixwtnc_calc_fcs (uint8_t *data, uint16_t length) |
| int32_t | mixwtnc_exitkiss (mixwtnc_handle *handle) |
| int32_t | mixwtnc_enterkiss (mixwtnc_handle *handle) |
MIXWTNC controller includes.
| #define MIXWTNC_MTU 254 |
| #define MIXWTNC_PAYLOAD_SIZE MIXWTNC_MTU |
| #define MIXWTNC_FULL_SIZE (MIXWTNC_PAYLOAD_SIZE+19) |
| #define AX25_FLAG 0x7E |
| #define AX25_NOLAYER3 0xF0 |
| #define MIXWTNC_ID 1 |
| #define MIXWTNC_BAUD 19200 |
| #define MIXWTNC_BITS 8 |
| #define MIXWTNC_PARITY 0 |
| #define MIXWTNC_STOPBITS 1 |
| int32_t mixwtnc_connect | ( | char * | dev, |
| mixwtnc_handle * | handle, | ||
| uint8_t | flag | ||
| ) |
| int32_t mixwtnc_disconnect | ( | mixwtnc_handle * | handle | ) |
| int32_t mixwtnc_recvframe | ( | mixwtnc_handle * | handle | ) |
| int32_t mixwtnc_sendframe | ( | mixwtnc_handle * | handle | ) |
| int32_t mixwtnc_loadframe | ( | mixwtnc_handle * | handle, |
| uint8_t * | data, | ||
| uint16_t | size | ||
| ) |
| int32_t mixwtnc_loadframe | ( | mixwtnc_handle * | handle, |
| vector< uint8_t > | data | ||
| ) |
| int32_t mixwtnc_unloadframe | ( | mixwtnc_handle * | handle, |
| uint8_t * | data, | ||
| uint16_t | size | ||
| ) |
| int32_t mixwtnc_unloadframe | ( | mixwtnc_handle * | handle, |
| vector< uint8_t > & | data | ||
| ) |
| int32_t mixwtnc_unloadframe | ( | mixwtnc_frame * | frame, |
| vector< uint8_t > & | data | ||
| ) |
| uint16_t mixwtnc_calc_fcs | ( | uint8_t * | data, |
| uint16_t | length | ||
| ) |
| int32_t mixwtnc_exitkiss | ( | mixwtnc_handle * | handle | ) |
| int32_t mixwtnc_enterkiss | ( | mixwtnc_handle * | handle | ) |