帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

基于LwIP的μC/OS-Ⅱ网络应用程序设计方法
METHOD OF NETWORK APPLICATION PROGRAMMING IN μC/OS-Ⅱ BASED ON LwIP

作  者: ; ; ;

机构地区: 南通大学计算机科学与技术学院

出  处: 《计算机应用与软件》 2010年第4期271-273,共3页

摘  要: 针对嵌入式TCP/IP协议栈LwIP的三种应用程序设计接口,介绍了基于LwIP的μC/OS-Ⅱ网络应用程序设计的三种方法,并分析指出了各种方法的优缺点。其中,较详细地给出了基于LwIPAPI的μC/OS-Ⅱ网络应用程序设计方法,该方法利用LwIPAPI和μC/OS-Ⅱ的任务切换和调度机制,实现了LwIP进程和μC/OS-Ⅱ任务间的通信,提出了基于LwIPAPI的μC/OS-Ⅱ应用程序设计的基本框架;实验结果表明,该方法是可行的,并给出了实现HTTP协议的基本方法。 Three methods of network application programming in μC/OS-Ⅱ based on LwIP is introduced according to three interfaces of application programming in embedded TCP/IP protocol stack LwIP,and their advantages and shortages are pointed out.Specifically,the method of network application programming in μC/OS-Ⅱ based on LwIP API is given in detail.The method makes use of LwIP API and the mechanism of tasks switching and scheduling in μC/OS-Ⅱ,has realized the communication between the processes of LwIP and the tasks of μC/OSⅡ,and presents the basic framework of application programming in μC/OS-Ⅱ based on LwIP API.Experiments show that the method is feasible,and the basic method of realizing HTTP protocol is given as well.

关 键 词: 嵌入式系统 实时操作系统 网络 协议栈 应用程序设计

领  域: [自动化与计算机技术] [自动化与计算机技术]

相关作者

相关机构对象

机构 华南师范大学教育信息技术学院电化教育系

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 周国林
作者 邢弘昊