⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pmppstruct.h

📁 基于单片机的 snmp协议解析的一些原代码 给有用的 同行
💻 H
字号:
#ifndef PMPP_STRUCT_H
#define PMPP_STRUCT_H
const long PMPP_STRUCT_SIZE=1500;

typedef struct pmppStruct {
	/**# :[Description = "The PMPP or PPP Byte stream from 7e to 7e.  Note:  the size is based on the maximum of 515 for the info field, plus 4 for an address of 7e 7e plus 4 for a CRC of 7e7e plus some."] */
	char Buffer [1500];
	/**# :[Description = "A list of pointers which point to the 7 fields of a PMPP data structure."] */
	short pointers [7];
	struct pmppStruct* Next;
} struct2;

typedef struct pmppAsciiStruct {
   	unsigned char 	Address [5];
   	unsigned char	AddressLength[5];
   	unsigned char  Control[3];
   	unsigned char	Ipi[5];
   	unsigned char	IpiLength[5];
	unsigned char 	Pdu [1025];
   	unsigned char	PduLength[5];
   	unsigned char  Crc[5];
} struct4;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -