Back to top

Device returning incorrect MAC address

Environment

Knox SDK

Overview

Some users are experiencing an issue where the incorrect MAC address for a device is returned when the Android method getHardwareAddress() is called.

Cause

The device’s Wi-Fi setting must be turned on at least once after each reboot. If the Wi-Fi setting is not turned on, a dummy value will be returned when retrieving the device’s MAC address through getHardwareAddress().

Resolution

On the device, turn the Wi-Fi setting on before calling getHardwareAddress() . Turning on the Wi-Fi setting ensures that the correct MAC address for the device is returned.

Back to KBAs

Is this page helpful?