摘要
为了使工控设备直接接入Internet,并使网络通信实时性提高,同时保证可靠性又节省系统资源,分析轻量级嵌入式TCP/IP协议栈与标准TCP/IP协议栈的不同,对LwIP的应用程序接口进行详细的分析并作出相应的选择,对tcpip_input()函数的特殊作用做了进一步的解释,并介绍LwIP的整体结构。最后以PHILIPS公司生产的LPC2200作为硬件开发平台,以μC/OS-II实时操作系统作为软件平台,成功移植了经过适当裁剪和API选择后的轻量级TCP/IP协议栈。网络通信应用测试表明通信速度比较快,通信可靠性也比较高。
In order to let the industry control equipments connect with Internet directly and improve the real time character of the control of Internet, assure its reliability and save the resources of system at the same time, in the article it analysed the differences between Light_weight embedded TCP/IP protocol stack and standard TCP/IP protocol stack at first, then made a detailed analyses about the Application Programming Interfaces of LwIP and choose the appropriate LwIP API. The special effect of tcpipjnput ( ) function was further explained and the whole framework of LwIP was introduced. At last, the Light_weight TCP/IP protocol stack had been ported successfully after cutting out properly and API chosen on the hardware platform with the PHILIPS LPC2200 and RTLS019AS core and the software platform with μC/OS-Ⅱ. The speed of the communication is rather fast and the reliability is also very high as being proved by the test of Internet communication.
出处
《计算机应用与软件》
CSCD
2009年第8期90-92,共3页
Computer Applications and Software
基金
山东省中青年科学家科研奖励基金项目(2007BS02022)
关键词
嵌入式操作系统
移植
轻量级
协议
Embedded operation system Porting Light weight TCP/IP