locked
Need help with metadata authoring wizard for TI CC2541 TIKeyFobSample

    Question

  • Hi,
    I am trying to use the TIKeyFobSample on windows 8.1. 
    I get the following message in the app
    Getting the device failed with error: 80070005  
    which is Access Denied
    I realized i need to associate the Metadata for the Windows Store App. But i am stuck at this point since i have no idea what should be the device category,manufacturer,model etc.  that needs to be selected/specified in the Device Metadata Authoring Wizard for this sample.
    I have already installed the WpdTICC2540SimpleKeysService driver successfully.
    Also i believe the device is successfully paired since under Devices and Printers in Control Panel it shows as
    TI BLE Keyfob.
    I have searched on msdn for answers, but none have so far responded on how the Device Metadata Authoring Wizard need to be used in this case.
    e.g.
    http://social.msdn.microsoft.com/Forums/windowsapps/en-US/e07ee975-c86b-48e1-a829-5f755efae715/bluetooth-le-metro-app?forum=tailoringappsfordevices
    Kindly help.
    thanks,
    pradeep
    Tuesday, January 21, 2014 12:54 AM

All replies

  • My "Best TI SensorTag BLE" code works with the TI SensorTag; that includes some buttons which look similar to the Keyfob.  Source code for that program is available.

    Some hints: I didn't use the authoring stuff at all; instead, you have to make sure that the application manifest includes the right set of capabilities.  This has to be entered by hand.  The Best TI SensorTag BLE program has the following as the manifest:

    <?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="48425ShipwreckSoftware.BestTISensorTagBLE" Publisher="CN=9A3276B6-661B-463D-9598-EFFF0974120A" Version="1.5.0.3" />
      <Properties>
        <DisplayName>Best TI SensorTag BLE</DisplayName>
        <PublisherDisplayName>Shipwreck Software</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="TISensorTag.App">
          <m2:VisualElements DisplayName="Best TI SensorTag BLE" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="TISensorTag" ForegroundText="light" BackgroundColor="#464646">
            <m2:SplashScreen Image="Assets\SplashScreen.png" />
          </m2:VisualElements>
        </Application>
      </Applications>
      <Capabilities>
        <!-- Important: These capabilities are required to work with GATT type Bluetooth devices.
              The values are not enterable from the UI; you have to type them in by hand.
        -->
        <m2:DeviceCapability Name="bluetooth.genericAttributeProfile">
          <m2:Device Id="any">
            <m2:Function Type="name:genericAttribute" />
            <m2:Function Type="serviceId:F000AA00-0451-4000-B000-000000000000" />
            <!-- Thermometer -->
            <m2:Function Type="serviceId:F000AA10-0451-4000-B000-000000000000" />
            <!-- Accelerometer -->
            <m2:Function Type="serviceId:F000AA20-0451-4000-B000-000000000000" />
            <!-- Humidity -->
            <m2:Function Type="serviceId:F000AA30-0451-4000-B000-000000000000" />
            <!-- Magnetometer -->
            <m2:Function Type="serviceId:F000AA40-0451-4000-B000-000000000000" />
            <!-- Barometer -->
            <m2:Function Type="serviceId:F000AA50-0451-4000-B000-000000000000" />
            <!-- Gyroscope -->
            <m2:Function Type="serviceId:0000FFE0-0000-1000-8000-00805f9b34fb" />
            <!-- Buttons -->
          </m2:Device>
        </m2:DeviceCapability>
      </Capabilities>
    </Package>

    Thursday, February 13, 2014 8:35 PM