Embedded Wireless Framework
Macros | Functions | Variables
ewf_interface_linux_serial.c File Reference

The Embedded Wireless Framework linux interface implementation. More...

#include "ewf_interface.h"
#include <stdarg.h>
#include <ctype.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#include <sys/signal.h>
#include <sys/ioctl.h>
#include "ewf_lib.h"

Macros

#define MODEMDEVICE   "/dev/ttyUSB0"
 
#define EWF_SERIAL_RX_THREAD_STACK_SIZE   (2048)
 

Functions

void signal_handler_IO (int status)
 
ewf_result ewf_interface_hardware_start ()
 
ewf_result ewf_interface_hardware_stop ()
 
ewf_result ewf_interface_hardware_send (const uint8_t *const buffer, uint32_t length)
 

Variables

int fd
 
struct termios port_settings
 
struct sigaction serial_irq
 

Detailed Description

The Embedded Wireless Framework linux interface implementation.

Version
Preview