How to know when to retrieve connected ble device while app is in background and its connected first in ios system?

前端 未结 1 1226
闹比i
闹比i 2021-01-28 18:04

Our BLE device is using ANCS and being connected as peripheral in the ios app. My problem happens in case when watch is being connected in settings screen first then it doesnt s

相关标签:
1条回答
  • 2021-01-28 19:01

    Seems like I don't need to scan for device once its discovered, connected and successfully paired. In didDisconnect function I am retrieveing the ble device and sending a connect request See this, this function doesn't time out. Whenever BLE device will come into the range it will be connected.

    0 讨论(0)
提交回复
热议问题