readraw.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "sportident.h"

Go to the source code of this file.

Functions

int ReadRaw (const si_station *station, unsigned char *buffer, int len)
 This reads to the station the exact data you send it.

Detailed Description

Author:
Dylan (smellyfis) Thies <dylan.thies@lostorienteerer.net>
Version:
0.0.1

LICENSE

This Program/Library is open source software; you may redistribute and/or modify it as long as the resulting program/library is under a FOSS license or with the approval of the authors or owning group

This Program is distributed in hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

DESCRIPTION

This is a file is the implemention of the function to read directly to the device

Definition in file readraw.c.


Function Documentation

int ReadRaw ( const si_station station,
unsigned char *  buffer,
int  len 
)

This reads to the station the exact data you send it.

this is a wrapper for read.

Parameters:
station the device to read from
buffer the buffer to be read from device
len length of buffer to read
Returns:
number of bytes read.
Todo:
make sure legacy mode remove delimeters

Definition at line 35 of file readraw.c.

All Data Structures Files Functions Variables Enumerations Defines
Generated on Sat May 22 20:28:32 2010 for LibSportIdent by  doxygen 1.6.3