D7652: Better broadcast/neighbor networking

Daniel Tang noreply at phabricator.kde.org
Sun Sep 3 10:54:49 UTC 2017


daniel.z.tg added a comment.


  Effects of most recent changes, tested with one computer and one phone:
  
  Unaffected:
  
  - Normal WiFi should still work.
  
  Internal:
  
  - Different broadcasts are received
  - BackgroundService is now static (it was already singleton before)
  - BackgroundService has been slightly optimized (not benchmarked)
  - Link-local broadcast addresses are now used instead of the generic "255.255.255.255"
  - Mobile network detection is now incompatible network detection, and is now done by checking if no broadcast addresses can be found
  - Translations for incompatible network detection are missing
  
  Working better:
  
  - WiFi tethering
    - Enabling/disabling tethering is correctly in sync with detection of it as a compatible network
    - Peer detection & connection works partially
      - Should fully work on Android L and below (untested)
      - Fully working on LineageOS 14.1 (Android N) and some other ROMs
      - Requires refresh for other devices on Android M and above
    - Peer disconnection requires disabling tethering to be noticed
  - Bluetooth tethering sometimes works fully, and always works partially
    - Peer discovery & connection sometimes requires refresh
    - Peer disconnection is fully working
    - Enabling/disabling tethering is not applicable. Network compatibility is detected upon peer connection and disconnection.
  - USB tethering works partially
    - Peer discovery usually requires a refresh
    - Peer connection may require refresh
    - Peer disconnection is fully working
    - Enabling tethering sometimes requires a refresh to network comparability. When peers are detected before refreshing, the GUI still says that no compatible networks are available.
    - Disabling tethering is fully working is correctly in sync with detection of a compatible network being removed

REPOSITORY
  R225 KDE Connect - Android application

REVISION DETAIL
  https://phabricator.kde.org/D7652

To: daniel.z.tg, #kde_connect
Cc: albertvaka, daniel.z.tg, jeanv, tfella, aboudhar, seebauer, bugzy, progwolff, MayeulC, menasshock, ach, apol, hkaelberer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170903/3ccf3607/attachment.html>


More information about the KDEConnect mailing list