如何在 Windows Phone 7 中通过 GPRS 进行点对点通信
有人可以帮助找出我们如何通过 gprs 与 Windows Phone 7 和台式计算机进行点对点通信的任何方法吗?
请它成为我们项目的一个阻碍。
谢谢
编辑 1:
Yahya,计算机有互联网,还有带有网络提供商 sim 的 gsm 调制解调器,手机也有 sim。无论他们在哪里,他们都有互联网,我们希望看到对方,或者可以通过 gsm 互相发送消息,因为当具有来自移动网络运营商的适当数据启用 SIM 卡的 GSM 调制解调器连接到计算机时,计算机应该能够通过 gprs 与手机通话,因为手机还持有有效的支持 gprs 的 SIM 卡。
can somebody help in finding out any way about how we can do point to point communication with windows phone 7 and a desktop computer over gprs.
Please it has becoma a showstopper for our project..
Thanks
Edit 1:
Yahya, The computer is having internet and also gsm modem with a network provider sim and the mobile is also having a sim. Where ever they are they have internet and we want to see each other or can send msg to each other over gsm, because when a gsm modem having proper data enabled sim from a mobile network operator is attached to a computer then the computer should able to talk to the mobile over gprs, because the mobile is also holding a valid gprs enabled sim.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的端点 Windows Phone 7 和桌面版都内置有 SIM 卡(或带有 SIM 卡的调制解调器),您肯定知道这些 SIM 卡的电话号码。
如果您想通过 GSM 或 SMS 进行通信,您可以从一方发送 SMS(短消息)并解析双方收到的消息,并通过检查发件人号码而不是解析中的数据来检查消息是否来自另一方根据需要发送消息。
不同的是,如果您通过 GPRS 或数据传输并且位于 Internet 上,则桌面可以在 IIS 中托管 Web 服务,以便手机可以直接连接到此类 Web 服务并调用传递所需传输数据的方法。
事实上,您只需要手机知道服务器或台式机的 IP 地址,并在数据连接可用时通过互联网连接和使用网络服务,如果数据连接不可用,您可以向台式机的 SIM 卡发送短信。
Provided that both your endpoints Windows Phone 7 and Desktop have a SIM (or modem with a SIM) inside, you surely know the phone numbers of those SIMs.
if you want to communicate via GSM or via SMS you can send a SMS (Short Message) from one to the other and parse received messages on both and check if the message comes from the other side by checking the sender number than parse the data in the message as needed.
Differently if you go over GPRS or Data Transfer and you are on the Internet then the desktop could host a web service in IIS for example so the Phone can directly connect to such web service and call a method passing the data required to be transferred.
in fact you only need the phone to know the IP address of your server or desktop and to connect and consume the web service via the Internet when data connection is available and if not you can send a SMS to the desktop' SIM card.