Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. enum DeviceBluetoothServices {
  2. static let SERVICE_UUID = CBUUID(string: "4fafc201-1fb5-459e-8fcc-c5c9c331914b")
  3. static let CHARACTERISTIC_UUID = CBUUID(string: "beb5483e-36e1-4688-b7f5-ea07361b26a8")
  4. static let BEACON_CHARACTERISTIC_UUID = CBUUID(string: "19fbc032-c156-4861-a314-aa098a0f2f7f")
  5.  
  6. static let characteristics: [CBUUID] = [ SERVICE_UUID, CHARACTERISTIC_UUID, BEACON_CHARACTERISTIC_UUID ]
  7. }
  8.  
  9.  
  10. manager.scanForPeripherals(withServices: DeviceBluetoothServices.characteristics, options: nil )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement