Classes | Functions | Variables
command.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include "pigpio.h"
#include "command.h"
Include dependency graph for command.c:

Go to the source code of this file.

Classes

struct  errInfo_t

Functions

char * cmdErrStr (int error)
static int cmdMatch (char *str)
int cmdParse (char *buf, uint32_t *p, unsigned ext_len, char *ext, cmdCtlParse_t *ctl)
int cmdParseScript (char *script, cmdScript_t *s, int diags)
char * cmdStr (void)
static int getNum (char *str, uint32_t *val, int8_t *opt)

Variables

cmdInfo_t cmdInfo []
char * cmdUsage
static errInfo_t errInfo []
static char * fmtMdeStr = "RW540123"
static char * fmtPudStr = "ODU"
static char intCmdStr [32]

Function Documentation

char* cmdErrStr ( int  error)

Definition at line 1248 of file command.c.

static int cmdMatch ( char *  str) [static]

Definition at line 572 of file command.c.

int cmdParse ( char *  buf,
uint32_t *  p,
unsigned  ext_len,
char *  ext,
cmdCtlParse_t ctl 
)

Definition at line 629 of file command.c.

int cmdParseScript ( char *  script,
cmdScript_t s,
int  diags 
)

Definition at line 1259 of file command.c.

char* cmdStr ( void  )

Definition at line 624 of file command.c.

static int getNum ( char *  str,
uint32_t *  val,
int8_t *  opt 
) [static]

Definition at line 583 of file command.c.


Variable Documentation

Definition at line 41 of file command.c.

char* cmdUsage

Definition at line 264 of file command.c.

errInfo_t errInfo[] [static]

Definition at line 420 of file command.c.

char* fmtMdeStr = "RW540123" [static]

Definition at line 569 of file command.c.

char* fmtPudStr = "ODU" [static]

Definition at line 570 of file command.c.

char intCmdStr[32] [static]

Definition at line 622 of file command.c.



cob_hand_bridge
Author(s): Mathias Lüdtke
autogenerated on Thu Jun 6 2019 20:43:57