Question

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

Était-ce utile?

La solution

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"

Autres conseils

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 .

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top