• 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: centralDid(Dis)connect not invoked
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: centralDid(Dis)connect not invoked


  • Subject: Re: centralDid(Dis)connect not invoked
  • From: Andras Kovi <email@hidden>
  • Date: Mon, 06 Aug 2012 21:00:03 +0200

Thank you, Khrob. Those callbacks have worked perfectly so far. Though, it's good to know about this change in the API. 

Regards,
Andras

On Aug 6, 2012, at 7:54 PM, Khrob Edmonds <email@hidden> wrote:

Those particular callbacks don't happen any more.

If you want to know when a central is interested in a particular characteristic, make it a subscribable one and watch for 


- (void)peripheralManager:(CBPeripheralManager *)peripheral central:(CBCentral *)central didSubscribeToCharacteristic:(CBCharacteristic *)characteristic;

and 

- (void)peripheralManager:(CBPeripheralManager *)peripheral central:(CBCentral *)central didUnsubscribeFromCharacteristic:(CBCharacteristic *)characteristic;


 Khrob
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: 
 >centralDid(Dis)connect not invoked (From: Andras Kovi <email@hidden>)
 >Re: centralDid(Dis)connect not invoked (From: Khrob Edmonds <email@hidden>)

  • Prev by Date: Re: centralDid(Dis)connect not invoked
  • Next by Date: Re: The activation time of the application running in the background
  • Previous by thread: Re: centralDid(Dis)connect not invoked
  • Next by thread: The activation time of the application running in the background
  • Index(es):
    • Date
    • Thread