Example of using CoreBluetooth in peripheral mode