Skip to content

Commit

Permalink
Correct readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rhummelmose committed May 12, 2016
1 parent e841c58 commit b5751f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ Prepare and start a BKCentral object with a configuration holding the UUIDs you
```swift
let central = BKCentral()
central.delegate = self
central.addAvailabilityObserver(self)
do {
let serviceUUID = NSUUID(UUIDString: "6E6B5C64-FAF7-40AE-9C21-D4933AF45B23")!
let characteristicUUID = NSUUID(UUIDString: "477A2967-1FAB-4DC5-920A-DEE5DE685A3D")!
let configuration = BKConfiguration(dataServiceUUID: serviceUUID, dataServiceCharacteristicUUID: characteristicUUID)
try central.startWithConfiguration(configuration: configuration)
// You are now ready to discover and connect to peripherals.
// Once the availability observer has been positively notified, you're ready to discover and connect to peripherals.
} catch let error {
// Handle error.
}
Expand Down

0 comments on commit b5751f1

Please sign in to comment.