当前位置:网站首页>[IOT] intelligent hardware: how to obtain the WiFi signal strength of hardware products
[IOT] intelligent hardware: how to obtain the WiFi signal strength of hardware products
2022-06-11 07:35:00 【Jianyi business】
Use Microsoft Network Monitor(NM) When a tool grabs a packet , Get smart hardware devices (wifi modular ) Of IP The address is not very convenient . The packet capturing tool will be described in detail below !
To solve this problem , Wei Sir Make your laptop a hot spot , Let intelligent hardware or wifi The module is connected to the hotspot , This makes it easy to get IP Address .



open NM Caught tools : Grab packet

NM Tool is introduced :
Microsoft Network Monitor(NM) It is a free network protocol data analysis tool attached to Microsoft (Microsoft Network Monitor), It can not only capture packets , And do some simple analysis functions based on packet capture records .NM It should be based on libpacp and winpacp developable , The default is that the hybrid mode is not enabled , So when capturing packets , Only multicast can be fetched by default , radio broadcast , Or the receiver is a local packet . That is, it's better to connect locally first AP, And then grab the packets , Otherwise, only some beacon and probe Information about . If you want to grab more packets , Then you have to be in NM Manually turn on the hybrid mode .
Because there is nothing special about the installation process , So here we just skip . After installing the software , We can open it and try to capture it :

You can see that multiple interfaces in the computer have been identified , Because we mainly capture wireless data packets , So choose the wireless network card . As shown here Friendly Name The direct correspondence is the name of the network adapter , So it is not necessarily named wireless network card , You need to check it out Description Is there... In it Wireless The words... .

Then create a new packet capture

Here's the picture , After creating a new packet capture , We can directly grab data frames

The red box above contains several options :“Capture Settings”,“Start”,“Pause” and “Stop”.
After choosing , Press start Just start to grab the bag , If you haven't chosen before Monitor Mode Words , By default Local Mode( That is not a hybrid pattern ) Carry out the bag , What we catch is actually local and corresponding AP Some data packets for specific communication .
In the diagram above , On the left is NM Some data packet interactions parsed according to different applications , That is, its analysis function . In the middle of the right is the captured packet , The following is the original binary file of the specific data package and the parsed content . stay Tools->Options->Parser Profiles Next , You can select a specific parser , But in general , We don't need any extra changes here .

that NM The packet parsing function of can still meet many basic needs , And the display is quite clear . Here is a Beacon Frame resolution ,MetaData Some physical layer parameters ( Be similar to Radiotap), And then there was 802.11 MAC Frame header of layer ( contain FrameControl,Duration,DA,SA,BSSID,SequenceControl), Then it's concrete Beacon Manage the frame body of the frame ( Contains the timestamp for synchronization (TimeStamp),AP Supported working capabilities and some specific functional information blocks , such as SSID,TIM,RSN wait ), The details will be expanded later when we discuss data frames .

NM You can also directly save the data package as “.cap” The format of , stay File->Save As Next choice , In this way, the captured packets can be saved first , And then use Wireshark perhaps Omnipeek And other commonly used software .

This is the same as the regular Wireshark It's almost time to parse the packet , And you can see , Because it uses NM A bag snatcher , So there will be one more NetMon 802.11 capture header, Actually 802.11 radio information Through this header Resolved .
Download address : Download address
so Microsoft Network Monitor(NM) It can be used as a lightweight and easy-to-use packet capturing tool , Directly in any Windows You can install , And does not require the support of a specific network card , The results of capturing packets can also be saved , And pass NM Itself or Wireshark To analyze , For learning 802.11 The agreement is quite helpful .
# Columnist #
Wei Sir, official account : Jianyi business , Everyone is a product manager columnist . Focus on the field of intelligent hardware , Good at market analysis 、 Product design and development 、 Production management, etc , Like reading and mountain climbing .
边栏推荐
- Arduino_ Esp32 development record
- JVM tuning
- [STL source code analysis] summary notes (5): a good helper for understanding iterators --list
- Nosqlzoo question brushing-1
- nosqlzoo刷题-1
- Seata的几种事务模式
- Ffmpeg extraction package format extracts AAC and customizes adtc header to realize arbitrary frame decoding
- 【AtCoder2000】Leftmost Ball (DP+组合数)
- [STL source code analysis] summary notes (10): hashtable exploration
- 自动化测试的生命周期是什么?
猜你喜欢
随机推荐
Bidirectional linked list simple template (pointer version)
[Oracle database] mammy tutorial day03 Sorting Query
CRMEB/V4.4标准版打通版商城源码小程序公众号H5+App商城源码
Tetris preliminary
C+tinycthread implementation thread
Calculate the day of the week for a specific month, year and day
C language to write a calculator calculation logic
2022低压电工操作证考试题模拟考试平台操作
【CF#654 (Div. 2)】A. Magical Sticks
Regular Expression Matching
The maximum number of divisors of numbers in the int range is 1536
Compound RateModel合约解析
【Oracle 数据库】奶妈式教程day02 数据库管理工具SQLPLUS的使用
[STL source code analysis] summary notes (10): hashtable exploration
Sqlzoo question brushing record-3
Directrix of ellipse
学 SQL 必须了解的10个高级概念
Paper size and book size
群晖DS918创建m.2 固态硬盘SSD读写缓存
软件测试周刊(第75期):唯有平视,才能看见真实的自己。






![Uoj 554 [unr 4] challenges Hamilton [find Hamilton path (adjustment method)]](/img/f0/9d4609a53f398636b8062c625f7d3c.jpg)


