Device Watcher: filter on service UUID of Bluetooth Low Energy device

  • Thread starter Thread starter Sisansarah
  • Start date Start date
S

Sisansarah

Guest
How can I set up the DeviceWatcher such that is only reports devices that advertise certain service UUIDs? For example, only report devices that expose a heart rate service, health thermometer service, blood pressure service, pulse oximeter service, etc.?

Most Bluetooth Low energy devices expose their service UUIDs in the advertisement/scan response.

In Android I simply create a list of service UUIDs that I wish to scan for and pass them to the LeScanner.

Continue reading...
 
Back
Top