Skip to content

Instantly share code, notes, and snippets.

@mohsenoid
Last active April 26, 2020 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohsenoid/61f16bdb6c70dd1894eef36931867711 to your computer and use it in GitHub Desktop.
Save mohsenoid/61f16bdb6c70dd1894eef36931867711 to your computer and use it in GitHub Desktop.
ClosetToMe - Start Scanning
val scanFilters = listOf(
ScanFilter.Builder()
.setManufacturerData(manufacturerId, manufacturerData, manufacturerDataMask)
.build()
)
bluetoothScanner.startScan(
scanFilters,
settings,
scanCallback
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment