加速度计数据的无线协议

发布于 2024-08-04 16:40:15 字数 151 浏览 1 评论 0原文

我正在构建一个应用程序,其中使用带有加速计的手机来控制计算机上的应用程序,就像使用鼠标一样。所以我需要通过某种无线协议将手机的运动发送到计算机。我正在考虑使用蓝牙,但我不确定传输延迟会是多少。另一种可能性是使用 802.11g。你怎么认为?如果我没有达到带宽限制,预计会有多长时间的延迟?

I'm building an application where a mobile phone with an accelerometer is used to control an app on a computer in a similar way you would use a mouse. So I need to send the movement from the phone to the computer over some wireless protocol. I am thinking about using Bluetooth but I am not sure what transfer delay to expect. Another possibility is using 802.11g. What do you think? What delay could I expect given that I don’t hit the bandwidth limit?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

云巢 2024-08-11 16:40:15

我与摩托罗拉的一个团队合作,他们使用蓝牙将外部加速计包连接到手机。这项工作支持了 USC GamePipe 实验室的一个手机游戏开发课程,速度足以掌控学生开发的手机游戏。您需要确保手机的蓝牙堆栈启用了正确的配置文件以允许数据通信。

I worked with a group at Motorola who linked up an external accelerometer pack to a mobile phone using Bluetooth. This work supported a mobile games development class at USC's GamePipe Laboratory, and the speed was sufficient to control the mobile games developed by the students. You'll need to make sure your handset's Bluetooth stack has the correct profile enabled to allow data communication.

隔纱相望 2024-08-11 16:40:15

蓝牙相对于 802.11g 的另一个优势是,蓝牙使用的跳频技术使其不易受到附近同一频率上所有其他 802.11 设备的干扰。

我不认为加速计发送的数据量会给蓝牙带来任何问题。

Another advantage of Bluetooth over 802.11g is that the frequency hopping Bluetooth uses will make it less vulnerable to interference by all the other 802.11 devices in the vicinity, which sit on one frequency.

I wouldn't expect the amount of data sent by an accelerometer would give Bluetooth any problems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文