Re: reading value for non-notifying characteristic
Re: reading value for non-notifying characteristic
- Subject: Re: reading value for non-notifying characteristic
- From: András Kövi <email@hidden>
- Date: Wed, 13 Feb 2013 12:57:20 +0100
Hi Alessandro,
I'm not sure what sequence do you use to initialize for reading but here is what it should be:
1. discover services
2. discover characteristics in the service discovered callback
3. store the characteristics returned in the callbacks
4. use the stored characteristic as parameter for the readValueForCharacteristic: method.
You cannot create a characteristic. CBMutableCharacteristic is used only on the CBPeripheralManager side for setting up characteristics of services. On the CBCentralManager no mutable characteristic should ever be used. Those objects are created and managed by the CB framework.
Hope this clarifies.
Regards,
Andras
_______________________________________________
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