• 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
Bluetooth app/iOS issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bluetooth app/iOS issue


  • Subject: Bluetooth app/iOS issue
  • From: Darren Jones <email@hidden>
  • Date: Sat, 09 Aug 2014 19:09:06 +0100

Hi,

I have an app that connects to peripherals and alerts when they go out of range.
I’ve just discovered a bug which I cannot find a solution to so was wondering if it is an iOS issue or another known issue.

Sometimes when connected/subscribed to 2 peripherals and they go out of range didDisconnectPeripheral is called as expected, however I can not seem to reconnect and subscribe to them again.

I get to the point where didConnectPeripheral is called and I call
[peripheral discoverServices:@[[CBUUID UUIDWithString:TRANSFER_SERVICE_UUID], [CBUUID UUIDWithString:TI_KEYFOB_BATT_SERVICE_UUID]]];
but didDiscoverServices is never called. Why would this not be called?

Now for the strange bit which makes me think it’s an iOS issue…

If I completely kill the app and relaunch it, I still have the same problem (Can’t discover services).
If I delete the app and reinstall it, I still have the same problem.

The only way I can get the app to work properly again, is to reboot the phone at which point it’ll happily discover the services again.


Any help would be greatly appreciated.

Thanks

Darren
 _______________________________________________
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: Bluetooth app/iOS issue
      • From: Effie Arditi <email@hidden>
  • Prev by Date: Re: didDiscoverServices not being called
  • Next by Date: Re: Bluetooth app/iOS issue
  • Previous by thread: Re: didDiscoverServices not being called
  • Next by thread: Re: Bluetooth app/iOS issue
  • Index(es):
    • Date
    • Thread