How to set device’s Bluetooth name to match its personalized device name (Android )

V
velusamyc
HCL Technologies Sweden AB

We have a requirement to configure each device’s Bluetooth name to match its personalized device name.

Details are as follows:

  • Device Model: Honeywell CK65
  • Operating System: Android 10
  • MDM Platform: SOTI MobiControl Version 2025.1

Could you please let us know if there is a script available to achieve this, or if there are any alternative methods we can use within MobiControl?

Looking forward to your suggestions.

5 months ago
SOTI MobiControl
ANSWERS
RS
Rafael Schäfer
5 months ago

Hi velusamyc,

you can do this using the Honeywell Oem Config app.
Here's what i get out of the managed app config of it:

V
velusamyc
5 months ago

Thanks Rafael Schäfer

Unfortunately, the OEM Conf profile is not getting installed—it remains in a "Pending Install" state. We’ve attempted the usual steps, but the issue persists.

Would you happen to have any script or alternative method that could help us achieve this successfully?

Thank you for your findings and support on this matter.

RS
Rafael Schäfer
5 months ago

You need to provide the relevant app as well, not only the profile.

MD
Matt Dermody Diamond Contributor
5 months ago

Rafael has provided the solution to your current problem. The fact that you are not able to get OEMConfig working on the devices is a separate issue that likely deserves a dedicated thread. 

RK
Radim Kadlec
5 months ago

Your device may be non-GMS, then there may be a problem with OEMConfig...?

Anyway, you can try to create an XML file like the one below, push it into /sdcard/honeywell/persist/ and reboot.

<?xml version="1.0" standalone="yes"?>
<ConfigDoc name="DeviceConfig">
   <Section name="Wireless and networks">
      <Section name="Bluetooth">
         <Key name="BluetoothDeviceName">MyBTName</Key>
      </Section>
    </Section>
    <HHPReserved name="HHPReserved">
        <Section>
            <Key name="EXMVersion">1</Key>
        </Section>
    </HHPReserved>
</ConfigDoc>

V
velusamyc
5 months ago

Hi Radim,

Thank you for sharing the script. Yes, the XML file works as expected.

However, I have a question regarding the Bluetooth device name. Currently, it shows as "MyBTName", but we would like to personalize this. Is there a way to use the SOTI device's personalized name—specifically the variable %PERSONALIZED_DEVICE_NAME%—as the BluetoothDeviceName?

Looking forward to your guidance on how to implement this.




Thank you for your findings.

Velusamyc

RS
Rafael Schäfer
5 months ago

Hey Velusamyc,

you should be able to do that via Javascript (I would use it to write the whole XML).
The only problem I can think of at the moment is the macro which can't be used in JS (afaik) and even not grabbed by it.

So, is there some kind of logic to recreate this personalized name? If yes, this can be maybe done in JS as well.

Otherwise you would need to provide a unique XML with the correct value in line 5 of the XML provided by Radim here.

A
APMOD
5 months ago

Hi velusamyc,

Thank you for requesting a response from SOTI Support Staff

Thank you Rafael, Matt, Radim for responding to the query.

As suggested, to apply dynamic name as the Bluetooth device name, this can be achieved using an OEMConfig profile, provided the device meets the following conditions:

  • The device is enrolled as Android Enterprise (Device Owner/Fully Managed)

  • The appropriate OEMConfig app is installed on the device via Managed Google Play

Troubleshooting “Pending Install” for OEMConfig:

If the OEMConfig profile is stuck in “Pending Install,” please check the following:

  1. OEMConfig app is installed and approved via Managed Google Play.

  2. Google Play is functioning on the device and syncing with the Play Store.

  3. The device has a stable internet connection and MobiControl agent is active.

  4. The device is enrolled as Android Enterprise.

If you'd like assistance with configuring the OEMConfig profile, feel free to reach out. We also recommend opening a support case for guided troubleshooting.

Kind regards,

Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |