Posts: 12
Joined: Fri Oct 21, 2016 8:01 am

UWP app cannot establish Bluetooth connection to Arduino Uno!

Wed Sep 13, 2017 6:58 pm

I have button on my UWP app, which function is to establish Bluetooth connection to Arduino Uno.
But nothing happens when I click it. Is there something I have missed in code?
No error message appears.

Here is the code!

Code: Select all

private void buttonStart_Click(object sender, RoutedEventArgs e)
          BluetoothSerial connection;
          RemoteDevice arduino;
          connection = new BluetoothSerial("RNBT-9D4F");
          arduino = new RemoteDevice(connection);
          arduino.DeviceReady += OnDeviceReady;
          connection.begin(115200, SerialConfig.SERIAL_8N1);

Return to “Windows 10 for IoT”

Who is online

Users browsing this forum: No registered users and 2 guests