提供了无效参数- Parani模块

本文关键字:Parani 模块 参数 无效 | 更新日期: 2023-09-27 18:07:25

我在使用Windows 8时遇到了一些问题:下面的代码在以前的Windows版本中都能正常工作。

BluetoothSecurity.PairRequest(_myAddress,PIN);
_BTClient.Connect(_myAddress,InTheHand.Net.Bluetooth.BluetoothService.SerialPort);
return _BTClient.GetStream();

"Connect"方法总是抛出异常

System.Net.Sockets。SocketsException:{"提供的参数无效*_myAddress*:0000110100001000800000805f9b34fb"}。"

发现工作正常,所以我想BT无线电工作。

硬件为"Dell Wireless 380 Bluetooth 4.0 Module"。

我正在连接一个Parani模块ESD100V2

感谢您提供的解决方案/建议/提示

提供了无效参数- Parani模块

您所做的PairRequest返回真还是假?

无论如何,我过去使用过的Parani设备在未配对时存在连接错误。因此,为了检查这一点,通过Windows UI手动配对,看看连接是否正常。