Can't get wifi mac-address through OEMInfo

// Expert user has replied.
L Luca Silingardi 3 months 1 week ago
63 3 0

Hi, as per the subject, I am trying to retrieve the mac-address of the device via ProfileManager and OEMInfo.
Based on this example:
https://github.com/ZebraDevs/OEMIdentifiers-Java-Sample
I modified the xml and the various parts to replace the serial number retrieval with the mac-address, using this identifier: content://oem_info/oem.zebra.secure/wifi_mac
as indicated here: https://techdocs.zebra.com/oeminfo/consume/#acquiresecureinfo
However, while for the serial everything works correctly, the mac-address is not returned (maybe the identifier is not correct, the profile manager seems not to accept the authorization to the identifier).
Thanks

Please Register or Login to post a reply

3 Replies

L Luca Silingardi

I'm adding more info:

With an Android 13 device, seems to work correctly, but with an Android 11 device the same code doesn't work.

N Nicola De Zolt

Luca, as a start, double check two things

  1. the WIFI interface must be on, on the A11 device
  2. ensure you granted access permission to your applicationID for the server identifier content://oem_info/oem.zebra.secure/wifi_mac as shown here https://github.com/ZebraDevs/OEMINFO_WITH_STAGENOW, second image from top in the readme.md. 
N Nicola De Zolt

For the records, updating A11 device to the latest BSP currently available (LifeGuard Update 11-49-09.00-RG-U00) made the WIFI MAC URI available. Case closed!     

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