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

Gatt sync stalls #334

Open
markoaamunkajo opened this issue Mar 2, 2023 · 6 comments
Open

Gatt sync stalls #334

markoaamunkajo opened this issue Mar 2, 2023 · 6 comments

Comments

@markoaamunkajo
Copy link
Collaborator

Description:

Gatt sync stalls in both Android and iOS.
Reported by multiple users.

This is related to Bluetooth Connection Length Extension.
Tag sends data as much as it can until something breaks the connection in interval and then it has to wait for the next interval.

1250 would be a flash page boundary, It makes me think that flash itself might have questionable data. That should be cleared in sensor reboot though.

Original issue: ruuvi/com.ruuvi.station.ios#1069

@DG12
Copy link
Contributor

DG12 commented Mar 2, 2023

Sensor reboot is not necessary.
Restarting download may complete or stall at a different spot.

@DG12
Copy link
Contributor

DG12 commented Mar 2, 2023

Placing a sensor in the refrigerator works well to duplicate this problem.

@ojousima
Copy link
Member

ojousima commented Mar 3, 2023

What would be the fix here? We can change the parameters of connection, but we cannot have one set of parameters that will be the best option in every case.

@DG12
Copy link
Contributor

DG12 commented Mar 3, 2023

It seems that the app should "understand" that connection has been disrupted and either restart from the beginning or pick up from where it left off.

My observation is that simply restarting the download (without any action to the tag) will continue sometimes succeeding.
Please review the initial submission of issue #1069. This is from an old version.
I will duplicate thee test and report back later today.

@DG12
Copy link
Contributor

DG12 commented Mar 16, 2023

image

@DG12
Copy link
Contributor

DG12 commented Mar 16, 2023

Stall at 554

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

No branches or pull requests

3 participants