Using CoreBluetooth from a command line application
Using CoreBluetooth from a command line application
- Subject: Using CoreBluetooth from a command line application
- From: Christian Plazas <email@hidden>
- Date: Fri, 22 Jun 2012 22:13:31 -0400
Hi,
I am trying to use CoreBluetooth from a command line application so
that I can quickly try out different things without getting too hung
up on making GUIs while I become familiar with CoreBluetooth and get
my bluetooth back-end working.
Initially, I'm trying to get CBCentralManager functionality going. No
matter what I do I cannot get my centralManagerDidUpdateState delegate
to get called when I try to do this in a command line application.
However, this always works whenever I do it from a GUI application. I
admit, I'm pretty new at MacOS X development, so I may be missing
something totally obvious. Does anyone have any tips on getting this
to work from a command line application?
I have created two bare-bones apps to try and figure it out, one a
command line app, the other a trivial GUI app. I stripped each app to
its bare essentials so I could try to isolate the problem. I can post
the code for both if it would help to see what I'm trying to do and to
see what works and what doesn't.
Thanks,
Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden