Macros | Functions
embedded_linux_comms.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <string.h>
#include <time.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <assert.h>
Include dependency graph for embedded_linux_comms.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFAULT_PORTNUM   11411
 
#define ROS_EMBEDDED_LINUX_COMMS_H
 

Functions

int elCommInit (const char *portName, int baud)
 
int elCommRead (int fd)
 
int elCommWrite (int fd, uint8_t *data, int len)
 
void error (const char *msg)
 
void set_nonblock (int socket)
 

Macro Definition Documentation

#define DEFAULT_PORTNUM   11411

Definition at line 37 of file embedded_linux_comms.c.

#define ROS_EMBEDDED_LINUX_COMMS_H

Definition at line 19 of file embedded_linux_comms.c.

Function Documentation

int elCommInit ( const char *  portName,
int  baud 
)

Definition at line 53 of file embedded_linux_comms.c.

int elCommRead ( int  fd)

Definition at line 156 of file embedded_linux_comms.c.

int elCommWrite ( int  fd,
uint8_t *  data,
int  len 
)

Definition at line 175 of file embedded_linux_comms.c.

void error ( const char *  msg)

Definition at line 39 of file embedded_linux_comms.c.

void set_nonblock ( int  socket)

Definition at line 45 of file embedded_linux_comms.c.



cob_hand_bridge
Author(s): Mathias Lüdtke
autogenerated on Tue Oct 20 2020 03:35:57