readme
来自「tinyos-2.0源代码!转载而已!要的尽管拿!」· 代码 · 共 22 行
TXT
22 行
README for tinyos-2.x/tos/lib/tossimThis directory contains the core code for the TOSSIM TinyOS simulator.One characteristic of TOSSIM is that it can controlled through aPython script. Building simple yet efficient support for this requires presenting most TOSSIM abstractions in a C++ interface, which is thentransformed into a Python interface with the SWIG tool.This leads most TOSSIM abstractions to have three levels: C, nesC, and C++. Because nesC cannot call C++ and vice versa, TOSSIM exportsits important call points as C functions. It links simple C++ wrapperclasses against the simulation binary. Python can then call throughthe C++ interface.The files tossim.h and tossim.c, for example, are the basic TOSSIMC++ classes of Mote, Tossim, and Variable. These call functions in sim_tossim.c, which other parts of TOSSIM also call.The examples/ directory contains some sample Python scripts.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?