COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
#include "support/configCosmos.h"
#include "device/arduino/arduino_lib.h"
#include "device/general/cssl_lib.h"
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <cstring>
Functions | |
int | arduino_init (char *port, int baud) |
int | arduino_printstring (char *str) |
int | arduino_printnum (int num) |
int | arduino_delay (int delay) |
char * | arduino_setport (char *port) |
int | arduino_setbaud (int baud) |
char * | arduino_read (char *str) |
int | arduino_closeport () |
int | serialport_writebyte (int fd, uint8_t b) |
int | serialport_write (int fd, const char *str) |
int | serialport_read_until (int fd, char *buf, char until) |
int | serialport_init (const char *serialport, int baud) |
Variables | |
char | serialport [256] |
int | baudrate = 9600 |
int | fd = 0 |
char | buf [256] |
cssl_t * | serial |
int arduino_init | ( | char * | port, |
int | baud | ||
) |
int arduino_printstring | ( | char * | str | ) |
int arduino_printnum | ( | int | num | ) |
int arduino_delay | ( | int | delay | ) |
char* arduino_setport | ( | char * | port | ) |
int arduino_setbaud | ( | int | baud | ) |
char* arduino_read | ( | char * | str | ) |
int arduino_closeport | ( | ) |
int serialport_writebyte | ( | int | fd, |
uint8_t | b | ||
) |
int serialport_write | ( | int | fd, |
const char * | str | ||
) |
int serialport_read_until | ( | int | fd, |
char * | buf, | ||
char | until | ||
) |
int serialport_init | ( | const char * | serialport, |
int | baud | ||
) |
char serialport[256] |
int baudrate = 9600 |
int fd = 0 |
char buf[256] |
cssl_t* serial |