Classes | Typedefs | Functions
ypprotocol.h File Reference
#include <stdio.h>
#include <string.h>
Include dependency graph for ypprotocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PARAMETER_INFO
 
struct  VERSION_INFO
 

Typedefs

typedef struct PARAMETER_INFO Param_t
 
typedef struct VERSION_INFO Ver_t
 

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)
 

Typedef Documentation

typedef struct PARAMETER_INFO Param_t

Structure of PP command

typedef struct VERSION_INFO Ver_t

Structure of VV command

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.



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