The project I'm following can be found at this site remote-wiring/README.md at develop · ms-iot/remote-wiring · GitHub
But in my case I'm using USB cable connection, not Bluetooth.
I have followed the intstructions, but still I can't get it to work. Following error message appears when I try to deploy the solution ,
Error DEP6200: Bootstrapping failed. Device cannot be found. SmartDeviceException - Deployment failed because no device was detected. Make sure a device is connected and powered on. [0x80131500] ControlApp
Here is also my Package.appxmanifest file. Here I'm trying with the USB cable connection. Is this file ok?
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="2f2ff961-d402-44e3-917a-f78fa72b3347"
Publisher="CN=XY"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="2f2ff961-d402-44e3-917a-f78fa72b3347" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>ControlApp</DisplayName>
<PublisherDisplayName>XY</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="ControlApp.App">
<uap:VisualElements
DisplayName="ControlApp"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="ControlApp"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="serialcommunication">
<Device Id="any">
<Function Type="name:serialPort" />
</Device>
</DeviceCapability>
</Capabilities>
</Package>
But with the Remote Arduino Experience App it work fine with both Bluetooth and USB cable.
I have newest Arduino version 1.8.3 installed when I uploaded to StandardFirmata sketch to the Arduino UNO. I have also tried to update StandardFirmata library to newest version.
For the moment I am using Microsoft Visual Studio Community 2017 Version 15.2 (26430.14) when
trying to deploy the solution to Arduino device.
Arduino Uno devices board info is
BN: Arduino/Genuino Uno
VID: 2A03
PID: 0043
As you can see in the code below I have correctly? implemented the VID and PID values.
public sealed partial class MainPage : Page
{
UsbSerial connection;
RemoteDevice arduino;
public MainPage()
{
this.InitializeComponent();
connection = new UsbSerial("VID_2A03", "PID_0043");
arduino = new RemoteDevice(connection);
connection.begin(57600, SerialConfig.SERIAL_8N1);
connection.ConnectionEstablished += OnConnectionEstablished;
}
I have also put two pictures as attachments from project's Reference Manager.
Can someone help me how to find an solution for this problems?
I can't understand what I'm missing because as mentioned before I have followed all the instruction according to the project. It has to be something when I trying to deploy my solution to Arduino Uno with Visual Studio 2017.
