蓝牙选择设备屏幕旁路 [英] Bluetooth select device screen bypass

查看:97
本文介绍了蓝牙选择设备屏幕旁路的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

 

我正在为运行的HTC HD2设备开发.NETCF 3.5应用程序
WM6.5

我的问题是关于通过蓝牙与硬件设备的连接。每次我使用标准代码(下面)打开连接时,我都会从驱动程序中获取
选择设备屏幕(即使我只注册了一个设备):

My problem is regarding the connection to a hardware device via Bluetooth. Every time I open the connection using standard code (below) I get the select device screen from the driver (even if I have only one device registered):

 

      port = new SerialPort(portName,9600);

     port = new SerialPort(portName, 9600);

            port.DataBits = 8;

            port.DataBits = 8;

            port.Parity = Parity.None;

            port.Parity = Parity.None;

            port.RtsEnable = true;

            port.RtsEnable = true;

            port.DtrEnable = true;

            port.DtrEnable = true;

            port.StopBits = StopBits.One;

            port.StopBits = StopBits.One;

            //        port.ReceivedBytesThreshold = 10;

            //         port.ReceivedBytesThreshold = 10;

            port.DataReceived + = new SerialDataReceivedEventHandler(port_DataReceived);

            port.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived);

            port.ErrorReceived + = new SerialErrorReceivedEventHandler(port_ErrorReceived);

            port.ErrorReceived += new SerialErrorReceivedEventHandler(port_ErrorReceived);

     .....

    .....

      port.Open();

     port.Open();

我的蓝牙驱动程序版本如下:

My Bluetooth driver version is below:

 

< img src ="http://social.microsoft.com/Forums/getfile/18405/"alt ="">

有没有办法超越这个选择屏幕?

谢谢

推荐答案

如果您绕过选择表单,您是如何选择的?蓝牙驱动程序?
If you bypass the select form, how did you select the bluetooth driver?


这篇关于蓝牙选择设备屏幕旁路的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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