Add signal for devices's address changing
ClosedPublic

Authored by andreysemenov on Jun 1 2018, 1:18 PM.

Details

Summary

If device connected with adapter via Bluetooth LE and i try to pair, device's address changing to another and it's address type becomes to 'public' instead of 'random'. So there is no actual possibility to control pairing result.

Test Plan
  1. Create Bluetooth Low Energy service.
  2. Connect with device to this service.
  3. Try to pair device with BluezQt API.
  4. Even if device paired BluezQt API's method isPaired() returns false, because device changed its address and address type.
  5. Apply patch.
  6. Do same steps with connection to addressChanged signal.

Diff Detail

Repository
R269 BluezQt
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
andreysemenov created this revision.Jun 1 2018, 1:18 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJun 1 2018, 1:18 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
andreysemenov requested review of this revision.Jun 1 2018, 1:18 PM
drosca accepted this revision.Jun 1 2018, 3:55 PM
This revision is now accepted and ready to land.Jun 1 2018, 3:55 PM
drosca added a comment.Jun 4 2018, 8:53 AM

Do you have a dev account?

Do you have a dev account?

I think i don't.

drosca added a comment.Jun 4 2018, 8:58 AM

Do you have a dev account?

I think i don't.

Ok, your name and e-mail please so I can commit it for you.

Do you have a dev account?

I think i don't.

Ok, your name and e-mail please so I can commit it for you.

Andrey Semenov blizkrig@gmail.com

This revision was automatically updated to reflect the committed changes.