Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum DeviceBluetoothServices {
- static let SERVICE_UUID = CBUUID(string: "4fafc201-1fb5-459e-8fcc-c5c9c331914b")
- static let CHARACTERISTIC_UUID = CBUUID(string: "beb5483e-36e1-4688-b7f5-ea07361b26a8")
- static let BEACON_CHARACTERISTIC_UUID = CBUUID(string: "19fbc032-c156-4861-a314-aa098a0f2f7f")
- static let characteristics: [CBUUID] = [ SERVICE_UUID, CHARACTERISTIC_UUID, BEACON_CHARACTERISTIC_UUID ]
- }
- manager.scanForPeripherals(withServices: DeviceBluetoothServices.characteristics, options: nil )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement