sparrow-wifi
sparrow-wifi copied to clipboard
only one pass scan works on the sparrow agent
I am not sure if i am using the arguments improperly but i can not get the sparrow agent to continually scan; It only provides telemetry if i use the one click one scan method. The agent is on a RPI Zero Wireless using Raspbian Stretch. Any thoughts?
Hmmm, no. I don't have a Pi Zero here but I do have a Pi3 I've run it on. I'll run some other tests and see if I can find anything.
I am trying to save weight using the Pi Zero W, but will try with the Pi3 as well. thanks for the help on this.
Was this ever addressed? I was testing last night with the remote agent and if I click no on only doing one scan nothing ever comes back. If I click yes and do a one pass scan I get results and can click it over and over again for updated results.
This is running the agent on a x86 64 bit platform.
Hi bjesmer, the main app has a class called ScanThread that runs the scans. It basically runs and get results, then in a thread loop briefly sleeps to prevent a tight loop (like 0.2s) then scans again. If calling the agent, you'll probably need to do something similar. If using Python, I'd just import that class out of sparrow-wifi.py and re-use it or inherit and overload the run function.
When trying to run a continuous scan on a remote agent, Sparrow reaches out to a hard coded 127.0.0.1 rather than the user entered agent IP. Is this intentional?