Re: Device detection ?
Re: Device detection ?
- Subject: Re: Device detection ?
- From: Bob Miller <email@hidden>
- Date: Tue, 29 Apr 2003 15:44:10 -0400
Thanks for the tip. Do you know of any code examples that demonstrate
this ?
On Tuesday, April 29, 2003, at 03:00 PM, Bubba Giles wrote:
>
>
>
> Hello,
>
>
>
> I'm new to bluetooth development and I don't know if these are basic
>
> questions or not. I've looked in the header files, etc. and found a
>
> method .
>
> +[IOBluetoothDevice registerForConnectNotifications:selector:].
>
>
>
> I'm developing an application that needs to detect when a user
>
> selected
>
> bluetooth device comes within range of a Mac (ex. John has a cell
>
> phone
>
> in his pocket and he walks into his office and his Mac says "Hey I
>
> just realized that John walked in because I've detected his cell
>
> phone"). and then perform some user defined action based on that
>
> 'proximity' event. Is there a call available in the API to do this ?
>
> How would I set this scenario in motion ? Is using the call above on
>
> the right track or does it only deal with a connection being made.
>
>
The only way to do this is to 'poll' for a device by periodically
>
attempting
>
to connect to it, as the Sony Ericsson Clicker application does. We
>
don't
>
recommend doing this too often though...
>
>
Jason
>
email@hidden
>
>
Bob
[demime 0.98b removed an attachment of type image/gif which had a name of spongebob.sm..gif]
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.