-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
OnePlus 7T & peripheral_hr on NRF52 conn failure #24722
Comments
@alexandru-porosanu-nxp could you please gather a sniffer trace of the connection establishment? https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE |
I've attached a capture that has the scan req/scan rsp/conn req exchange plus the phy change, starting at packet 2382. Is there another capture I should do? |
One more thing: I'm thinking that maybe this is a OnePlus/Android 10 issue, so if you have another Android based phone that also has the 2 Mbps PHY that you can test with, it'd be great to figure this out. |
The sniffer sees the slave at least. But not the master. Looks like an issue with the OnePlus. |
I think that actually when switching to 2 Mbps, the master doesn't "hear" the slave anymore. I've taken a screencap of the Wireshark capture on the exact time when things go awry, and I think no 2 Mbps packet is being heard by the master. The blue dotted one is the first packet the master is sending at 2 Mbps. The next one is the slave responding (properly), and then the master re-transmits forever: I found something similar described here: https://devzone.nordicsemi.com/f/nordic-q-a/44933/connection-drop-immediately-in-specific-android-models but I don't think it's the same thing as here. As a side-note, same board with a VEGA board work just fine on 2Mbps. |
@alexandru-porosanu-nxp @joerchan can we close this then? |
I think so, but I'd feel a bit better if somebody can test the 2 Mbps scenario with another device (it looks as it's a OnePlus specific issue) Edit: by device, I mean a phone, we know that it works with 2 x NRF52 as well as with a VEGA Board... |
Tested on master peripheral_hr with an iPhone 11, switch to 2Mbit/s works fine and notifications flow freely after. |
Describe the bug
While attempting to connect a OnePlus 7T (Android 10, Build # 10.0.9.HD65AA) with a NRF52 (PCA10040) running peripheral_hr on latest head, the connection is established but no heart-rate data is being exchanged. Using the nrf sniffer, one can see that after the connection is established (packet #2382 in the attached capture), there is an exchange of Empty PDUs, but starting at #2405, the Master keeps re-transmitting the same PDU up until the connection is broken at #2617.
I think it's worthwhile to note that this happens only if 2 Mbps PHY is enabled; if the support is disabled, the connection is fine.
Edit: The default configuration for Zephyr peripheral_hr is used
To Reproduce
Steps to reproduce the behavior:
Open "NXP IOT toolbox" (it should be the same behavior for NRF Connect, but I haven't tested), select the Heart Rate monitor and connect to the Nordic board
Expected behavior
The heart-rate data should be visible on the phone screen, steadily increasing.
Impact
Annoyance
Screenshots or console output
Environment (please complete the following information):
Oneplus7T-Nordic-Peripheral_HR-failure.zip
The text was updated successfully, but these errors were encountered: