IDTech Windows SDK Guide  1.1.93.0
API reference for Kiosk III
Add Device Details to the Application's Manifest

In order for your application to recognize the device, the device's details must be added to the application's manifest file.

Open up your project's Package.appxmanifest file by right-clicking on it in the Solution Explorer, selecting "Open With...", and then choosing "XML (Text) Editor".

manifest_uwp.png

Search for the "Capabilities" tag and add the following code in between:

<!-- HID Devices -->
<DeviceCapability Name="humaninterfacedevice">
<!-- KIOSKIII -->
<Device Id="vidpid:0ACD 1599 usb">
<Function Type="usage:FF00 0001"/>
</Device>
<!-- KIOSKIII (SRED) -->
<Device Id="vidpid:0ACD 3710 usb">
<Function Type="usage:FF00 0001"/>
</Device>
</DeviceCapability>
<!-- Serial Devices -->
<DeviceCapability Name="serialcommunication">
<!-- Any serial device -->
<Device Id="any">
<Function Type="name:serialPort"/>
</Device>
</DeviceCapability>


The aforementioned code contains the possible combinations of vendor IDs (VID), product IDs (PID), and connection types that a Kiosk III device can have depending on its configuration.

The Package.appxmanifest file should now look similar to the following:

<?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="725860f6-9617-4e1c-8bff-a1bbc9cddb4b"
Publisher="CN=davidt"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="725860f6-9617-4e1c-8bff-a1bbc9cddb4b" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>KioskIII_Simple_Demo_UWP</DisplayName>
<PublisherDisplayName>davidt</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="KioskIII_Simple_Demo_UWP.App">
<uap:VisualElements
DisplayName="KioskIII_Simple_Demo_UWP"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png"
Description="KioskIII_Simple_Demo_UWP"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"/>
<uap:SplashScreen Image="Assets\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<!-- HID Devices -->
<DeviceCapability Name="humaninterfacedevice">
<!-- KIOSKIII -->
<Device Id="vidpid:0ACD 1599 usb">
<Function Type="usage:FF00 0001"/>
</Device>
<!-- KIOSKIII (SRED) -->
<Device Id="vidpid:0ACD 3710 usb">
<Function Type="usage:FF00 0001"/>
</Device>
</DeviceCapability>
<!-- Serial Devices -->
<DeviceCapability Name="serialcommunication">
<!-- Any serial device -->
<Device Id="any">
<Function Type="name:serialPort"/>
</Device>
</DeviceCapability>
</Capabilities>
</Package>