windows-10-iot-core

Using DeviceID from Windows.Devices.Enumeration to find the Drive Letter of a Removable Drive (USB) in C# Windows 10 IoT Core?

折月煮酒 提交于 2019-12-11 05:52:33
问题 I am trying to scan a USB drive that is inserted into a Raspberry Pi running Windows 10 IoT Core for a specific file in a specific folder. I am currently able to detect when a USB drive is added or removed from the device using Windows.Devices.Enumeration.DeviceWatcher and can find the DeviceId using that as well. I did this using the DeviceEnumerationAndPairing demo project. I am aware that StorageDevice.FromId() would work for this usually but it seems to not agree with Windows 10 IoT Core.

Webserver on windows 10 IOT?

ぐ巨炮叔叔 提交于 2019-12-11 05:42:15
问题 Can I create a webapplication on my windows 10 IOT running device (R-PI 3)? On other PI's I've got Debian running with LightHttpd, but I can't seem to find anything on a webserver on Win10 IOT device. I did see some examples on self creating a -very simple- webserver (ie listening on a port) but there should be more than that? PS I added 2 tages: Windows IOT and Windows-10-IOT-Core.... are these the same? 回答1: Can I create a webapplication on my windows 10 IOT running device (R-PI 3)? Yes,

VS 2017 Community: Change target for existing project to ARM

妖精的绣舞 提交于 2019-12-11 05:02:12
问题 I'm trying to repackage an existing desktop app for Windows 10 IoT on ARM (Dragonboard 410c,specifically). I've installed VS 2017 Community edition (15.9.6) and I have the source for the desktop version of this project, although I don't know much about it. It currently targets x86 / x64 (both of which work fine), but an ARM option is not available. Do I need to add some component to VS, or manually edit something to be able to compile for ARM? When I set the Dragonboard as the Remote Target,

UWP SerialDevice.FromIdAsync return null

非 Y 不嫁゛ 提交于 2019-12-11 04:34:32
问题 I'm trying the Microsoft sample for Serial Port and it's working on Raspberry Pi2 but not on local machine , on,local machine return null. the DeviceCapability already added, that's why it's working on Pi2. any idea why it's not working on local machine local system: Win10 Ent. VS 2015.3 回答1: I found this answer :( Link System-internal or on-chassis serial ports may be enumerated by DeviceInformation.FindAllAsync(), but cannot be opened by SerialDevice.FromIdAsync() because they currently are

How do I set the IP Address of a device using Windows Universal App?

落爺英雄遲暮 提交于 2019-12-11 04:02:30
问题 I have a Raspberry Pi 2 with Windows 10 ioT installed. How do I set the IP Address statically in code? 回答1: You can do this by connecting remotely to your device via Powershell and running "netsh". You can perform a variety of tasks using the Netsh command-line utility, including configuring the IP addresses of network adapters in Windows. Here’s how to configure a static IP address: netsh interface ip set address "connection name" static 192.168.0.101 255.255.255.0 192.168.0.1 NOTE: The

Windows 10 Iot Core app crashes if I try to open a PWM pin

孤街浪徒 提交于 2019-12-11 03:21:46
问题 I want to open a PWM pin to my buzzer. But If I try to call the pwmController.OpenPin(6) method, the app crashes with an System.Runtime.InteropServices.SEHException . I had already double checked the sample sources like the ms-iot-samples. But I cannot see what my problems are. An idea was that some permissions are missing, but if I try to add for exmaple <iot:Capability Name="lowLevelDevices" /> , I cannot longer build the application. Source private PwmPin buzzerPin; private PwmController

HttpClient in Universal Windows app running on Windows 10 IOT Core throws Exception from HRESULT: 0x80072EFD

早过忘川 提交于 2019-12-10 17:40:11
问题 I´m using VS2015 to deploy a universal app to a Raspberry Pi 2 Model B running Windows 10 IOT Core (10.0.10240). Any usage of the HttpClient to call a WebService or retrieve some data like the following HttpClient client = new HttpClient(); var re = await client.GetAsync("http://somehost/api/values/5"); yields an Exception from HRESULT: 0x80072EFD. Capabilities Internet (Client) Internet (Client & Server) Private Networks (Client & Server) are set in the app manifest. Any suggestions? 回答1:

Bluetooth LE device cannot disconnect in Win 10 IoT UWP application

你。 提交于 2019-12-10 17:12:34
问题 I am trying to control the Bluetooth LE devices connect/disconnect in my Win 10 IoT UWP C# application, running on Raspberry Pi 3 SBC. The Win 10 IoT is Windows Insiders Preview build 10.0.17035.1000. When I start my application, it recognizes the advertising BLE device, successfully connects and communicates with it . Then I try to disconnect this device by applying the recommended procedure: device.Dispose(); device = null; GC.Collect(); and even stop and start again the

.net core installation on Windows 10 iot (Raspberry PI3 - ARM)

时间秒杀一切 提交于 2019-12-10 13:35:33
问题 I test .net core on different OSs and I'd like to know if it's possible to install dotnet/cli (.net Core) on Windows 10 iot over my Raspberry PI3. My objective would be ro run simple GPIO tests. What I do so far : I went on the .NET core site and do not find anything about Windows 10 iot target. I found a nice blog post titled How to run .NET Core Application on Pi2 - Win10 IoT Core? but it use DNVM which seems to be obsolete, and I don't read anything about Windows 10 iot target in the sites

Access raw keyboard input in Universal Windows App (IoT)

99封情书 提交于 2019-12-10 11:51:41
问题 I'm trying to build an app that will accept keyboard input from a remote control that emulates a keyboard. I need to capture all keys from the remote, including volume up/down (it emulates a multimedia keyboard, fwiw). I can't figure out how to do that in a UWA. I've tried Windows.UI.Input.KeyboardDeliveryInterceptor and Windows.UI.Core.CoreWindow.GetForCurrentThread().KeyDown, which capture some input, but not all keys (it doesn't capture the special keys). I don't plan to include this app