As a plus, if you write here without having any expectations, it is not possible to be disappointed.
Support costs 50$ per ticket which is quite reasonable, as you get two tickets for free per year. (The 5-packs are a trap - you get cheaper by buying the 2-packs).
Regarding your problem:
As I understand from your multiple e-mails (no need to repeat them ;) I have rules that delay email conversations every time a new message is added to avoid spam),
your setup consists of an iPhone + a custom accessory, and you want to create a notification on the iPhone when you press the button on the accessory.
In your request it looks as your iPhone is the central, and your accessory is the peripheral. Usually, the peripheral is the device that offers services that the central can access.
The Immediately Alert Level Profile adds a service on the peripheral side, allowing a central to write to an “Alert Level” characteristic to initiate an alert on the peripheral side.
What you try to accomplish is the opposite way - you want to add the “Alert Level” characteristic to your iPhone, not to your accessory.
To achieve this, you could swap the roles of central and peripheral, making your accessory connect to the iPhone. However, there are some caveats with this setup, as the
iPhone periodically changes its Bluetooth address, making it hard to identify the iPhone across sessions. It’s still doable with pairing and encryption, but you seem to look for a simpler solution.
This leaves you with choosing a different profile (or come up with your own) to get a notification when the button is pressed. Such a profile could look like this:
If your iPhone is connected to the accessory all the time, you can add a custom service with a custom characteristic to your accessory’s GATT database.
Configure the characteristic in a way that allows sending Indications, then use the [-setNotifyValue:forCharacteristic:] method of CBPeripheral to enable the
indications. From there on, you will see [-didUpdateValueForCharacteristic] when you send an indication from your accessory.
If your iPhone is not connected to the accessory at all times, you will need to scan for the accessory in your app. While scanning, you can add a serviceUuid filter.
You could configure your accessory that it broadcasts a special serviceUuid while the button is pressed, so that your iPhone can react to that, and connect to
the accessory, at which point you are in the first scenario again.
Hoping this brings you further.
Good luck with your project.
Etan
On 16.02.2014, at 14:21, ponthota viswanath reddy <
email@hidden> wrote:
Dear All,
I need a requirement to find the phone from bluetooth Tag. For this requirement I did Hours of Hours R &D, I am setting notification yes for immediate alert level characteristic (UUID:2a06)
didDiscoverCharecteristicforService method. After phone is connected to bluetooth. I am pressing button on bluetooth tag, But no reaction . Not entering into
didUpdateValueForCharecteristic. method. Is there any other way to find the phone from Bluetotoh tag. I tested the Bluetooth tag with existing apps in APP store. (smartNudge,stick&Finder), Everything is fine in their apps .
How they gain. Why I am not gang not understanding to me.
Will you please give guidance to for this issue. This is Urgent requirement for me.
_______________________________________________
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