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提供的6LOWPAN/網絡層及以上協議堆棧,例如Contiki/Riot。在此類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