Artemis Teensy Flight Software
The software on the Teensy in the Artemis cubesat.
|
Support functions for COSMOS SLIP encoding. More...
Functions | |
int32_t | slip_unpack (uint8_t *sbuf, uint16_t ssize, uint8_t *rbuf, uint16_t rsize) |
Unpack SLIP packet. More... | |
int32_t | slip_unpack (vector< uint8_t > &sbuf, vector< uint8_t > &rbuf) |
int32_t | slip_decode (uint8_t *sbuf, uint16_t ssize, uint8_t *rbuf, uint16_t rsize) |
Decode SLIP packet. More... | |
int32_t | slip_decode (vector< uint8_t > &sbuf, vector< uint8_t > &rbuf) |
int32_t | slip_encode (uint8_t *rbuf, uint16_t rsize, uint8_t *sbuf, uint16_t ssize) |
Encode data in to SLIP packet. More... | |
int32_t | slip_encode (vector< uint8_t > &rbuf, vector< uint8_t > &sbuf) |
int32_t | slip_pack (uint8_t *rbuf, uint16_t rsize, uint8_t *sbuf, uint16_t ssize) |
Pack data in to SLIP packet. More... | |
int32_t | slip_pack (vector< uint8_t > &rbuf, vector< uint8_t > &sbuf) |
int32_t | slip_extract (FILE *fp, vector< uint8_t > &rbuf) |
uint16_t | slip_calc_crc (uint8_t *buf, uint16_t size) |
Calculate CRC-16-CCITT. More... | |
uint16_t | slip_calc_crc (vector< uint8_t > &buf) |
Support functions for COSMOS SLIP encoding.