This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble advertising can't be searched by ios app on background

Hi,

my ble device mcu is 51822 with sdk11,when my ios app on frontend,it can search the ble advertising immediately,but when my app runs on background,it can't search the advertising of the device。ios offical doc says that it supports ble scan on background while specified the service UUID. i don't know wether the device should do some special ble advertising setting for this?

Best regards. 
Parents
  • So, trying to answer you question here. I do not think there are any special advertising required on the peripheral to do background scanning on iOS. obviously the service has to be present. And I would recommend you take a look at the bluetooth design guidelines from apple and also the follow the core bluetooth background processing guide. Note that the scanner settings will most likely be more relaxed when iOS performs background scanning so if you have long advertisement intervals on your peripheral it could take a while for a connection to be established.

Reply
  • So, trying to answer you question here. I do not think there are any special advertising required on the peripheral to do background scanning on iOS. obviously the service has to be present. And I would recommend you take a look at the bluetooth design guidelines from apple and also the follow the core bluetooth background processing guide. Note that the scanner settings will most likely be more relaxed when iOS performs background scanning so if you have long advertisement intervals on your peripheral it could take a while for a connection to be established.

Children
No Data
Related