Universal Windows Platform
This post shows (version 4.0) the JSON file that is loaded as start up and parsed to form a list of commands that is displayed in the left pane of the app’s UI
Read the rest of entry »
A Universal Windows App that mimics the web portal to a Windows 10 IoT Core device. Makes use of the web portal through REST and uses JSON to process the response for display. Can get ipconfig, processes, installed app, default app, OS info etc… All in an app.
This is a work in progress. The objective is to be able to directly load a Universal Windows App from an Appx package on a Windows 10 IoT RPI2, The blocking issue is a PIN requirement. I can package up the app and deploy it to my development machine and a Win 10 phone but not to my RPI2. Updated for Web Portal IoT Package installation.
There is no console for a Windows 10 IoT device. They can though be remotely accessed in a variety of ways. This blog summarises these options:
PowerShell, Default App Web Console, FTP, Remote File System and Visual Studio Debugger.
In my previous blog Windows 10 (including IoT) USB HID device identification was covered in detail. This included an app that takes the relevant IDs for an HID device and checks whether it is present on the system. Two of the IDs could be looked up via a menu as they come an HID Usage table. The menu data was loaded from a JSON (text) file and translated using Linq to a list that is the Xaml data source binding for the menu. This blog demonstrates the mechanism for loading JSON data from a text file into an Xaml ComboBox.
Human Interface Devices (HID) are supported in the “headful/headed” (viz. headless) version of Windows 10 IoT. Anything that takes users input for an app is an HID device, and can include devices such as screens that provide feedback to the user. Traditional HID devices are the mouse and keyboard, whereas gaming devices such as joystick, XBox controller and steering wheel are also HID devices. A barcode scanner or credit scanner are also be HID devices, A system with just a few push buttons to control it has those pushbuttons as a trivial HID. Technically the HID protocol was developed as a protocol for the USB-HID class such that devices that conform to that class do not need a specific driver.
This blog discusses a UWP (Universal) app that enumerates the drivers on a Windows 10 system (including IoT). Its like the Windows Device Manager app. Full source code is available.
Whilst the Raspberry Pi 2 has extensibility through GPIO, I2C, SPI and Single wire, the main interface for adding off-the-shelf peripherals is via USB. Unlike the desktop, there is though only a limited set of USB peripherals that can be used on the RPI2 running Windows 10 IoT in the first release. This series of articles looks at what is available and what the overarching issues are. The first Article is “Connected Devices”
The following is the comparison of the project files contents (.csproj) for a RC version of a Universal App with the RTM version of the project