Skip to content

Bluetooth LE connection attempt disables Wifi on RPi3 #1444

Open
@mweal-ed

Description

@mweal-ed

I have been able to isolate this down a simple low level test cases test case to show the conflict if this helps any

When I attempt to make a connection to a a bluetooth LE device and the connection does not establish (or the device does not exist), wifi is disable (or has >99% packet loss) while the bluetooth LE connection is being attempted.

On one RPi3 (#1) I have a window with iperf3 running
iperf3 -s

on another RPi3 (#2) I have a window with with iperf3 running with a connection to RPi3 #1
iperf3 -c 192.168.1.138 -time 100 -u

Everything works fine (RPi3 #1 shows it is receiving udp packets) unit I open another window on RPi3 #1 and attempt to connect to a non existent device
sudo hcitool lecc 11:11:11:11:11:11

Note: bluetooth LE will continue to attempt the connection even after hcitool returns with a timeout error.

RPi3 #1 iperf3 now shows it is dropping packets (0 data rate). After terminating the BLE connection attempt with an LE Create Connection Cancel Command things resume normally
sudo hcitool cmd 0x08 0x0e

I have tried this with "ping" instead and packets seem to get through
I have tried this with both "ping" and "iperf3" together, and there are a lot of dropped pings (and the one that do make it are very long... 10, 20, 30 seconds)

Looking at the data on wireshark I see the occasional packet is making it through... but very few.

this may be related to #1402

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bluetooth Issuepelwell_there_is_no_escapeWifi IssueAny issues related to wifi

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions