You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having problems using WIFI and BT at the same time. I'm running a python application that scans for two BT MACs in order to find out if the phone they belong to are near or not. The goal is to have a working presence detection for home automation.
I already updated the Pi to the latest available firmware and kernel using rpi-update:
$ uname -a
Linux pizero 4.4.21+ #911 Thu Sep 15 14:17:52 BST 2016 armv6l GNU/Linux
The EEPROM has been updated as advised here as well:
This application runs a scan on Bluetooth once every 25 secs.
I'm observing that while the application is running there is major delay on WIFI that is not visible when the application is not running.
See below for mtr logs without the application running, then while the script runs and after the script has been stopped. All mtrs are pinging FROM another system TO the Pi zero!
As you can see there is not a major load on the Pi, nevertheless there is an RTT of more then 11secs! The Wifi Access point reports excess packet loss on this wifi client in this situation.
I have tested this with two pHATs and both show this problem.
Is there any info I can provide you with that helps diagnose the issue? I'll be happy to help since running this kind of application was the reason for getting the IoT pHAT.
The text was updated successfully, but these errors were encountered:
I found that some latest versions of Raspbian have problem when pairing BT (Keyboard + mouse) and running WiFi at the same time, but I have one old version doesn't have problems. I am going to ask the Raspberry Pi team, they have 2 IoT pHATs there to test.
I'm having problems using WIFI and BT at the same time. I'm running a python application that scans for two BT MACs in order to find out if the phone they belong to are near or not. The goal is to have a working presence detection for home automation.
I already updated the Pi to the latest available firmware and kernel using rpi-update:
The EEPROM has been updated as advised here as well:
This is the lsb info for the distribution installed:
The system is freshly installed with only the dependancies for the script installed.
UART bootup message:
The application I'm using is sensorReporter.
This application runs a scan on Bluetooth once every 25 secs.
I'm observing that while the application is running there is major delay on WIFI that is not visible when the application is not running.
See below for mtr logs without the application running, then while the script runs and after the script has been stopped. All mtrs are pinging FROM another system TO the Pi zero!
Without BT activity:
With sensorReporter started:
As you can see there is not a major load on the Pi, nevertheless there is an RTT of more then 11secs! The Wifi Access point reports excess packet loss on this wifi client in this situation.
top at the end of the mtr test:
After the python script is stopped everything returns to normal:
I have tested this with two pHATs and both show this problem.
Is there any info I can provide you with that helps diagnose the issue? I'll be happy to help since running this kind of application was the reason for getting the IoT pHAT.
The text was updated successfully, but these errors were encountered: