added support to retrieve the device serial number