论文部分内容阅读
目前主流的网络仿真工具大都停留在对算法和网络协议的仿真.虽然它们具有良好的扩展性,但是仿真结果和强烈依赖于实际应用的传感器网络仍存在一定的距离.为了提高传感器网络仿真的完整性、逼真度和代码的可重用性,需要模拟实际运行的节点.因此,本文设计并实现了可以和网络仿真器共同运行的FreeRTOS模拟器.模拟器使用线程模拟任务,信号模拟硬件中断.此方法也同样适用于其它轻量级多任务OS模拟器的实现.
At present, most of the mainstream network simulation tools stay in the simulation of algorithms and network protocols.Although they have good scalability, the simulation results are still far from the sensor networks strongly dependent on the actual application.In order to improve the integrity of the sensor network simulation Therefore, we design and implement a FreeRTOS simulator which can work with the network simulator.The simulator uses the thread simulation task and the signal simulates the hardware interrupt. The same applies to other lightweight multitasking OS simulators.