Simultaneous communication with many Windows/Windows Phone 8 devices using Proximity API - windows-8

Is it possible to make an application that provide communication between one Windows 8 (as a server for example) device and 'n' (> 1) Windows Phone 8 devices using the Windows 8/Windows Phone 8 Proximity APIs?
[Edit]
I mean simultaneously and using NFC to establish the connection and Wi-Fi or Bluetooth for data exchange.
According to this article : http://msdn.microsoft.com/en-us/library/windows/apps/br241210.aspx, Wi-Fi Direct is not supported on Windows Phone 8. What does it really mean? Between 2 Windows Phone 8 Devices?
I think it would work according to the MSDN library :
http://msdn.microsoft.com/en-us/library/windows/apps/jj207060.aspx
This scenario works with Windows Phone 8 and Windows 8 devices. When a tap succeeds, you get back a socket that you can communicate with the other device. On Windows Phone 8, this socket is established on either a TCP/IP (Wi-Fi) connection or a Bluetooth connection.
Any ideas?

I have made some tests with several devices and what I can say is the following.
A W8 device and a WP8 device can only communicate if the 2 devices are NFC capable.
Indeed, Peer Browsing is not supported between W8 et WP8 (according to my tests). But once the NFC connection established the W8 and the WP8 can keep the connection using Bluetooth so the NFC connector can be released (NFC does not support multiple simultaneous connections).
You can keep several live connections between a W8 device and other devices (W8, WP8).
What I achieve to do is:
1 W8 (NFC) tablet hosting connections.
1 W8 PC (without NFC) that connects to the W8 tablet using Peer Browsing (Direct Wifi).
2 WP8 connecting to the W8 tablet using NFC and Bluetooth.
The hosting device can keep a socket per connected device.
You just need to manage all the sockets to receive and send data.

Yes, you can communicate between Windows Phone 8 and Windows 8 using the proximity framework.
On WP8 you'll need to set the following AlternateIdentity to your Win8 App full name:
PeerFinder.AlternateIdentities.Add("Windows", "<your Win8 app package family name>!<your app WP8 app ID");
// e.g.
PeerFinder.AlternateIdentities.Add("Windows", "NORADPublicAffairs.NORADTracksSanta_1.0.0.26_x64__bzcj0d5cg39gj");
On Win8 you'll need to set the following AlternateIDentity to your WP8 app GUID:
PeerFinder.AlternateIdentities["WindowsPhone"] = "{<your app GUID>}"
// e.g.
PeerFinder.AlternateIdentities["WindowsPhone"] = "{5b7ba36b-04fc-df11-9264-00237de2db9e}"
You can then use the proximity framework on both WP8 and Win8 to communicate with each other. NFC can be used to initiate a socket between WP8<->Win8 which should then use either Bluetooth or TCP/IP as the communication layer.

Related

Connecting iphone with external device through bluetooth or wired connection

I have an external device that we need to connect with iPhone by using either Bluetooth or wired connection.
For connecting with Bluetooth we know that if the device has BLE then we can directly communicate with it Using CoreBluetooth Framework.
Otherwise we have to go to get it MFI registered.
Also if we want it to connect it using wired connection then also we have to get it MFI registered.But we have found a cable that connects device with iphone and that cable is MFI registerd. So if i use this cable for connecting iphone to device still do i need to get my device MFI registered??
For configuring this device initially i use desktop (putty). Through LAN cable i insert one end lan cable in device and second end in my computer, then using (putty) serial communication (through COM port) we send some commands to configure it. So, can this be done through iphone also if the device gets connected to iphone through usb cable??if Yes then how???if yes through bluetooth then how??
From the developer of that cable's website
"MFI Certified
All Redpark cables are licensed through Apple’s “Made for iPod” (MFI) program and have earned MFI certification.
Apps developed with our SDK can be deployed under your Apple Enterprise Developers license with no further review or approval from Apple."
Key here is Apple Enterprise Developers license. If you're developing this application for internal release within your company it seems you don't need MFI. To be released on the app store I believe you would still need MFI.
As far as I know to configure your device from the phone rather than through your desktop would require a jailbroken phone. See here for a little info http://www.computerworld.com.au/slideshow/365979/great-iphone-serial-port-hack/?fp=4&fpid=5

WiFi Direct on Windows Phone 8.1

Is it possible to use WiFi Direct to connect to another device (Raspberry Pi) without tapping (NFC)?
The app needs to be able to find all WiFi Direct devices (Raspberry Pi's) in its vicinity, and by tapping one a connection is made to send strings.
The app needs to be able to detect new devices, that have never been paired with the phone before.
Windows Phone doesn't support WiFi direct communication from the SDK. Although it is available in Windows 8, its not yet present in phones.
According to Channel 9, MSDN
Windows 8 natively supports Wi-Fi Direct and has integrated the technology into the Windows 8 Play To and proximity sharing experiences.
However this doesn't apply for windows phone.
There are apps on the store which supports it, but I have no idea how to implement that in programming. Take a look at the process of using those apps
http://www.lumiamine.com/2014/07/wifi-direct-on-windows-phone.html

How can I debug Windows Phone 8 App on Remote Server?

Our Projects(Code/Design,etc) in remote server,They have develop windows phone scenario,such as : visual studio 2012/2013,windows phone sdk installed etc..
i know debug app must be in vs2012/2013,
but,if i want to debug app on remote server and how can connect device ?
ps:
1、Use the same network.
2、All code in the remote server.
If you want to do it programmaticaly:
Microsoft has managed APIs that allow you to install and run XAPs on either hardware device or simulator. They are implemented in 3 DLLs: Microsoft.Smartdevice.Connectivity.dll, Microsoft.Smartdevice.Connectivity.Interface.dll and Microsoft.Smartdevice.MultiTargeting.Connectivity.dll - you should be able to google usage examples.
Unfortunately, there's no APIs for remote debugging.
If you want to do it manually:
You can use remote desktop + RemoteFX USB Redirection.
Or you can use specialized hardware, such as "Conversions Technology USB Extender Over IP" or "StarTech USB1000IP".

Android tablet pc with a Nokia phone 3G data connection

This is technical question to check the possibilities of the scenario. Is it possible to use Nokia phone's (Lumia, N9, symbain phone, S40) 3G data connection with a Android tablet pc?
Or any way to use phone's 3G data connection with tablet pc?
I have a unlimited data connection for my phone. But I don't use it that much. So I'm planning to use it with the tablet pc.
yep its possible easily if :
1. your tab is rooted
2. your tab supports usb host mode or otg mode (you could either check it on net or download usb host diagnostics) (just click start diagnostic)
procedure
Downoad ppp widget
configure your apn according to pc suite settings
then plug in your phone via usb on nokia pc suite mode
now wait 10s and click connect
you are now done
(pls switch your wifi off as ppp widget creates virual wifi for your tab)
any inquiries contsct rld0989#gmail.com (don't be rest less I only check my gmail once a day)
Yes, it's possible to use your phone as a modem, connected to the tablet via a USB cable, as long as you have
(1) an APN from your network operator to make a data connection via their network, and
(2) suitable device drivers for the phone. On Windows, smartphones are plug and play, but I don't have any experience using them with Android.
On the tablet, you also need some software to control the modem - something like the Mobile Broadband Connect 3.0 application listed on here
You can write a simple connection app yourself using the Android Telephony Manager.
Alternatively, you could connect manually, using AT commands with a suitable AT command program (in Windows, it would be Hyperterminal). This thread describes a possible equivalent for Android.
Standard AT commands to make a data connection are described in the 3gpp TS27.007 specification.
There are a lot of variations for different manufacturers, but making a simple connect should be possible using the standard commands.

Monitor Windows 8 App Connections

Case: I have got a windows 8 tablet and have an app running on it. What I was looking for is a program or a mechanism through which I can be able to monitor all the incoming and outgoing http/https connections that are made by the app which I am monitoring. I am able to do it on the android and ios tablets, but not sure how to do it on a windows 8 tablet.
Is there anything (like an app or a logging program) that I can install on the tablet to monitor connections? Thanks.
You can use Wireshark or NetMon to see the traffic on the network. Neither will run directly on Windows RT, but that's not necessary. As long as you are running on the same network with the tablet you are trying to monitor, you can capture all the traffic you want.