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

iphone can not get ibeacon's data when in "background mode"

I am trying to build a ibeacon device, but when iphone in "background mode", it can not get data from ibeacon device. I used test code :examples\ble_peripheral\ble_app_beacon. What's wrong with the test code?

Parents
  • What do you mean by " it can not get data from ibeacon device" ?

    What data are you getting from the iBeacon. If its just an iBeacon it has no data

    iOS handles iBeacons in a special way and has different handling of BLE devices when in background mode. It also does strange things in foreground as well e.g. seems to degrade the number of advertising packets it receives over time. So it starts skipping multiple advertisements.

Reply
  • What do you mean by " it can not get data from ibeacon device" ?

    What data are you getting from the iBeacon. If its just an iBeacon it has no data

    iOS handles iBeacons in a special way and has different handling of BLE devices when in background mode. It also does strange things in foreground as well e.g. seems to degrade the number of advertising packets it receives over time. So it starts skipping multiple advertisements.

Children
No Data
Related