readme
来自「tinyos-2.x.rar」· 代码 · 共 22 行
TXT
22 行
README for tinyos-2.x/tos/lib/tossim
This directory contains the core code for the TOSSIM TinyOS simulator.
One characteristic of TOSSIM is that it can controlled through a
Python script. Building simple yet efficient support for this requires
presenting most TOSSIM abstractions in a C++ interface, which is then
transformed 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 exports
its important call points as C functions. It links simple C++ wrapper
classes against the simulation binary. Python can then call through
the C++ interface.
The files tossim.h and tossim.c, for example, are the basic TOSSIM
C++ 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 + -
显示快捷键?