Skip to content

Commit

Permalink
updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Jan 12, 2016
1 parent eb2fa8f commit 286fb9e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ Swift wrapper for Linux Bluetooth C API (BlueZ)
2. `sudo apt-get install libbluetooth-dev`

# Unit Tests

```
swift build
sudo .build/debug/UnitTests
```

I recommend [LightBlue Explorer](https://itunes.apple.com/us/app/lightblue-explorer-bluetooth/id557428110?mt=8) and [Locate Beacon](https://itunes.apple.com/us/app/locate-beacon/id738709014?mt=8) to verify the iBeacon is advertising. The iBeacon test case is already configured to use a UUID that is preinstalled in the *Locate Beacon* app.

## Note
Do NOT test with Parallels or VMware with the built in Bluetooth adapter found in Macs. You can, however, use VMWare or Parallels, with a Linux compatible BLE USB adapter plugged in.

## Troubleshooting
If the unit tests fail, particularly for the iBeacon case, disconnect and reconnect the USB adapter. Sometimes disabling the advertising fails, and if you run the unit test a 2nd time, it fails to advertise because it already is.
- Do not test in Parallels or VMware with the built in Bluetooth adapter found in Macs. You can, however, use VMWare or Parallels, with a Linux compatible BLE USB adapter plugged in.

- If the unit tests fail, particularly for the iBeacon case, disconnect and reconnect the USB adapter. Sometimes disabling the advertising fails, and if you run the unit test a 2nd time, it fails to advertise because it already is.

0 comments on commit 286fb9e

Please sign in to comment.