本文介绍了在使用Glass时,是否可以使用Google Glass上的micro USB连接到另一种类型的micro USB设备进行数据传输?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用Glass时,是否可以使用Google Glass上的micro USB连接到另一种类型的micro USB设备进行数据传输?这基本上是针对具有微型USB输出但由于行业法规而无法通过WIFI或蓝牙发送的传感器.显然,我必须编写一些软件,但是我的问题是关于硬件本身的.

Is it possible to use the micro USB on Google Glass to connect to another type of micro USB device for data transfer while the Glass is in use? This is basically for a sensor that has a micro USB output but can't be sent over WIFI or Bluetooth due to industry regulations. Obviously, I'd have to write some software but my question is in terms of the hardware itself.

谢谢!

推荐答案

根据 https://code.google.com/p/google-glass-api/issues/detail?id=258

从dmesg中可以看出,谷歌眼镜硬件支持带OTG电缆的USB主机模式,但是在发出这些消息时,系统配置不支持.有建议,可以通过使设备植根来对此进行修改.

It would appear from dmesg that the google glass hardware supports USB host mode with an OTG cable, however the system configuration at the time of those messages did not. There's a suggestion that this can be modified by rooting the device.

换句话说,这似乎是可能的-需要执行系统配置任务,然后软件开发人员可能会使用Android USB Host API (即问题在这里是话题).

In other words, it would appear to be possible - a system configuration task needs to be performed, and then the Android USB Host APIs could likely be used by a software developer (ie, the problem is on-topic here).

也有必要检查一下ADK模式(外部设备是USB主机)是否可行,或者如果不可行的话,则可以对ADB主机进行一些骇人听闻的嵌入式实现.

It could also be worth checking to see if the ADK mode (where the external device is the USB host) would be workable, or if not that then a somewhat hack-y embedded implementation of an ADB host.

这篇关于在使用Glass时,是否可以使用Google Glass上的micro USB连接到另一种类型的micro USB设备进行数据传输?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 20:00