How do I get Device ID from DIA?


I have created a custom device on a DIA project similar to existing devices in structure. I want to be able to read the device id of the Xbee Gateway. How do I do that?


Figured it out.

from common.digi_device_info import get_device_id

gatewayID = get_device_id()

returns a hex value of the device id.