• 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
Disconnecting from a peripheral
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disconnecting from a peripheral


  • Subject: Disconnecting from a peripheral
  • From: Kaelin Colclasure <email@hidden>
  • Date: Wed, 25 Jul 2012 11:05:13 -0700

Greetings,

As I am exploring the CoreBluetooth API, I am not finding any method for disconnecting from a peripheral. The CBCentralManagerDelegate protocol has a -centralManager:didDisconnectPeripheral:error: method, but how do I initiate a disconnect from the central application?

I did try -cancelPeripheralConnection: on an established connection, but as far as I was able to see my test peripheral (a TI CC2540DK_EM Peripheral dev board) still thought the connection was active. (Only when I terminated the central application did it go back to advertising.)

-- Kaelin

 _______________________________________________
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

  • Prev by Date: Client and Server Mode in single app
  • Next by Date: Re: Disconnecting from a peripheral
  • Previous by thread: Client and Server Mode in single app
  • Next by thread: Re: Disconnecting from a peripheral
  • Index(es):
    • Date
    • Thread