Communicate with BTLE device from backgrounded iOS app

前端 未结 2 1042
旧巷少年郎
旧巷少年郎 2021-02-06 18:11

How can one communicate with BTLE enabled devices in the background of iOS 5?

相关标签:
2条回答
  • 2021-02-06 18:34

    I had the same question (issue) last week and someone gave me the answer. It is possible, and to do so, you need to add the following setting to you info.plist file:

    UIBackgroundModes (or Required background modes) -> "bluetooth-central"

    0 讨论(0)
  • 2021-02-06 18:35

    This is not really an answer to your question per see, but I was thinking of doing the same and found out the following requirements ( which drove me away from using it):

    This is part of ios 5.0 SDK

    The support is only for Bluetooth 4.0 devices, ie iPhone 4S only right now and for devices that support that, ie. consequently can attach to bluetooth 4.0 standard.

    Just fyi.. Some Reference .

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