• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value?


  • Subject: Re: Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value?
  • From: Etan Kissling <email@hidden>
  • Date: Wed, 12 Jun 2013 07:48:50 +0000
  • Thread-topic: Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value?

Rick,

have to issue another readValue call, as this is profile-specific. What you write
into a characteristics is not linked to what is returned when you read it.

There are also write-only characteristics (control points) where
reading out a value wouldn't make sense at all.

It's just a convenience for many characteristics like "Device Name", that the value
that was previously written is stored for later read-out.

Etan

On 11.06.2013, at 08:40, Rick Mann <email@hidden>
 wrote:

> In the callback after writing a characteristic's value, does the characteristic.value reflect the newly-written value? Or do I have to issue another -readValueForCharacteristic: call?
>
> --
> Rick
>
>
>
>
> _______________________________________________
> 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


 _______________________________________________
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

References: 
 >Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: PeripheralManager: get RSSI from connected devices
  • Next by Date: Re: Don't get names during scanning on OS X, but do on iOS?
  • Previous by thread: Does -peripheral:didWriteValueForCharacteristic:error: reflect the new value?
  • Next by thread: Can we discuss iOS7 new bluetooth feature on this list ?
  • Index(es):
    • Date
    • Thread