Windows Phone 7的套接字和串行端口 [英] Sockets and Serial Ports with Windows Phone 7

查看:76
本文介绍了Windows Phone 7的套接字和串行端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们公司销售带有Windows Mobile或Windows CE的掌上电脑和我们的应用程序。 我们的紧凑型框架应用程序通过serail端口或蓝牙与各种设备通信,并通过套接字将信息发送回中央服务器。 
从我读到的内容Windows Phone 7是新的移动平台,但不支持串口或套接字。 我们还没有转移到Visual Studio 2010,因为它不支持紧凑框架。 我需要知道微软的发展方向,所以我可以为我们公司的未来做好计划,现在看来我们已经搞砸了。 有什么想法...我错过了什么吗?

Our company sells handheld computers with Windows Mobile or Windows CE and our application.  Our compact framework application talks to various devices via the serail port or bluetooth and sends the information back to a central server via sockets.  From what I read Windows Phone 7 is the new mobile platform but does not support serial ports or sockets.  We have not moved to Visual Studio 2010 because it does not support the compact framework.  I need to know where Microsoft is heading so I can plan for the future of our company, right now it seems like we are screwed.  Any thoughts...am I missing anything?

推荐答案

从我的角度来看(想)我明白,你读过的内容是正确的,至少在当前版本的Windows Phone中是这样。 也许情况会发生变化,"在路上",但是任何知道的人都可能不会这么说。

From what I (think) I understand, what you have read is correct, at least with the current version of Windows Phone.  Perhaps the situation will change, "down the road," but anyone who knows probably cannot say so.

当然,硬件会限制串口访问,因为它没有内置的串口,这种访问只能通过SPP进行(蓝牙串口协议)。 并且,AFAIK,此类支持不存在。

Naturally, the hardware will limit serial port access, since it does not have a built-in serial port, such access could only be by SPP (Serial Port Protocol over Bluetooth).  And, AFAIK, such support is not present.

对Socket通信没有任何类似的限制,因此该部分可能只是留给未来。

There isn't any comparable limitation to Socket communication, so that portion may simply have been left to the future.

Dick


这篇关于Windows Phone 7的套接字和串行端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆