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 |