0

I am using background fetch mode in plist . when we connect the peripheral to device its working in background for few moment but after 10-15 minute its automatically disconnect. I want my peripheral is always connect . which method is called when application wakeup from background ..

Shashank
  • 3
  • 2
  • Have you specified background fetch mode or background Bluetooth mode? – Paulw11 Apr 09 '15 at 07:16
  • ya already declared in plist ..Required background modes – Shashank Apr 09 '15 at 07:18
  • Then in your didDisconnectPeripheral method you should reconnect to the peripheral – Paulw11 Apr 09 '15 at 07:20
  • its not connected notification will gone we cant detect tag button – Shashank Apr 09 '15 at 07:25
  • Is it possible that your peripheral is shutting down? If so there is nothing you can do from the central side apart from issuing a "connect". Core Bluetooth will automatically connect and call didConnectPeripheral when the peripheral is seen again – Paulw11 Apr 09 '15 at 07:28

0 Answers0