WM 5 SDK 符号
我们拥有大量的 Window Mobile 设备(符号 MC35 和 MC70)。 我想编写一个小应用程序来获取设备序列号和SIM卡序列号(不是电话号码)。 我尝试使用 Symbol SDK,并且可以获取 MC70 的设备序列号,因为它们具有电子序列号模块。 但不确定如何获取 Sim 详细信息。 如果我无法从 MC35 获取设备序列号,我可以获取 IMEI 号码吗?
这样做的目的是让我可以随时保留什么 SIM 卡在什么手持设备中的最新记录。 我将把数据写入注册表文件,SOTI Mobile Control 将在其中将其链接到该手持设备。
We have a large number of Window Mobile Devices (Symbol MC35 & MC70). I want to write a small app that gets the device serial number and simcard serial number (not phone number). I have tryed using the Symbol SDK and I can get the Device Serial Number for the MC70s as they have a Electronic Serial Number Module. But not sure how to get the Sim Details.
If i am unable to get the Device Serial Number From the MC35s can I get the IMEI number?
The porpose behind this is so I can keep a upto date record of what sim is in what handheld as any time. I am going to write the data to a registy file where SOTI Mobile Control will link it to that handheld.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您正在执行 lineGetGeneralInfo TAPI 调用。 您想要查看订阅者编号,该编号使用 LINEGENERALINFO 构造调用返回。
You're after the lineGetGeneralInfo TAPI call. You want to look at the subscriber number, which is located using the dwSubscriberNumberSize and dwSubscriberNumberOffset members of the LINEGENERALINFO structure the call returns.
请参阅此处了解 SIM 管理功能。 如果存在的话,我找不到任何用于检索 SIM ID 的内容。 我想您可以通过电话号码识别 SIM 卡。 两张不同的 SIM 卡可以拥有相同的电话号码吗? 要获取电话号码,请使用 Windows Mobile SDK 中的 GetPhoneNumber 示例。
至于识别手机,正确的方法是读取Device ID。 SDK 中同样有 GetDeviceID 示例(两者都位于 Common\CPP\Win32 中)。 从示例的自述中复制:
如果您想检索 IMEI,请参阅示例 这里。
See here for SIM management functions. I can't find anything for retrieving a SIM ID, if such a thing exists. I suppose that you can identify the SIM by the phone number. Is it possible two different SIMs to have the same phone number? To get the phone number there is the GetPhoneNumber sample in the Windows Mobile SDK.
As for identifying the phone, the correct way is to read the Device ID. Again there is the GetDeviceID sample in the SDK (Both are in Common\CPP\Win32). Copying from the sample's read me:
If you want to retrieve the IMEI, see for example here.