node-wireless icon indicating copy to clipboard operation
node-wireless copied to clipboard

Change method for interacting with WiFi hardware

Open tlhunter opened this issue 12 years ago • 1 comments

Currently, the module runs a bunch of commands over and over. This means we need to wait for the command to finish before we get the results. This can take many seconds, and then we send a "burst" of network found events, etc.

What we should do, is find a better way to talk to the hardware, and be able to trigger an event every single time the device sees a wireless packet.

I have absolutely no idea how to do this. Someone once said something about dmesg or something similar, but I'm still pretty lost.

tlhunter avatar Apr 28 '13 17:04 tlhunter

D-Bus may be the answer:

http://dbus.freedesktop.org/doc/dbus-tutorial.html

tlhunter avatar Sep 16 '14 07:09 tlhunter