1 / 7
文档名称:

嗅探器API 使用指南 v0.2.pdf

格式:pdf   大小:320KB   页数:7页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

嗅探器API 使用指南 v0.2.pdf

上传人:haqia 2022/3/29 文件大小:320 KB

下载得到文件列表

嗅探器API 使用指南 v0.2.pdf

文档介绍

文档介绍:Copyright 2014, Nordic Semiconductor ASA
Nordic Semiconductor Sniffer API Guide
iffer version , and make sure it connects to the
firmware.

See the Sniffer User Guide included with the nRF Sniffer for more information.
Using the Sniffer API

Getting Started
1. Install dependencies.
2. Include the SnifferAPI folder in your Python project.
3. Import the API with
from SnifferAPI import Sniffer
4. Instantiate the Sniffer class with .
mySniffer = Sniffer()
5. Start the Sniffer with
()
is an example program with explanations in the comments.

Overview
The API consists of 5 classes in 3 files: The Sniffer class in , the DeviceList
and Device classes in , and the Packet and BlePacket classes in . TheCopyright 2014, Nordic Semiconductor ASA
exceptions in are also part of the API. The entry point for the API is the
Sniffer class (retrieve packets and devices through the methods in Sniffer). The last pages
of this document (and also the file) contain a complete
documentation of the API.
An overview of the levels below the Sniffer module

Object/Module hierarchy
During normal operation, the Sniffer object interfaces only to the SnifferCollector