Skip to content

add companion device pairing#341

Merged
mc-hamster merged 9 commits into
masterfrom
modernScan
Jan 10, 2022
Merged

add companion device pairing#341
mc-hamster merged 9 commits into
masterfrom
modernScan

Conversation

@andrekir

@andrekir andrekir commented Jan 9, 2022

Copy link
Copy Markdown
Contributor

https://developer.android.com/guide/topics/connectivity/companion-device-pairing

  • no location requirements for device pairing on Android 8+ (API level 26+)

Classic device scan/discovery

  • added button press & 5 sec timer for legacy scan

various UI & user notification changes to handle both methods

  • common "add" button to search and select devices

Screenshot_20220109-121449 Screenshot_20220109-121438

@mc-hamster mc-hamster merged commit eef5f80 into master Jan 10, 2022
@andrekir andrekir deleted the modernScan branch January 10, 2022 01:49
@geeksville

Copy link
Copy Markdown
Member

This pull request has been mentioned on Meshtastic. There might be relevant details there:

https://meshtastic.discourse.group/t/meshtastic-android-1-2-53-alpha/4778/1

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

Successfully merging this pull request may close these issues.

On API level >=26 use companion device pairing rather than the old BLE pairing API

3 participants