#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include "pigpio.h"
#include "command.h"
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] |
int cmdParse | ( | char * | buf, |
uint32_t * | p, | ||
unsigned | ext_len, | ||
char * | ext, | ||
cmdCtlParse_t * | ctl | ||
) |
int cmdParseScript | ( | char * | script, |
cmdScript_t * | s, | ||
int | diags | ||
) |
static int getNum | ( | char * | str, |
uint32_t * | val, | ||
int8_t * | opt | ||
) | [static] |