Using CoreBluetooth from a command line application