whitefield
1.0.0
Whitefield通过将现实的PHY/MAC层仿真与天然模式使用流行的物联网堆栈/OS(例如contiki/riot/openthread/openthread/zephyr/zephyr/zephyr/freertos/ot-rtos),为传感器网络提供了模拟环境。因此,可以按原样使用现有的堆栈实现,并在现实的RF模拟之上进行测试。
Whitefield使用流行模拟器(例如NS3-LRWPAN/PLC)提供的PHY/MAC层,并与受欢迎的IoT Oot支持的约束网络堆栈松散地融合在一起,从而提供了两个世界中最好的。它提供了常见的可视化和OAM工具(日志,PCAP,Shell),可简化监视和故障排除。
Whitefield的典型用例:

术语:
航空公司:航空公司是指第三方模拟器(例如NS3/Castalia-omnet ++)提供的PHY/MAC/RDC实现。提供配置管理和OAM工具,可在任何第三方模拟器中使用。它与Commline接口将/RECV消息从stackline发送/RECV消息。
commline:消息队列和相应的接口,它们解开航空公司和堆栈线。所有消息,无论是使用Commline传输网络有效载荷还是OAM消息。
stackline:第三方物联网OS(例如contiki/riot)提供的6LOWPAN/网络层及以上协议堆栈。在此类OS中添加了一个新平台,以与Whitefield接口。将使用应用程序的协议堆栈来自这些OSS。
git clone https://github.com/whitefield-framework/whitefield
cd whitefield
./scripts/setup.sh #This may take a while...
make
git clone https://github.com/whitefield-framework/whitefield
cd whitefield
vagrant up # <- step takes time
vagrant ssh
git clone https://github.com/whitefield-framework/whitefield
cd whitefield
IMG=focal64 vagrant up # <- step takes time
IMG=focal64 vagrant ssh
执行说明:
$ cd whitefield
#Start Whitefield
$ ./invoke_whitefield.sh config/wf.cfg
#Monitor whitefield status
$ ./scripts/monitor.sh
#View live network toplogy open http://localhost:8080/ in a browser
$ ./canvas/canvas.py
#Whitefield shell
$ ./scripts/wfshell help
#Stop whitefield
$ ./scripts/wfshell stop_whitefield