Re: didUpdateValueForCharacteristic not called upon receiving a notification
Re: didUpdateValueForCharacteristic not called upon receiving a notification
- Subject: Re: didUpdateValueForCharacteristic not called upon receiving a notification
- From: Joakim Linde <email@hidden>
- Date: Fri, 04 May 2012 16:43:31 -0700
Hi Pierre,
Thanks, Joakim
On May 4, 2012, at 10:39 AM, Pierre Bouchet wrote: Hi,
I'm writing a profile for a CC2540-based device and every 20s I send a notification with one byte of data. I never actually write the new byte value to the corresponding GATT characteristic, I merely send notifications which contain updated values.
The iPhone does receive these notifications, because if I put the app in the background I get an alert with the close/view buttons every 20s. However if the app is in the foreground it doesn't react to incoming notifications and peripheral: didUpdateValueForCharacteristic: error:
apparently never gets called.
What's happening?
Pierre
|
_______________________________________________
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