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

📄 yysnmp.c

📁 此代码是实现将lwip协议移植于51单片机的测试程序
💻 C
字号:
#include <general.h>
//#include <snmp.h>
//#include <word.h>
//#include <ethernet.h>

//Global variable
extern xdata union netcard rxdnet;
extern xdata union netcard txdnet;
extern xdata union ethernet_address_type my_ethernet_address;		//本机的以太网地址
extern xdata union ethernet_address_type gateway_ethernet_address; //网关的以太网地址
extern xdata union ethernet_address_type ping_ethernet_address;	//用来ping的以太网地址

extern xdata union ip_address_type my_ip_address;		//本机的ip地址
extern xdata union ip_address_type gateway_ip_address;	//网关的ip地址
extern xdata union ip_address_type mask_ip_address;	//子网掩码
extern xdata union ip_address_type SNMP_ip_address;	//网管SNMP主机的ip地址
extern xdata union ip_address_type ping_ip_address;	//用于ping命令
extern xdata union ip_address_type temp_ip_address;	//临时变量

//BoardSelect Function
//void opBoardSel(uchar num);

//Port bit
//isin;linkok;txspeed;pow0;pow1;

//String Function
//void PrintChar(unsigned char ch);
//void PrintHEX(unsigned char ch);
//void PrintWord(unsigned int Word);
//void PrintLong(unsigned long LongWord);
//void PrintStr(unsigned char *str);

void snmpcycle()//SNMP主循环
{
}

void udp_recv()//UDP收包处理
{
}

⌨️ 快捷键说明

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