Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhermsmeier/node-wifi-network
Wireless network control
https://github.com/jhermsmeier/node-wifi-network
network wifi wifi-network wlan
Last synced: 19 days ago
JSON representation
Wireless network control
- Host: GitHub
- URL: https://github.com/jhermsmeier/node-wifi-network
- Owner: jhermsmeier
- License: mit
- Created: 2017-05-24T11:23:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-27T14:09:24.000Z (11 months ago)
- Last Synced: 2024-10-11T07:34:14.586Z (about 1 month ago)
- Topics: network, wifi, wifi-network, wlan
- Language: C++
- Size: 63.5 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# WiFi-Network
[![npm](https://img.shields.io/npm/v/wifi-network.svg?style=flat-square)](https://npmjs.com/package/wifi-network)
[![stability](https://img.shields.io/badge/stability-experimental-orange.svg?style=flat-square)](https://nodejs.org/api/documentation.html#documentation_stability_index)
[![npm license](https://img.shields.io/npm/l/wifi-network.svg?style=flat-square)](https://npmjs.com/package/wifi-network)
[![npm downloads](https://img.shields.io/npm/dm/wifi-network.svg?style=flat-square)](https://npmjs.com/package/wifi-network)Cross-platform wireless network control
## Install via [npm](https://npmjs.com)
```sh
$ npm install --save wifi-network
```## Supported Platforms
- [x] Mac OS
- [ ] Windows
- [ ] Linux## Usage
```js
var wifi = require( 'wifi-network' )
```### Scan for available networks
```js
wifi.scan( function( error, networks ) {
console.log( error || networks )
})
``````js
[
{
ssid: 'Vodafone Hotspot',
bssid: 'a6:31:c4:f2:2d:ca',
countryCode: 'DE',
beaconInterval: 100,
noise: -88,
rssi: -52,
channelNumber: 1,
channelBand: 2,
channelWidth: 20,
},
...
]
```## Contributing
### Auxiliary Dependencies
- [cpplint](https://github.com/cpplint/cpplint)
```
$ pip install cpplint
```## References
- [Apple / CoreWLAN](https://developer.apple.com/reference/corewlan)
- [Microsoft / Native Wifi API](https://msdn.microsoft.com/en-us/library/ms706556(VS.85).aspx)