BLE questions?

// Expert user has replied.
d david germain 1 year 10 months ago
23 1 0

BLE questions?
We need to be able to perform “background” Bluetooth (BLE) scans periodically even when the user does not have our application focussed. There may be a couple of potential problems with this:

It’s possible that any onboard Zebra software may require exclusive access to the Bluetooth hardware and so prevent us scanning.
Some OEM builds of Android have aggressive power-management policies that either prevent background tasks running or shut them down after a few hours.
AS i understand it MX gives the developers very granular control over he device hardware. If a Bluetooth headset is in use can i still scan for other devices at the same time (exclusive access)

And how much control do we have over the power of the on board hardware?

cheers

Please register or login to post a reply

1 Replies

J James Swinton-Bland

Hi,

You should be able to scan without issue. As far as I'm aware, nothing out-of-the-box requires full control of the BT stack. In terms of power management, you may want to look into disabling Doze Mode via MX: https://techdocs.zebra.com/mx/powermgr/ or alternatively, white-listing your app from Doze Mode: https://techdocs.zebra.com/emdk-for-android/6-9/mx/appmgr/#prevent-doze…

We have a full blog on application / power management here: https://developer.zebra.com/blog/keeping-your-android-application-runni…

Thanks,

James

CONTACT
Can’t find what you’re looking for?