Macros | Functions
ypprotocol.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <communication.h>
#include <ypprotocol.h>
#include <serial.h>
#include <utility.h>
#include <yprintf.h>
Include dependency graph for ypprotocol.c:

Go to the source code of this file.

Macros

#define RECEIVE_BUFFER_SIZE   2048
 

Functions

int get_embedded_param (char *param)
 
int get_parameter (Param_t *apParam)
 Get version info. More...
 
int get_version (Ver_t *apVer)
 Get version info. More...
 
int set_baudrate (int baud)
 
int ss_receive (char *buf, int len, double receive_time, void *data)
 
int vv_receive (char *buf, int len, double receive_time, void *data)
 

Macro Definition Documentation

#define RECEIVE_BUFFER_SIZE   2048

Definition at line 40 of file ypprotocol.c.

Function Documentation

int get_embedded_param ( char *  param)

Definition at line 248 of file ypprotocol.c.

int get_parameter ( Param_t apParam)

Get version info.

Parameters
*apVerPointer to version structure
Returns
failed: 0, succeeded: 1

Definition at line 186 of file ypprotocol.c.

int get_version ( Ver_t apVer)

Get version info.

Parameters
*apVerPointer to version structure
Returns
failed: 0, succeeded: 1

Definition at line 111 of file ypprotocol.c.

int set_baudrate ( int  baud)

Definition at line 57 of file ypprotocol.c.

int ss_receive ( char *  buf,
int  len,
double  receive_time,
void *  data 
)

Definition at line 42 of file ypprotocol.c.

int vv_receive ( char *  buf,
int  len,
double  receive_time,
void *  data 
)

Definition at line 91 of file ypprotocol.c.



yp-spur
Author(s):
autogenerated on Sat May 11 2019 02:08:24