Windows 10 IoT (ARM) - RNDIS/Ethernet Gadget - windows-10-iot-core

We have the following configuration :
a Linux box acting as a USB Slave (RNDIS/Ethernet Gadget)
a Windows 10 IoT (ARM) device acting as USB Host
When slave is connected to host, Windows IoT detect it but it appears as "USB Serial Device" and no new network adapter is available.
When slave is connected to a Windows 10 Pro, it works.
Host/Slave can successfully communicate via Ethernet.
So my questions are :
Does Windows IoT support RNDIS? (I was no able to find an official
answer on the web)
Do RNDIS driver exists for Windows IoT (ARM)?
Did someone already tried what we are trying to achieve?

Related

Error during Flutter connection to localhost DB

Am trying to connect to connect flutter to local xampp, it executes with the above error, any help is appreciated
SocketException: OS Error: Connection timed out, errno = 110, address = 192.168.1.254, port = 38614
1- if you are using emulator use 10.0.2.2 instead of 192.168.1.254
2- if you are using physical device make sure the device is connected to server first without the flutter app by accessing the ip of the server from your device or 10.0.2.2 if emulator
3- try disabling your firewall and antivirus
Most likely your emulator doesn't have access to IP 192.168.1.254 on your host machine.
You can test this by opening up Chrome in your emulator and trying to visit: http://192.168.1.254
The Android emulator provides access to your host machine through IP 10.0.2.2. So if you have a website running at localhost (127.0.0.1) on your host machine, you should be able to access that from Android emulator Chrome browser using http://10.0.2.2
Android emulator also delegates DNS queries via 10.0.2.2. So if your host machine hosts file (C:\Windows\System32\drivers\etc\hosts or /etc/hosts on Mac) has domains specified (such as 192.168.1.254 myxampp) then you can edit your emulator's hosts file to delegate the domain lookup to your host machine hosts file using:
10.0.2.2 myxampp
Here are some instructions on how to edit your emulator's hosts file if you decide to go that route.

StreamSocketListener and localhost

I'm using the following code to set up a StreamSocketListener on my universal 8.1 app:
_listener = new StreamSocketListener();
_listener.Control.QualityOfService = SocketQualityOfService.Normal;
_listener.ConnectionReceived += OnConnectionReceived;
await _listener.BindServiceNameAsync("8776");
This runs without any problems, however when I try & browse to http://localhost:8776 (or directly via ip address or machine name), the request times out.
In netstat I can see the 8776 port is open & listening, I've enabled loopback exemption, disabled my firewall, but I'm still not able to connect. This is true for both the Windows 8.1 and the Windows Phone 8.1 app.
When I try to connect from another machine, it works without problems. Is there any setting/configuration I can use so I'm able to connect from the same machine?
Windows RT blocks loopback access between two WinRT applications.
Network communications using an IP loopback address cannot be used for
interprocess communication (between two different apps) in a Windows
Runtime app since this is restricted by network isolation. Network
communication using an IP loopback address is allowed within an app
within the same process for communication purposes.
More info and workaround here

How do I access services on a vm from the host when not connected to network?

I am running VirtualBox on MacOS, I have a windows xp vm. I also have mysql database running inside the vm. The vm is configured to use Bridged Network Adapter.
When I am connected to a wi-fi network (at home), I am able to connect to the data running on the vm from my mac (host), by using the IP address of the vm in the connection string.
How do I do this when I am not connected to the network (when I am travelling on a train for example)?
What setting do I need to change on the VM so that my host can connect to the mysql database running on the xp vm?
There is no need for the VM to access the outside network etc... It is enough for the host to be able to access the database on the vm.
This can be solved by using port forwarding in VirtualBox with NAT as the networking mode.

AIR for Android SocketServer over WiFi

Developing a multiplayer game for Android and using the AIR SocketServer class to communicate between server and client AIR applications.
On Windows 8 I am using Virtual Router Plus to set up my PC laptop(where the server app is running) as a wifi hotspot.
I run ipconfig in cmd after my wifi is running to grab the ipv4 IP address under 'Wireless LAN adapter Local Area Connection'
This is the IP I bind to in the server app and connect to in the client app.
If I launch both server and client on the same machine, everything works fine.
When I install the client app on my Android device, I am unable to establish a socket connection. The WiFi is running properly on my Android device.
Is a policy file necessary on the server machine when creating socketserver connections over a local wifi network?
If so, shouldn't the client app be throwing a security error when it tries to connect?
I am lost as to what my troubleshooting steps should be. ANY tips or feedback appreciated!
This happend because, the AIR Socket communication works only in Desktop application.
Try this native extension, it works perfectly form me:
http://blog.aboutme.be/2011/12/14/udp-native-extension-for-air-mobile-now-with-android-support/

connect bluetooth shield with windows phone 8

i'm trying to listen for incomming bluetooth-connections from a bluetooth sheild to my WindowsPhone8 device. Is there any way to connect WindowsPhone8 with bluetooth sheild?
As long as the remote device supports Bluetooth Serial Port Protocol (BT-SPP) and supports pairing, you should be able to open a BT-SPP socket to it from WP8.
Here's a code sample of connecting to Sphero # http://www.developer.nokia.com/Community/Wiki/What%27s_new_in_Windows_Phone_8#Bluetooth:_Phone_to_device
And here's a code sample of connecting to Mindwave Mobile Headset # http://metroeeg.codeplex.com/wikipage?title=Standalone&referringTitle=Home