Functions | Variables

test.cpp File Reference

#include <stdint.h>
#include <err.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <stdio.h>
#include <string.h>
#include "WProgram.h"
#include "../APM_BinComm.h"
Include dependency graph for test.cpp:

Go to the source code of this file.

Functions

BinComm comm (handlers,&port)
unsigned int millis (void)
int main (int argc, char *argv[])

Variables

BinComm::MessageHandler handlers []
Stream port
int port_fd

Function Documentation

BinComm comm ( handlers  ,
port 
)
int main ( int  argc,
char *  argv[] 
)

Definition at line 94 of file test.cpp.

unsigned int millis ( void   ) 

Definition at line 30 of file test.cpp.


Variable Documentation

Initial value:
 {
        {BinComm::MSG_ANY,       handler,        NULL},
        {BinComm::MSG_NULL,      0,              0}
}

Definition at line 19 of file test.cpp.

Definition at line 24 of file test.cpp.

int port_fd

Definition at line 27 of file test.cpp.