Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not detect associated smart phones. #3

Open
carstenschwede opened this issue May 14, 2017 · 5 comments
Open

Does not detect associated smart phones. #3

carstenschwede opened this issue May 14, 2017 · 5 comments

Comments

@carstenschwede
Copy link

Thanks for the software, much appreciated!

AFAIK smart phones will only issue probe request when they are not currently connected to an access point. This might lead to a severe underestimation of the number of smart phones in areas where most phones are connected to an AP (e.g. bars with open WiFi, universities, ...). Not sure how this applies to Bluetooth.

Maybe this is worth a note in the README?

@schollz
Copy link
Owner

schollz commented May 14, 2017

AFAIK smart phones will only issue probe request when they are not currently connected to an access point.

This might depend on the OS and phone but I can see its not true for any of the phones I've tried (Pixel, LG, iPhone). @carstenschwede does it not detect your smartphone when its associated?

I've seen that phones affiliated with an access point do send out probe requests to see if there is a stronger wifi connection that they can switch to. The rate that this occurs is slower, but usually within 3 minutes in my tests. When idling it happens less frequently (maybe every 10 minutes).

@carstenschwede
Copy link
Author

Interesting. I remember this being the case for an iPhone 4. Maybe the intervals get longer once the smart phone is connected - I don't think that I waited more than a couple of minutes and I probably wrongly deduced that they won't send out any requests at all. I will check again with my current phone.

@dv336699
Copy link

dv336699 commented May 16, 2017

It won't detect my Samsung S6 Edge, only Apple devices. One of them is my Macbook.


[
  {
    "rssi": -70.0,
    "company": "Apple, Inc.",
    "mac": "xx:xx:xx:xx:xx:xx"
  },
  {
    "rssi": -51.0,
    "company": "Apple, Inc.",
    "mac": "xx:xx:xx:xx:xx:xx"
  },
  {
    "rssi": -49.0,
    "company": "Apple, Inc.",
    "mac": "xx:xx:xx:xx:xx:xx"
  },
  {
    "rssi": -52.0,
    "company": "Apple, Inc.",
    "mac": "xx:xx:xx:xx:xx:xx"
  }
]

@schollz
Copy link
Owner

schollz commented May 16, 2017

@diego-vieira Can you try adding the -v flag and seeing if anything Samsung related is in the output?

@dv336699
Copy link

@schollz unfortunately no. Don't worry, might be something with the router or the way Samsung deals with packets dunno.

Here's the log tho.

[                                                  ] 0%    1min 0s left['/usr/local/bin/tshark', '-I', '-i', u'en0', '-a', u'duration:60', '-w', '/tmp/tshark-temp']

[                                                  ] 0%        60s left
[==================================================] 100%         0s left
['/usr/local/bin/tshark', '-r', '/tmp/tshark-temp', '-T', 'fields', '-e', 'wlan.sa', '-e', 'wlan.bssid', '-e', 'radiotap.dbm_antsignal']

(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Apple, Inc.', True)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'Synology Incorporated', False)
(u'xx:xx:xx:xx:xx:xx', 'NETGEAR', False)
(u'xx:xx:xx:xx:xx:xx', 'Synology Incorporated', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'WatchGuard Technologies, Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'TP-LINK TECHNOLOGIES CO.,LTD.', False)
(u'xx:xx:xx:xx:xx:xx', 'TP-LINK TECHNOLOGIES CO.,LTD.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'Hewlett Packard', False)
(u'xx:xx:xx:xx:xx:xx', 'ASUSTek COMPUTER INC.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Hewlett Packard', False)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Apple, Inc.', True)
(u'xx:xx:xx:xx:xx:xx', 'Elitegroup Computer Systems Co.,Ltd.', False)
(u'xx:xx:xx:xx:xx:xx', 'Dell Inc.', False)
[
  {
    "rssi": -85.0, 
    "company": "Apple, Inc.", 
    "mac": "xx:xx:xx:xx:xx:xx"
  }, 
  {
    "rssi": -52.0, 
    "company": "Apple, Inc.", 
    "mac": "xx:xx:xx:xx:xx:xx"
  }
]
There are about 3 people around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants