an example of using Bluetooth Low Energy on OSX