Bluetooth module is taobao buy USB bluetooth module,
Using InTheHand.Net.Personal class library
Examples are all you need to set up online pin but actual pin number is invalid, the online demo feeling all have problems
Who can control the bluetooth module for automatic matching with cell phone? To specify the pin hopes have the example to fallen hopelessly
BluetoothAddress DeviceAddress=deviceAddresses [listBox1 SelectedItem. ToString ());
Blueclient. SetPin (DeviceAddress, textBox1. Text. The Trim ()); //that a specified pin is invalid
Blueclient. Connect (DeviceAddress, BluetoothService Handsfree);
CodePudding user response:
His ~ ~ ~ ~ ~ ~,CodePudding user response:
Someone? They look forward to a great god replyCodePudding user response:
Sell module didn't provide, speaking, reading and writing classes or dynamic library?CodePudding user response:
The landlord to solve the matching problem? I do this, I also use the USB bluetooth tried, or not, but matched once, even if broken, back links don't need pairing again,According to android development, said if bluetooth is 4.0, at least don't need pairing code between equipment and devices,
CodePudding user response:
Bluetooth 4.0 + is don't need a PIN,BluetoothAddress DeviceAddress=sendAddress;
//bluetooth 4.0 above without PIN
Blueclient. Connect (DeviceAddress, BluetoothService. SerialPort);