2014-06-10 11 views
0

我读过杰里尼克松的帖子在话题 http://blog.jerrynixon.com/2012/05/metro-answers-can-i-use-serial-port.html 和结论GPS数据我来是你可以,但只是偶尔,现在我遇到了这个博客文章http://blogs.msdn.com/b/wsdevsol/archive/2013/12/03/my-gps-sensor-is-not-working-with-windows-store-apps.aspx,它似乎解决了我刚刚用不同的设备的确切问题。你怎么能读取天卫星ND-100S USB加密狗GPS在Windows Metro应用

我还没有能够拿出一个解决方案:http://www.amazon.com/gp/product/B003WNHGAO/ref=oh_details_o00_s00_i00?ie=UTF8&psc=1所以我真的希望有其他人。

我找过这个GNSS驱动程序,但没有运气。有没有人有任何使用此设备和Windows 8/8.1地铁应用程序的经验?

否则我认为我唯一的追求只是将我的应用程序构建为常规的WPF应用程序。

当驱动程序安装使用

public static void ListComPorts() 
{ 
    // Get a list of serial port names. 
    string[] ports = SerialPort.GetPortNames(); 

    // Display each port name to the console. 
    foreach (string port in ports) 
     Console.WriteLine(port); 
} 

,因为现在这个加密狗您通过通讯端口与它通信(虚拟串口) enter image description here

,那么你可以列出所有可用的COM端口System.Management命名空间不适用于metro样式的应用程序,我有点卡住了。

任何帮助将被赞赏,即使这是“扔在毛巾上,并与WPF应用程序。”。

回答

1

你可以在这里尝试司机: http://www.turboirc.com/gps7/

它可以把COM端口GPS设备到传感器系统管理员,那么你可以使用它作为一个正常的GPS传感器。