WiFi RSSI with NDIS protocole
Retrieve RSSI signal from an 802.3 adapter (WiFi) for Windows system with NDIS protocol.
It requiered a fresh install of a NDISPROT miniport driver. Tested with Windows XP SP2 only.
Should be adapted for windows XP SP1 (NDISPROT => NDISUIO).
To install NDISPROT miniport driver
1) Open your network properties and choose install->protocol, choose "I have a disk..."
2) Select from "ndisprotminidriver" dir and select ndisprot.inf
Usage
------
y = wifiRSSI([device] , [N] , [tempo]);
Inputs
------
device : String contening WiFi device identifier (default : first adapter taken)
N : Number of RSSI point to retreive (default N = 1);
tempo : Waiting time (ms) between two RSSI values (default tempo = 0);
Output
------
y RSSI vector (1 x N). Return NAN if Device is not open or INF if RSSI below Threshold detection
IMPORTANT
---------
Don't forget to start NDISPROT service by the following command from Matlab :
!net start ndisprot
Don't forget also to shutdown NDISPROT service by the following command from Matlab after usage :
!net stop ndisprot
Compilation
-----------
mex -output wifiRSSI.dll wifiRSSI.c
Example 1
---------
device = wifidevice;
y = wifiRSSI(device{1});
Example 2
---------
y = wifiRSSI([] , 100 , 10);
引用格式
Sebastien PARIS (2024). WiFi RSSI with NDIS protocole (https://www.mathworks.com/matlabcentral/fileexchange/20667-wifi-rssi-with-ndis-protocole), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |