• 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
UUID is nil for newly discovered CBPeripheral
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UUID is nil for newly discovered CBPeripheral


  • Subject: UUID is nil for newly discovered CBPeripheral
  • From: Peter Skinner <email@hidden>
  • Date: Wed, 22 Aug 2012 18:51:40 -0400

Hello,

I've encountered a surprising situation.  In iOS6 b4, didDiscoverPeripheral delivers a CBPeripheral with UUID set to nil.  This only happens the very first time CoreBluetooth encounters a new bluetooth hardware mac address.  The next time it sees that address, it uses what seems to be a cached version of CBPeripheral.

The UUID is set to a proper value sometime after discovery.  We have several applications published right now that count rather heavily on UUID having a non-nil value in didDiscoverPeripheral.

Is it time to start updating those applications and stop relying on the UUID, or should this be a bug report?

If anyone has seen this, or knows what the expected behavior is, I'm all ears.

Thanks!

Peter Skinner

Ten One Design
201-965-0200
tenonedesign.com
@psidentity

 _______________________________________________
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

  • Follow-Ups:
    • Re: UUID is nil for newly discovered CBPeripheral
      • From: Etan Kissling <email@hidden>
    • Re: UUID is nil for newly discovered CBPeripheral
      • From: Philip Ershler <email@hidden>
  • Prev by Date: 回复: Re: TX power about the iPhone BLE
  • Next by Date: Re: UUID is nil for newly discovered CBPeripheral
  • Previous by thread: 回复: Re: TX power about the iPhone BLE
  • Next by thread: Re: UUID is nil for newly discovered CBPeripheral
  • Index(es):
    • Date
    • Thread