Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d7e28911 authored by Sonny Sasaka's avatar Sonny Sasaka
Browse files

Floss: Modify IScannerCallback

IScannerCallback needs a dedicated callback for clients to listen to
when advertisements are in the beginning of RSSI-range instead of every
advertisements received during the range. So this modifies
IScannerCallback methods:
* Add OnAdvertisementFound: beginning of adv in RSSI range
* Add plan to rename OnScanResultLost to OnAdvertisementLost for
  symmetry. Will be in future change since this needs to be coordinated
  with Chrome change.
* Redefine OnScanResult to be explicit that this is triggered on every
  advertisement detected if satisfies the filter and RSSI range.

Bug: 269343922
Tag: #floss
Test: Build Floss on Linux and Chrome OS, run with chrome-btclient.

Change-Id: I0a0c683f48586deb4d2227f1cb011c5ee09e95e6
parent a17741fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment