connect bluetooth shield with windows phone 8 - 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

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.

Windows 10 IoT (ARM) - RNDIS/Ethernet Gadget

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?

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 to force a browser tab (chrome) to use wireless and another to use Ethernet cable?

I know that my question is a little awkward, but here's my situation:
I have two networks, one of them is accessible to me via wireless, and the other is accessible to me via an Ethernet cable.
If my laptop is connected to both networks, can I connect to website WW via the wireless network, and website EE via the Ethernet network, in two tabs in the same browser (Chrome) ?
Note: Assume both websites provide video streaming.
Note: Assume that website WW is blocked via Ethernet network, and website EE is blocked via wireless network.
My trials:
I tried to open website WW while laptop connected to wireless only, and then connect Ethernet cable, and open website EE. Result: Website WW closes connection via wireless, and tries to connect using Ethernet, hence stops streaming.
I tried to open website EE while laptop connected to Ethernet only, and then connect to wireless network, and open website WW. Result: Website EE keeps streaming, while WW never loads.
I'm using windows XP, latest google chrome. Any ideas?
If you can reconfigure the access point, you can do this:
1) setup the Wifi access point to be a router (so that it has a different IP address on its Ethernet and on its Wifi interfaces
2) setup the IP address of the wifi card on your PC to be in the IP network of the router (Wifi side)
3) setup a static route on the PC so that WW is accessed by going through the router, and a default route (used for EE) going through the Ethernet.

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/