windows 10 iot core, a real sample

22
www.xedotnet.org XeIdentityDevice - Windows 10 IoT Core, a "real case" Mirco Vanini Microsoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)

Upload: mirco-vanini

Post on 23-Jan-2017

985 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Windows 10 IoT Core, a real sample

www.xedotnet.org

XeIdentityDevice - Windows 10 IoT Core, a "real case"

Mirco VaniniMicrosoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)

Page 2: Windows 10 IoT Core, a real sample

Platform Convergence

Windows 10 for Industry Devices

Windows Universal App Platform

The hardware parts

Put all together

04/04/16 2

Agenda

Page 3: Windows 10 IoT Core, a real sample

04/04/16 3

Platform Convergence Journey

Page 4: Windows 10 IoT Core, a real sample

04/04/16 4

Windows 10 for Industry Devices

Page 5: Windows 10 IoT Core, a real sample

04/04/16 5

Windows 10 Industry Editions

Page 6: Windows 10 IoT Core, a real sample

04/04/16 6

Windows Universal App Platform

Page 7: Windows 10 IoT Core, a real sample

04/04/16 7

Building IoT Devices with UAP

Page 8: Windows 10 IoT Core, a real sample

04/04/16 8

Porting Existing Apps/Drivers to Windows 10 IoT for Small Devices

Page 9: Windows 10 IoT Core, a real sample

A 900MHz quad-core ARM Cortex-A7 CPU

1GB RAM

4 USB ports

40 GPIO pins

Full HDMI port

Ethernet port

Combined 3.5mm audio jack and composite video

Camera interface (CSI)

Display interface (DSI)

Micro SD card slot

VideoCore IV 3D graphics core

04/04/16 9

Raspberry PI 2 Model B

Page 10: Windows 10 IoT Core, a real sample

Interfaces: PS2, RS-232, USB-HID, USB Virtual COM, WAND, OPOS, JPOS

BarCode (1D): UPC/EAN/JAN, UPC-A & UPC-E, EAN-8 & EAN-13, JAN-8 & JAN-13, ISBN/ISSN, Code 39, Codabar, Code 128 & EAN 128, Code 93, ITF 2 of 5, IATA Code, MSI, China Postal Code, Code 32, Industrial 2 of 5, Standard 2 of 5, JAP, Code 11, GS1 DataBar, GS1 DataBar Limited, GS1 DataBar Expanded

04/04/16 10

AXON – CS2200

Page 11: Windows 10 IoT Core, a real sample

NFC Forum device requirements V1.3 compliant for all modes

Integrated communication protocols to support Read/Write, Peer-to-Peer, and Card Emulation mode

Supports NFC Forum Type 1/2/3/4/5 Tags

Drivers for easy integration into Linux, Android and Windows IoT based systems

NCI over I²C host interface

PN7120 NFC Controller Board: Main board including a PN7120 NFC controller, an integrated antenna, an option for custom antennas as well as unified connectors to the interface boards

04/04/16 11

NXP - PN7120 NFC Controller SBC

Page 12: Windows 10 IoT Core, a real sample

USB Wireless N 150Mbps

Seamlessly compatible with 802.11b/g/n products

Advanced Security: Supports WEP, WPA/WPA2, WPA-PSK/WPA2-PSK

04/04/16 12

TP-LINK TL-WN725N

Page 13: Windows 10 IoT Core, a real sample

04/04/16 13

Barcode scanner issues

Barcode Reader HID doesn't works !

(PointOfService API)

Windows-universal-samples - Barcode scanner sample

“you can use barcode scanners from various manufacturers that adhere to the USB HID POS Scanner specification.”

Page 14: Windows 10 IoT Core, a real sample

04/04/16 14

Barcode scanner workaroundWin 10 IoT Core: Raspberry Pi 2 Peripherals – Connected Devices: USB HID Peripherals

Page 15: Windows 10 IoT Core, a real sample

04/04/16 15

USB – Serial Device Driver

Installing the FTDI D2XX drivers on the Raspberry PI

1. go to \\[device-name]\c$\windows\system32 , login with username: [device-name]\administrator and the administrator password

2. copy ftdi.d2xx.winrt.cat and FTDI.D2xx.WinRT.inf from lib\D2xx WinRT 1.0.2\driver to the folder above

3. start a remote powershell (as administrator) session to the Raspberry PI: ◦start the remote service: net start WinRMa) add the Raspberry PI to the TrustedHosts if you haven't already: set-Item

WSMan:\localhost\Client\TrustedHosts -Value [device-name]

b) start the session with: enter-pssession -computername [device-name] -credential [device-name]\administrator this can take up to 30 seconds or more, so be patient

4. type cd c:\windows\system32 to go to the folder where the drivers are located

5. install the FTDI D2XX driver using the following command: devcon.exe dp_addFTDI.D2xx.WinRT.inf

6. reboot the device: shutdown /r /t 0

7. when rebooted reconnect again using last part of step 3

Page 16: Windows 10 IoT Core, a real sample

04/04/16 16

SerialDevice – Discovervar deviceQuery = SerialDevice.GetDeviceSelectorFromUsbVidPid(vid, pid);

var deviceInfo = await DeviceInformation.FindAllAsync(deviceQuery);

var currentDeviceInfo = deviceInfo.FirstOrDefault();

serialDevice = await SerialDevice.FromIdAsync(currentDeviceInfo.Id);

<Capabilities><Capability Name="allJoyn" /><Capability Name="internetClient" /><Capability Name="internetClientServer" /><DeviceCapability Name="proximity" /><DeviceCapability Name="serialcommunication">

<Device Id="any"><Function Type="name:serialPort" />

</Device></DeviceCapability>

</Capabilities>

<Device Id="vidpid:24EA 0187">

Page 17: Windows 10 IoT Core, a real sample

04/04/16 17

NXP OM5577 NFC board driver issues

OM5577 Raspberry Pi Win10 IoT demo image

PN7120 Windows IoT Porting Guidelines

PN7120 on Windows IoT

ID : ACPI\PN7120\2&DABA3FF&0StatusCode : 25175040ProblemCode : 28

Code 28The drivers for this device are not

installed. (Code 28)

Page 18: Windows 10 IoT Core, a real sample

04/04/16 18

NXP OM5577 NFC board driver workaround

“there was a regression in the OS that prevents devcon.exe from installing the driver on 10586”

NXP OM5577 NFC board driver broken on 10586

NFC / NDEF Library for Proximity APIsExtension library to the NFC / NDEF library

Page 19: Windows 10 IoT Core, a real sample

DEMO

22/02/16 19

Page 20: Windows 10 IoT Core, a real sample

04/04/16 20

Who I am

www.adamfactory.com

[email protected]

@MircoVanini

Mirco Vanini

Microsoft® MVP Windows Hardware Engineering (IoT, Mobile, and Desktop)

Page 21: Windows 10 IoT Core, a real sample

04/04/16 21

Feedback

http://goo.gl/forms/zEvkGxYde1

Page 22: Windows 10 IoT Core, a real sample

04/04/16 22

A special thanks…

The event was sponsored byhttp://www.tustena.com/it