c# - UWP app cannot establish Bluetooth connection to Arduino Uno -


i have button on uwp app function establish bluetooth connection arduino uno.

but nothing happens when click it. there have missed in code? no error message appears.

here code:

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); } 


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -