windowsiot

How to get the processor serial number of Raspberry PI 2 with Windows IOT

徘徊边缘 提交于 2019-12-10 01:59:07
问题 I need to get the processor serial number of a Raspberry Pi2 that is running windows 10 IoT. 回答1: Usually this is within the Windows.System.Profile.HardwareIdentification namespace. Unfortunately, that's one of the unsupported namespaces with Win10 IoT Core. Instead, to identify the metal, I'm using info from the network adaptor(s): public static HashSet<string> NetworkIds() { var result = new HashSet<string>(); var networkProfiles = Windows.Networking.Connectivity.NetworkInformation

USB Microphone not working with Windows IOT Core

懵懂的女人 提交于 2019-12-09 23:05:56
问题 I tried both the November 2015 release (build 10586) and the Feb 2016 Insider Preview release (build 14262), however my USB microphone is not working with Windows 10 IOT core . Scenario: I am creating a speech recognition based program using windows IOT Core. I am using Windows.Media.SpeechRecognition api for this job. When I run the program on a simulator in my Window 10 PC using Visual Studio 2015, microphone works and sound gets detected and the program functions as required. However when

File explorer broken in latest Windows 10

拟墨画扇 提交于 2019-12-08 04:52:42
问题 I can see my app saves and loads my data to/from ApplicationData.Current.LocalFolder just fine. However, when I open web interface, click Apps, File explorer, LocalAppData, my app ID, I see “This folder has no data associated with it”. For all preinstalled apps, IoTCoreDefaultApp, IoTUAPOOBE, IoTOnboardingTask, ZWave Adapter Headless Host, web interface says the same. Couple months ago it worked fine, probably broken with a windows update (I’m now running v.10.0.15063.297). Any workarounds?

SpeechRecognizer not work, COMException: Class not registered/ UWP App Windows IoT (10.0.10586) and Visual Studio 2015 Update 1

筅森魡賤 提交于 2019-12-06 10:37:24
After I have installed Windows IoT (10.0.10586) and Visual Studio 2015 with Update 1, I got COM-Exception when I use the SpeechRecognizer in Universal App on my Raspberry Pi 2 (with Windows IoT 10.0.10586). If I run the SpeechRecognizer UWP App on Windows 10 it works without any problems, the COM-Exception occurs only in Windows IoT (10.0.10586). With older version of Windows IoT and Visual Studio 2015 without Update 1 it works, too. Has anyone a solution for the problem? var speechRecognizer = new SpeechRecognizer(); var constraint = new SpeechRecognitionTopicConstraint

Saving files on Raspberry PI with Windows IoT

北城以北 提交于 2019-12-06 09:26:21
问题 I have a question about saving files on Raspberry PI with Windows IoT. What I want to do: I have various values (temperature) which I want to log. The easiest way for me would be, to write a simple txt-file with all the values. First of all: Is it even possible to create a file locally on the SD card? Because the code samples I found only work on a "normal" Windows system: if (!File.Exists(path)) { // Create a file to write to. string createText = "Hello and Welcome" + Environment.NewLine;

Windows IoT and DS3231 RTC clock

99封情书 提交于 2019-12-05 18:34:27
For my project I need the current time & date. Unfortunately the RP2 loses everything when it's turned off. The next thing is, that I won't have an internet connection to use NTP. For this reasing I need to implement a DS3231 RTC module. The communication of all devices runs over I2C (Raspberry <-> Arduino <-> DS3231). At the moment my Arduino communicates with the module and stores the date and time in char-arrays. The RP2 communicates with the Arduino to get the date/time. That actually works pretty good. But I'd like to communicate directly with the module to save ressources on the Arduino

Saving files on Raspberry PI with Windows IoT

混江龙づ霸主 提交于 2019-12-04 17:23:06
I have a question about saving files on Raspberry PI with Windows IoT. What I want to do: I have various values (temperature) which I want to log. The easiest way for me would be, to write a simple txt-file with all the values. First of all: Is it even possible to create a file locally on the SD card? Because the code samples I found only work on a "normal" Windows system: if (!File.Exists(path)) { // Create a file to write to. string createText = "Hello and Welcome" + Environment.NewLine; File.WriteAllText(path, createText); } or on Windows Phone: public void createdirectory() {

Can Docker containers run in Windows IoT Core

ぐ巨炮叔叔 提交于 2019-12-04 09:19:28
问题 Is there a way to run a Docker container in Windows IoT Core? I have seen it can be used in Azure, Windows Server and desktop W10 but there is no evidence about Windows IoT Core and I am not sure if some of the already existing installations of docker-engine is compatible with IoT Core or it is just not possible. 回答1: Last Friday, Azure IoT Edge v2 launched in Public Preview yesterday with out-of-box support for native Windows containers! There is even a how-to for deploying on Windows IoT

Entity Framework Core on Windows IoT running on a RPi 3 (Console Application)

妖精的绣舞 提交于 2019-12-02 11:47:15
问题 I successfully deployed a .NET Core Console Application to my Windows IoT running on a Raspberry Pi 3. The application pulls data from a webservice and stores them in a database. I used Entity Framework Core for that. When I start the deployed console application (.exe) through the remote powershell everything works except the access to my database running on Azure. When the application tries to read from the database it throws the following exception: System.TypeInitializationException: The

Entity Framework Core on Windows IoT running on a RPi 3 (Console Application)

て烟熏妆下的殇ゞ 提交于 2019-12-02 03:48:50
I successfully deployed a .NET Core Console Application to my Windows IoT running on a Raspberry Pi 3. The application pulls data from a webservice and stores them in a database. I used Entity Framework Core for that. When I start the deployed console application (.exe) through the remote powershell everything works except the access to my database running on Azure. When the application tries to read from the database it throws the following exception: System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.TdsParser' threw an exception. ---> System