friedrith / node-wifi

📶 NodeJS tool to manage wifi (connections, scans)
MIT License
395 stars 161 forks source link

Update linux-connect.js #93

Open FinlayDaG33k opened 4 years ago

FinlayDaG33k commented 4 years ago

Description

Start working on getting additional data as per #92.
Once finished, this PR should return some additional information when a connection has been established.

Motivation and Context

This change will remove the need of checking the current connections "manually" in order to find out certain things like the interface used and some details about the AP.

Usage examples

wifi.connect({options}, (net) => {
  // Do things with the received information
});

How Has This Been Tested?

Only on my local machine thus far

Types of changes

todo list:

valkheim commented 4 years ago

Hi, do you plan to keep working on it ?

FinlayDaG33k commented 4 years ago

@valkheim Under all the work I have found myself in related to other projects and finding a new dayjob, unfortunately not :\

I also think it might be better to scrap this specific PR in order to work on something like we've described here: https://github.com/friedrith/node-wifi/issues/92#issuecomment-549043216