Open ralle12345 opened 8 years ago
Hi, we are looking into this issue right now.
I tested some more over the weekend. When I set the scan interval to 120sec the problem seems to be gone.
@Cheong2K Have you been able to reproduce my issue? Is there anything I can do to help?
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.