#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "sportident.h"
Go to the source code of this file.
Functions | |
int | WriteRaw (const si_station *station, unsigned char *buffer, int len) |
This writes to the station the exact data you send it. |
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
This is a file is the implemention of the function to write directly to the device
Definition in file writeraw.c.
int WriteRaw | ( | const si_station * | station, | |
unsigned char * | buffer, | |||
int | len | |||
) |
This writes to the station the exact data you send it.
it prepends '0xff 0x02 0x02' and appends the crc and '0x03' must
station | the device to write to | |
buffer | the buffer to be written to device | |
len | length of buffer to write |
Definition at line 36 of file writeraw.c.