Bug 386763 - Paired Android device does not reply to pair request
Summary: Paired Android device does not reply to pair request
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-12 05:58 UTC by Andy Holmes
Modified: 2020-12-12 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Holmes 2017-11-12 05:58:24 UTC
If an Android device thinks it's paired[1] it should reply to an incoming pair request with a matching packet, eg:

    { "id": 0, "type": "kdeconnect.pair", "body": { "pair": true } }

I've read through the code for this, so I'm not sure why it doesn't work, but an Android device that thinks it is paired will not respond to a pair request from a device that thinks it's unpaired.

[1]: https://github.com/KDE/kdeconnect-android/blob/master/src/org/kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java#L97
[2]: https://github.com/KDE/kdeconnect-kde/blob/master/core/backends/lan/lanpairinghandler.cpp#L53
Comment 1 Justin Zobel 2020-11-12 08:41:45 UTC
Andy I've tried to test this but I'm not sure how to get the devices out of sync easily.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-11-27 04:34:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-12 04:34:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!