?? atcmd.h
字號:
#if 0#include "defs.h" /*->atcmd.h (uchar)*/#endiftypedef enum { ATDA_NUM, ATDA_STR} AtdAType;typedef enum { ATDP_NUL, ATDP_NUM, ATDP_STR} AtdPType;#define ADDR_MAX 63#define PORT_MAX 63#define PT_MAX 40#define SREG_MAX 12typedef struct { struct { struct { char str[ADDR_MAX+1]; AtdAType type; } addr; struct { char str[PORT_MAX+1]; AtdPType type; } port; } d; int f; uchar s[SREG_MAX+1]; int pb[2]; int pd; int pl; int pr; struct { char str[PT_MAX+1]; int len; int wont; } pt; int pv;} Atcmd;Atcmd atcmd, atcmdNV;#define CHAR_ESC (atcmd.s[2])#define CHAR_CR (atcmd.s[3])#define CHAR_LF (atcmd.s[4])#define CHAR_BS (atcmd.s[5])voidatcmdInit(void);voidatcmdD(const char *s, AtdAType at, AtdPType pt);intatcmdFake(const char *s, const char *vals);intatcmdH(const char *s);intatcmdI(const char *s);intatcmdSQuery(const char *s);intatcmdSSet(const char *s);voidatcmdZ(void);voidatcmdAW(void);intatcmdPB(const char *s);intatcmdPD(const char *s);intatcmdPL(const char *s);voidatcmdPQ(void);intatcmdPR(const char *s);intatcmdPT(const char *s);intatcmdPTSet(const char *s);intatcmdPV(const char *s);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -