当前位置:网站首页>使用EFR32作为Zigbee/Thread的sniffer的用法
使用EFR32作为Zigbee/Thread的sniffer的用法
2022-07-30 04:10:00 【Eagle115】
使用EFR32作为Zigbee/Thread的sniffer的用法
Silicon labs的EFR32通过烧录railtest程序,并执行一些CLI命令可以让EFR32作为sniffer使用。
sniffer相关的CLI命令:
- status:显示Railtest当当的工作状态
- rx 0:让无线电进入空闲状态,railtest在空闲状态才可以改变频率设置。
- config2p4GHz802154:将railtest配置为802.15.4 的物理层
- setBleMode 1:将railtest配置为Bluetooth LE的物理层
- enable802154 rx 100 192 864:使能802.15.4 接受模式
- setPtiProtocol 5:为Network Analyzer设置PTI的协议模式,0=Custom 2=Thread 3=BLE 4=Connect 5=Zigbee 6=Z-Wave
- setPromiscuousMode 1:让无线电进入混杂模式,sniffer需要无线电工作在混杂模式
- setChannel 11:设置无线电的通道,2.4Ghz的802.15.4的通道号为11-26
- setnotifications 0:sniffer消息在CLI上不显示
- rx 1:让无线电进入接收模式
railtest脚本模式:
RAILtest 中内置的命令脚本功能允许railtest程序自动执行 CLI 命令,而无需在命令行上进行来回设置。 可以将要执行的命令在 RAILtest 中排队,在railtest上电重启后依次执行。 命令脚本可以保存到flash(NVM3),任何保存的脚本都会在设备启动时自动运行。
要让railtest支持命令脚本模式,在建立railtest的项目时,需要安装"CLI Storage in NVM3"组件。
Zigbee sniffer的Script:
enterscript 1
status
rx 0
config2p4GHz802154
enable802154 rx 100 192 864
setPtiProtocol 5
setPromiscuousMode 1
setChannel 11
setnotifications 0
rx 1
endscript
Network Analyzer的使用:
- 在Simplicity studio中选择Window >Preferences>Network Analyzer >Decoding > Stack Versions,将Network Analyzer设置为解码正确的协议。然后启动Network Analyzer。
- Network Analyzer->Decoding->安全Security Keys,然后添加Network Key
- 在Simplicity studio上运行Network Analyzer可以启动sniffer。Network Analyzer上方的文本框可用于过滤消息。右键单击想要过滤的数据包,然后单击“Show only summary: Many……”,然后将条件从“ ==“改为“!=”。
CSDN博客仅作为本人工作学习之余的笔记使用,无任何商业目的,如果侵犯了你的隐私或权益,请随时联系作者,本人将及时删除相关内容
边栏推荐
- 数组和结构体
- 一起来学习flutter 的布局组件
- Taobao H5 interface to obtain app data 6.0 format
- 运行时间监控:如何确保网络设备运行时间
- Charles replaces the interface response information
- sqlmap use tutorial Daquan command Daquan (graphics)
- 小程序毕设作品之微信积分商城小程序毕业设计成品(4)开题报告
- [The Mystery of Cloud Native] Cloud Native Background && Definition && Detailed explanation of related technologies?
- [ 云原生之谜 ] 云原生背景 && 定义 && 相关技术详解?
- Pytorch框架学习记录4——数据集的使用(torchvision.dataset)
猜你喜欢
After 5 years of Ali internship interview~
新型LaaS协议Elephant Swap给ePLATO提供可持续溢价空间
PyG搭建R-GCN实现节点分类
spicy(一)基本定义
Based on all volunteers - H and D1 XR806 rare plant monitoring device
Chapter 51 - Knowing the request header parameter analysis【2022-07-28】
Mini Program Graduation Works WeChat Points Mall Mini Program Graduation Design Finished Products (1) Development Overview
Shell脚本基本编辑规范及变量
宇宙的尽头是银行?聊聊在银行做软件测试的那些事
Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (4) Opening Report
随机推荐
[The Mystery of Cloud Native] Cloud Native Background && Definition && Detailed explanation of related technologies?
Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (5) Task Book
cv2.polylines
Reverse Analysis Practice 2
解决编译安装gdb-10.1 unistd.h:663:3: error: #error “Please include config.h first.“ 问题
The first immersive and high-fidelity metaverse in China, Xiyuan Universe is officially launched
小程序毕设作品之微信积分商城小程序毕业设计成品(3)后台功能
Arrays and Structures
Go书籍大全-从初级到高级以及Web开发
Operational configuration: How to run multiple EasyCVR programs as a service in one server?
Pytorch框架学习记录7——卷积层
Send it to your friends and let TA treat you to fried chicken!
智能答题功能,CRMEB知识付费系统必须有!
【驱动】udev设置GPIO加载后所有者、所属组和权限
RRU、BBU、AAU
What is CDH/CDP?
redis分布式锁的原子保证
The leap second that may cause the next "Millennium Bug" is boycotted by tech giants
MySQL data query (subtotal and sorting)
小程序毕设作品之微信积分商城小程序毕业设计成品(6)开题答辩PPT