This project has moved. For the latest updates, please go here.
1

Closed

Windows RT cannot connect to EV3...

description

Hello. I'm using this code to connect to brick via bluetooth. But it throws a Exception. It says "Unable to connect to Lego EV3 Brick...is the manifest properly?". What is "manifest"? Package.appxmanifest is
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">
  <Identity Name="a907fb1a-1854-4118-b975-cafb6691f61d" Publisher="CN=cqjjj_000" Version="1.0.0.0" />
  <Properties>
    <DisplayName>LegoMindstormEV3Controller</DisplayName>
    <PublisherDisplayName>Charlie Jiang</PublisherDisplayName>
    <Logo>Assets\StoreLogo.png</Logo>
  </Properties>
  <Prerequisites>
    <OSMinVersion>6.3.0</OSMinVersion>
    <OSMaxVersionTested>6.3.0</OSMaxVersionTested>
  </Prerequisites>
  <Resources>
    <Resource Language="x-generate" />
  </Resources>
  <Applications>
    <Application Id="App" Executable="$targetnametoken$.exe" EntryPoint="LegoMindstormEV3Controller_RT.App">
      <m2:VisualElements DisplayName="Lego Mindstorm EV3 Controller" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="LegoMindstormEV3Controller_RT" ForegroundText="light" BackgroundColor="#464646" ToastCapable="true">
        <m2:SplashScreen Image="Assets\SplashScreen.png" BackgroundColor="#FFFFFF" />
        <m2:InitialRotationPreference>
          <m2:Rotation Preference="landscape" />
        </m2:InitialRotationPreference>
      </m2:VisualElements>
    </Application>
  </Applications>
  <Capabilities>
    <Capability Name="privateNetworkClientServer" />
    <Capability Name="removableStorage" />
    <Capability Name="internetClientServer" />
  </Capabilities>
</Package>
Thank you!
Closed Dec 21, 2014 at 5:15 PM by peekb

comments

peekb wrote Dec 21, 2014 at 5:14 PM

Please read the documentation here:

http://legoev3.codeplex.com/documentation#WinRT