windows-10-iot-core

Windows 10 IoT Bluetooth LE

淺唱寂寞╮ 提交于 2019-12-07 08:28:26
I got an issue with reconnection to my BLE device. Senario that works - BLE Device is not paired - Pi boots and start my App, find's the BLE device, pair and connect, receiving data - Boot Pi and start my App, it will not pair as its already paired, it connects fine and receiving data. Senario that does not work - BLE Device is not pair or pair, does not matter - If my BLE device disconnect due to power loss or out of range and gets powered up or back in range the Pi will reconnect and throw: 'System.Exception' in mscorlib.ni.dll There is no user session key for the specified logon session.

The term 'Invoke-WebRequest' is not recoginzed as the name of a cmdlet

拥有回忆 提交于 2019-12-06 16:41:45
问题 I've got problem with executing Invoke-WebRequest cmdlet. I read that ~100% case of that scenario is PS version lower than 3, but it's not my case: Name Value ---- ----- WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 CLRVersion 4.0.30319.34011 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.10208.0 PSVersion 5.0.10208.0 SerializationVersion 1.1.0.1 I can add that I'm using Windows 10 IoT Core version of OS. In fact my main purpose is execution of simple web request, but I

windows 10 iot raspberry pi 3 wifi hotspot

蓝咒 提交于 2019-12-06 04:48:14
I am trying to make my RPi 3 an AP using Windows 10 IoT core. RPi is connected with internet through Ethernet port and I want to make RPi 3 builtin WiFi to share internet with other devices. I have read documentation page but it is not working for me. I have tried with Windows IoT Onboarding and from PowerShell also. After selecting adapters from IoR Onboarding, clicked on start sharing service and a message appears which says "internet conncetion sharing has started" but I can't find network on other devices. After selecting adapters from IoR Onboarding, clicked on start sharing service and a

Using Windows UWP Windows.Devices.SerialCommunication.SerialDevice from Universal Class library

﹥>﹥吖頭↗ 提交于 2019-12-06 04:31:11
问题 I'm making a Modbus library (again...). This time it is meant to run on Windows 10 IoT Core. I've encountered an interesting problem. This chunk of code: string aqs = SerialDevice.GetDeviceSelector(); var dis = await DeviceInformation.FindAllAsync(aqs); var port = await SerialDevice.FromIdAsync(dis[0].Id); if (port != null) { port.BaudRate = 9600; port.DataBits = 8; port.StopBits = SerialStopBitCount.One; port.Parity = SerialParity.None; port.Handshake = SerialHandshake.None; port.ReadTimeout

Raspberry Pi2 running Windows 10: No PWM

无人久伴 提交于 2019-12-06 04:25:56
问题 I have a Raspberry Pi2 running Windows 10. I want to control a servo using PWM (porting some netduino code). There does not appear to be a PWM pin at all on the Pi-> with the possible exception of 12 (GPIO 18). Can someone confirm this? Thanks 回答1: Hardware PWM and ADC are not supported right now on RPi2 (Windows IoT). You need some extra circuitry which can generate PWM or record ADC on demand. There some project works available for that. How you can achieve PWM & ADC on RPi2 + Windows IoT?

How to run a Windows 10 IOT app locally?

若如初见. 提交于 2019-12-06 03:44:28
问题 Is there a way to allow a normal Windows 10 installation to run Windows 10 IOT apps for debugging purposes? Right now when I set the architecture from ARM (Raspberry Pi 3) to x64 (Local machine) I get the following error message when I start a debug session: I've read here that it's got something to do with 'embedded mode' but I can't find any information anywhere about it and the group policy does not appear to contain anything about enabling embedded mode... Help is greatly appreciated!

How to find error in 'The program .. has exited with code -2147483645 (0x80000003).'

杀马特。学长 韩版系。学妹 提交于 2019-12-06 02:30:33
I have an uwp project testing on Win 10 iot core with raspberry pi 3. I do remote debugging on device. After a while the application crashes and only i can see in debug is that error.'The program .. has exited with code -2147483645 (0x80000003).' how can i see more meaningful things about this. The debug is stopping after that. Edit The output in vs 2015 no more message showing.Only that error. My project is about ble devices. I am making some read and write operations with using ConcurrentDictionary from different threads. But all of those operations in try catch block. I cannot be sure the

The term 'Invoke-WebRequest' is not recoginzed as the name of a cmdlet

我只是一个虾纸丫 提交于 2019-12-04 22:19:48
I've got problem with executing Invoke-WebRequest cmdlet. I read that ~100% case of that scenario is PS version lower than 3, but it's not my case: Name Value ---- ----- WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 CLRVersion 4.0.30319.34011 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.10208.0 PSVersion 5.0.10208.0 SerializationVersion 1.1.0.1 I can add that I'm using Windows 10 IoT Core version of OS. In fact my main purpose is execution of simple web request, but I am interested why this cmdlet is not working, especially if more of them won't be ;/ I suppose it can

UWP serial port communication for character write and read (UWP and Arduino)

拥有回忆 提交于 2019-12-04 19:57:19
I am using this code but not working and throwing this exception: Object reference not set to an instance of an object devices[0] giving me null value. private async void ConnectToSerialPort() { string selector = SerialDevice.GetDeviceSelector("COM7"); DeviceInformationCollection devices = await DeviceInformation.FindAllAsync(selector); if (devices.Count > 0) { DeviceInformation deviceInfo = devices[0]; SerialDevice serialDevice = await SerialDevice.FromIdAsync(deviceInfo.Id); Debug.WriteLine(serialDevice); serialDevice.BaudRate = 9600; serialDevice.DataBits = 8; serialDevice.StopBits =

How to get Unicast, Dns and Gateway Address in UWP?

徘徊边缘 提交于 2019-12-04 16:25:34
问题 I'm trying to find Unicast, Dns and Gateway Address in windows IOT. Normally I can access these values with NetworkInterface.GetAllNetworkInterfaces() method. But in UWP, that method is missing. Is there any alternative for getting these values? 回答1: You could try to PInvoke methods from Iphlpapi.dll . There are several methods that may contain the Unicast, Dns and Gateway info you're looking for, like GetInterfaceInfo() , GetAdaptersInfo() , GetAdaptersAdresses() , etc. Please see a complete