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

bluetooth and bluetoothle scanner #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benroeder
Copy link
Contributor

This just counts the number of devices.
This is can be used as a proxy for the number of people/devices in the area

Requires the following
apt install libbluetooth-dev libglib2.0-dev libglib2.0-dev
sudo pip3 install pybluez
sudo pip3 install bluepy

to enable in config.ini
; ====================================================================
; Bluetooth tests settings
; (Changes made in this section will be used in next test cycle)
; ====================================================================
[BLUETOOTH_SCANNER_test]
; yes = enabled, no = disabled
enabled: yes
;
; ----- Advanced settings for Bluetooth scanner tests section, do not change -----------
; Name used for bluetootscanner_test file/data group/data source
bluetoothscanner_data_file: wiperf-bluetoothscanner

This just counts the number of devices,This is can be used as a proxy for the number of people/devices in the area
Requires the following
apt install libbluetooth-dev libglib2.0-dev libglib2.0-dev
sudo pip3 install pybluez
sudo pip3 install bluepy

to enable in config.ini
; ====================================================================
;  Bluetooth  tests settings
;  (Changes made in this section will be used in next test cycle)
; ====================================================================
[BLUETOOTH_SCANNER_test]
; yes = enabled, no = disabled
enabled: yes
;
; ----- Advanced settings for Bluetooth scanner tests section, do not change -----------
; Name used for bluetootscanner_test file/data group/data source
bluetoothscanner_data_file: wiperf-bluetoothscanner
@wifinigel
Copy link
Owner

Hi Ben,

Thanks for the PR.

I'm not sure this is a feature that aligns with the aims of the project, which is an end-user experience network performance tool. I understand that Bluetooth traffic could impact the user experience on 2.4GHz, but this project measures the performance of the network connection being used by the probe.

I think this would be a much better fit as a new feature on the WLAN Pi project to provide a tool that users can use to determine local Bluetooth activity for wireless troubleshooting. Would you mind if we moved that across to that project instead?

@benroeder
Copy link
Contributor Author

That is fine, but I have found this useful in working out how many people are near the aps, which can effect their performance

@wifinigel
Copy link
Owner

Ben,

I agree. I think it's a great tool for wireless guys to have access to. My apologies, but I have so many bug fixes and features to implement and so little time, I am trying to keep the scope of the project quite tight to save my sanity.

Have you tested this on the WLAN Pi platform? It would be a nice feature to add to that project (https://wlan-pi.github.io/wlanpi-documentation/). Obviously, as a package it could also run on the RPi too if you have adapters that will work on there.

@benroeder
Copy link
Contributor Author

NanoPi NEO2 does not have Bluetooth on board, and only has one USB port, and I guess most people are going to use that for WIFI :-)

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

Successfully merging this pull request may close these issues.

2 participants