WiFi RSSI with NDIS protocole

List Wifi devices and retrieve RSSI values of the signal
4,1K téléchargements
Mise à jour 11 juil. 2008

Afficher la licence

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);

Citation pour cette source

Sebastien PARIS (2024). WiFi RSSI with NDIS protocole (https://www.mathworks.com/matlabcentral/fileexchange/20667-wifi-rssi-with-ndis-protocole), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Simultaneous and Synchronized Operations dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0