Skip to Content
Platform.Ontology

Bluetooth LE scan and connect

Scans for nearby BLE devices and connects to read or write their data.

Asks you firstHardware and accessoriesBluetoothAndroid and iPhoneWhile you use itIn the background

In one line

Can find and connect to nearby Bluetooth gadgets once you allow Bluetooth

Scans for nearby BLE devices and connects to read or write their data.

Shows which gadgets, wearables, trackers and beacons are near the person. Scan results and device names can act as an indoor location or an identity of what the person owns.

What it can and can't do

What the user does: You tap Connect to device or Scan for gadgets

It can

  • Scan for nearby Bluetooth LE devices such as wearables, trackers and beacons
  • Connect to a device and exchange data with it
  • See device names, which can hint at what you own
  • Guess rough indoor position from nearby beacons

It cannot

  • Scan before you answer the Bluetooth prompt
  • Scan freely in the background on iPhone; scans must name services and are rate limited
  • Learn your location from scans on Android 12 and later when the app declares it does not use them for location

How it differs between platforms: iPhone shows one Bluetooth prompt per app; Android 12 and later shows Nearby devices, and older Android also needed location.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 4.3 (API 18)iOS 5.0
Permission or entitlementBLUETOOTH_SCAN, BLUETOOTH_CONNECT (API 31); before that BLUETOOTH, BLUETOOTH_ADMIN plus locationNSBluetoothAlwaysUsageDescription
Protection leveldangerousprompt
How access is grantedpromptprompt
What the user seesNearby devices prompt (Android 12+); location prompt before thatAllow app to find and connect to Bluetooth accessories? (Allow / Don't Allow)
How long it lastsUntil revoked; auto-reset if unused for monthsUntil revoked
How to take it backSettings > Apps > Permissions > Nearby devicesSettings > Privacy & Security > Bluetooth
Store policyPlay: no special declaration; neverForLocation flag lets a scan app skip the location linkApp Review 5.1.1: purpose string required
APIBluetoothLeScanner, BluetoothGatt, CompanionDeviceManagerCoreBluetooth CBCentralManager
NotesAndroid 12 stopped requiring location for BLE scans if the manifest says neverForLocation.Since iOS 13 the prompt is per app. Scan results for unknown apps are rate limited in the background and need explicit service UUID filters.

Data you get

What comes back: Advertisement and GATT data
Shape: list
How often: continuous while scanning

FieldTypeUnitRangePrecision
rssiintegerdBm-100 to 01 dBm
advertising databinarybytes31 bytes legacy, 255 extended (BLE 5)raw
device addressstringMACrandom and rotating on both OSiOS shows only a per-app UUID

Technical limits

  • Background scans must filter by service UUID on iOS
  • Android 8+ throttles background scans (about 5 starts in 30 seconds)
  • Hardware MAC addresses are hidden from apps on iOS and randomized on Android

The story

What it is

Lets an app scan for nearby Bluetooth LE gadgets and connect to read or send data.

For you

The app asks to find nearby Bluetooth devices. If you say yes, it can connect to your heart band, lock or tracker. The phone shows a small dot or icon when it is scanning.

For makers

This is the gateway for every smart gadget the maker sells. Without it, the hardware is useless. Scans can also show which gadgets and beacons are around, which is helpful for stores and risky for privacy.

Where you see it

TypeExampleApps
fitnessA heart rate strap streams your pulse live to a cycling app during a ride.Strava, Peloton
healthA medical device sends glucose readings to a diabetes app every few minutes.Dexcom
smart-homeA smart lock opens when you walk up and the app connects in the background.August
gamesA party game uses nearby phones as controllers or a toy robot connects over Bluetooth.Sphero
shoppingA store app picks up a beacon at the shoe aisle and shows a coupon.Target
utilitiesA tracker finder app scans for lost keys.Tile
analyticsA store counts how many phones walk by, which is a form of foot traffic measurement.None named

Risks

  • Maps the gadgets near you
  • Location by the back door
  • Rogue devices

Android and iPhone in short

  • Android: Android 12 no longer needs location for BLE scans if the app promises it will not use them to find you.
  • iPhone: On iOS the prompt is per app. Background scans must name the device type they look for and are rate limited.

What the platform says

Good uses and abuse

Legitimate uses

  • Fitness bands
  • Smart locks
  • Medical devices
  • Item finders

Known abuse

  • Scanning for nearby phones or tags to build a presence trail
  • Beacon based store tracking

Scores

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bits6Rough identifying entropy, when known

A real example: LinkedIn

LinkedIn Android and iOS apps declare Bluetooth for headsets and Nearby features (seed research)

History

  • 2012-10, Android 4.3 (API 18): BLE central role added
  • 2013-09, iPhone iOS 7: Background BLE scanning limited to apps that list service UUIDs
  • 2019-09, iPhone iOS 13: Bluetooth permission prompt added; apps can no longer scan silently
  • 2021-10, Android 12 (API 31): BLUETOOTH_SCAN, BLUETOOTH_CONNECT, BLUETOOTH_ADVERTISE replace the old permissions and the location link
  • 2024-09, iPhone iOS 18: AccessorySetupKit offers a picker that avoids the broad Bluetooth prompt

Same idea on the web

Sources

How well checked: Checked against real behavior.

On this page