Re: IMEI via USB Interface
The Windows Phone SDK contains a tool called WPConnect, you can try if it supports anything similar. If you hack a device to behave as a modem, AT+CGSN command may provide some serial number.
Re: IMEI via USB Interface
[QUOTE=wizard_hu_;908004]The Windows Phone SDK contains a tool called WPConnect, you can try if it supports anything similar. If you hack a device to behave as a modem, AT+CGSN command may provide some serial number.[/QUOTE]
I dont think you can use WPConnect for that. WPConnect is usually used to debug apps without having the need to have Zune running. When you have Zune running there are certain tasks on WP that cant be launched on the physical device. This tool allows you to do it.
More info: [url]http://msdn.microsoft.com/en-us/library/gg180729(v=vs.92).aspx[/url]
As far as I know there is no API that exposed the IMEI and there is no way to get it by using the developer tools. That makes me think Mark, why do you need to get it by USB cable? Its available on the about screen on settings. If you have physical access to the devices, whats the point?
Re: IMEI via USB Interface
Thanks João and Wizard,
This application, or module, is needed to read the IMEI off devices that are presented to our warranty repair department. We track phones throughout the repair process by their IMEI / ESN. Often, the reason for repair is a broken or cracked screen that may preclude reading the IMEI from the firmware application that displays it.
Thanks for letting me know about the WPConnect utility! I will investigate that and post back to this thread what I find out.
Mark
Re: IMEI via USB Interface
Hi Mark,
If the device does not turn on? What if the malfunction prevents the devices from working properly, in a way that you cant connect using the USB? You will only be able to get that information at the very end of the repair. Do you start repairing a device before knowing if the device if under warranty?
Just trying to understand how that would work for you, because for example, my Lumia 900 does not have an IMEI anywhere on the body, and if I loose my original package and if the screen does not turn on, I have no way to know the IMEI. Thats why I usually take a picture of the box and attach it to the original Invoice just in case. Also In Portugal warranties are only possible to use if you have the original invoice and in that case having the IMEI or Serial is not required.
Back to the API, there was no way to get that information from Windows Phone 7.x and it seems that its still not possible to get it with WP8. If you find a way, please do share with us! :)
Re: IMEI via USB Interface
João,
That is precisely the conundrum we are facing as a repair facility. Being able to read the IMEI via a USB connection would be of no help in the event of a defective battery / non-booting device. But, devices often present for repair with a cracked screen (HTC's new 8x Accord model will display the IMEI in a firmware diagnostic mode).
Damaged screens are a very common repair scenario. So, these repairs aren't for the end user. Rather, we receive volume shipments of devices to be repaired / refurbished from several carriers. Some of them are warranty items while others are being reconditioned for a second life ...
Mark