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);
Citar como
Sebastien PARIS (2024). WiFi RSSI with NDIS protocole (https://www.mathworks.com/matlabcentral/fileexchange/20667-wifi-rssi-with-ndis-protocole), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |