Pairing bluetooth in Android Enterprise

CD
Charles d'Avoine
Jersey Post

Greetings,

i'm struggling to get the following devices:

-Honeywell CT40, 50, 60

-Zebra TC57, 77

to pair with:

-Honeywell 86801

-Zebra RS6000

If the Computer devices are not enrolled they pair perfectly with a NFC bump but as soon as enrolled with SOTI they do not pair.

It appears that the device does not show the prompt for pairing after they are tapped with NFC but i cannot find a way to allow this prompt message to show?

6 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
6 years ago (edited 6 years ago)

Depending on how you enroll with Android Enterprise many system applications will be disabled by default. This can be circumvented by creating a custom QR or NFC tag with DPC Extras set to leave all System Apps Enabled. This can also be avoided by using StageNow for AEDO enrollment on the Zebra devices as that process also leaves all system apps enabled. You use the SOTI enable_system_app script to individually re-enable the important ones that have been disabled during the enrollment process as that will enable things like bluetooth pairing support to be returned. If you haven't gone too far in the process, I personally would recommend that you un-enroll and factory reset the devices that you have enrolled so far and then re-enroll them using an AEDO method that leaves the system apps enabled. 

This is the script that you could use on a Zebra devices for instance to just re-enable the bluetooth pairing capabilities but you'll find later that there are other system apps that you don't realize that you need that also have to be re-enabled. Better to start off with those apps and services enabled in the first place than to try to figure out which ones you need. 

enable_system_app com.zebra.bluetooth

CD
Charles d'Avoine
6 years ago

Hi Matt,

I probably should have confirmed earlier, all apps are are enabled as the devices were enrolled with NFC using Stage Programmer.

I have tried using scripts to enable the Bluetooth pairing prompt and i'm not sure what i did but this only worked once out of 100's of times.

do you have any ideas to solve this?

Thank you,

MD
Matt Dermody Diamond Contributor
6 years ago

Are you sure all of the system applications are still enabled? Do you see License Manager or DataWedge on the Zebra devices after their enrolled? StageProgrammer NFC pairing did NOT leave all system apps enabled when it was first released, and I'm not sure it even does now. If you had created a custom NFC tag outside of Stage Programmer then you could have manually added the DPC extra to that tag to leave all system apps enabled as the Stage Programmer app does not expose that configurability the last I checked. 

CD
Charles d'Avoine
6 years ago

on the Zebra TC57 i have gone into settings/apps &notifications/see all 59 apps click the 3 dots on the top right "show system" and then clicked "all apps"  and "disabled apps"  only "android system webview" is disabled

i have done an enrolment using the AFW#mobicontrol before and experienced the disabled apps issue and would have to enable all the apps with a script on soti but all of these devices do not have apps disabled.

i can open the zebra Bluetooth pairing utility, scan the barcode with the RS6000 and it will not connect. if i wipe the device and do not enrol with mobi control this works perfectly, the same issue happens with NFC pairing also.

Thank you,

MD
Matt Dermody Diamond Contributor
6 years ago

Okay, perfect. I definitely wanted to confirm the system apps piece as that is a common source of this problem. Do you have a Feature Control profile applied?

CD
Charles d'Avoine
6 years ago

Hi Matt,

the devices do have Feature contol enabled but i recently moved them to 'unassigned' groups that have only the remote control and wifi profiles in.

MD
Matt Dermody Diamond Contributor
6 years ago
CD
Charles d'Avoine
6 years ago

i've tried everything in that thread, there are no apps disabled, i think the scripts may be the solution but i don't understand what they are doing:

afw_set_permission_grant_state com.android.bluetooth

android.permission.bluetooth_privileged allow"

 add_allow_app

The rest of the tread is about lock down which i'm out of currently so i'm not sure how it applies.

Thank you,

MD
Matt Dermody Diamond Contributor
6 years ago

Re-reading through your request you may actually want to Apply a Feature Control Profile and then specifically enable NFC support. There are Feature Control configurations that are set by default when you enroll in AE and you actually have to use a Feature Control profile to change them back:

CD
Charles d'Avoine
6 years ago

Hi Matt,

I actually started with feature control enabled like so:

It was only in me trying to find the cause of the issue that led me to remove all profiles to see if they were interfering with the connection.

Thank you,

CD
Charles d'Avoine
6 years ago

Through further trial and error i have found that i can pair both scanning devices with any computer if they are paired as HID, any other mode does not allow the connection.