• 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
Reinitiate CoreBluetooth BTLE Pairing Connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reinitiate CoreBluetooth BTLE Pairing Connection


  • Subject: Reinitiate CoreBluetooth BTLE Pairing Connection
  • From: Zachary Kaplan <email@hidden>
  • Date: Sun, 08 Nov 2015 16:34:52 -0800
  • X_v_e_cd: bef43e620bb4b2e371316b1dc152f8eb
  • X_v_r_cd: fa2582dfa804acf154e0814f607b361a

Hello,

For some context, I am building BTLE central and peripheral applications using the CoreBluetooth framework. The central application runs on OS X, whilst the peripheral runs iOS. The peripheral advertises a service that has a characteristic which requires encryption. When connected, the remote central tries to subscribe to the characteristic, and then CoreBluetooth tries to pair with the peripheral to create a secure connection. The user is then prompted to accept or deny the pairing connection. On subsequent initializations of the peripheral application (closing and reopening the application), CoreBuetooth does not prompt the user to accept or deny the pairing connection on subsequent attempts. This is usually the desired behavior, but for testing purposes I would like to reinitiate the pairing connection. During development, this will allow me to test the application as if it were installed for the very first time. I have tried changing the UUID's and even removing the application all together; all without luck. I have also attempted to delete the Bluetooth property list file on OS X, also without luck. The only mechanism I have been able to utilize with success to reset the pairing connection, has been to completely wipe the iOS device, which is very time consuming. Does anybody know of a way I can force the iOS device to reinitiate the pairing connection as if this was the users first time installing the application and the OS X's first time discovering the service?

Thanks,

- Zachary Adam Kaplan
 _______________________________________________
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: Reinitiate CoreBluetooth BTLE Pairing Connection
      • From: Craig Dooley <email@hidden>
  • Next by Date: Re: Reinitiate CoreBluetooth BTLE Pairing Connection
  • Next by thread: Re: Reinitiate CoreBluetooth BTLE Pairing Connection
  • Index(es):
    • Date
    • Thread