COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
KPC-9612P 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 | kpc9612p_frame |
struct | kpc9612p_handle |
Macros | |
#define | KPC9612P_MTU 254 |
#define | KPC9612P_PAYLOAD_SIZE KPC9612P_MTU |
#define | KPC9612P_FULL_SIZE (KPC9612P_PAYLOAD_SIZE+19) |
#define | AX25_FLAG 0x7E |
#define | AX25_NOLAYER3 0xF0 |
#define | KPC9612P_ID 1 |
#define | KPC9612P_BAUD 19200 |
#define | KPC9612P_BITS 8 |
#define | KPC9612P_PARITY 0 |
#define | KPC9612P_STOPBITS 1 |
Functions | |
int32_t | kpc9612p_connect (char *dev, kpc9612p_handle *handle, uint8_t flag) |
int32_t | kpc9612p_disconnect (kpc9612p_handle *handle) |
int32_t | kpc9612p_recvframe (kpc9612p_handle *handle) |
int32_t | kpc9612p_sendframe (kpc9612p_handle *handle) |
int32_t | kpc9612p_loadframe (kpc9612p_handle *handle, uint8_t *data, uint16_t size) |
int32_t | kpc9612p_loadframe (kpc9612p_handle *handle, vector< uint8_t > data) |
int32_t | kpc9612p_unloadframe (kpc9612p_handle *handle, uint8_t *data, uint16_t size) |
int32_t | kpc9612p_unloadframe (kpc9612p_handle *handle, vector< uint8_t > &data) |
uint16_t | kpc9612p_calc_fcs (uint8_t *data, uint16_t length) |
int32_t | kpc9612p_exitkiss (kpc9612p_handle *handle) |
int32_t | kpc9612p_enterkiss (kpc9612p_handle *handle) |
int32_t | kpc9612p_entercmd (kpc9612p_handle *handle) |
KPC-9612P controller includes.
#define KPC9612P_MTU 254 |
#define KPC9612P_PAYLOAD_SIZE KPC9612P_MTU |
#define KPC9612P_FULL_SIZE (KPC9612P_PAYLOAD_SIZE+19) |
#define AX25_FLAG 0x7E |
#define AX25_NOLAYER3 0xF0 |
#define KPC9612P_ID 1 |
#define KPC9612P_BAUD 19200 |
#define KPC9612P_BITS 8 |
#define KPC9612P_PARITY 0 |
#define KPC9612P_STOPBITS 1 |
int32_t kpc9612p_connect | ( | char * | dev, |
kpc9612p_handle * | handle, | ||
uint8_t | flag | ||
) |
int32_t kpc9612p_disconnect | ( | kpc9612p_handle * | handle | ) |
int32_t kpc9612p_recvframe | ( | kpc9612p_handle * | handle | ) |
int32_t kpc9612p_sendframe | ( | kpc9612p_handle * | handle | ) |
int32_t kpc9612p_loadframe | ( | kpc9612p_handle * | handle, |
uint8_t * | data, | ||
uint16_t | size | ||
) |
int32_t kpc9612p_loadframe | ( | kpc9612p_handle * | handle, |
vector< uint8_t > | data | ||
) |
int32_t kpc9612p_unloadframe | ( | kpc9612p_handle * | handle, |
uint8_t * | data, | ||
uint16_t | size | ||
) |
int32_t kpc9612p_unloadframe | ( | kpc9612p_handle * | handle, |
vector< uint8_t > & | data | ||
) |
uint16_t kpc9612p_calc_fcs | ( | uint8_t * | data, |
uint16_t | length | ||
) |
int32_t kpc9612p_exitkiss | ( | kpc9612p_handle * | handle | ) |
int32_t kpc9612p_enterkiss | ( | kpc9612p_handle * | handle | ) |
int32_t kpc9612p_entercmd | ( | kpc9612p_handle * | handle | ) |