didUpdateValueForCharacteristic not called upon receiving a notification
didUpdateValueForCharacteristic not called upon receiving a notification
- Subject: didUpdateValueForCharacteristic not called upon receiving a notification
- From: Pierre Bouchet <email@hidden>
- Date: Fri, 04 May 2012 19:39:09 +0200
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