Bluetooth LE Device scan in background from iOS

后端 未结 2 998
情歌与酒
情歌与酒 2021-01-04 23:15

I am working on to scan BLE in Background mode.

Issue is not working in Background scan. Its working very fine in Foreground mode.

Below is

2条回答
  •  醉酒成梦
    2021-01-04 23:37

    You cannot scan for nil services in the background - you must specify the service(s) that you are interested in. From the documentation

    Apps that have specified the bluetooth-central background mode are allowed to scan while in the background. That said, they must explicitly scan for one or more services by specifying them in the serviceUUIDs parameter.

提交回复
热议问题