Sending data from a WP7 phone to a PC via a USB cable

Identify data from wp7 sensors on a PC screen. Is it possible to send data back to a PC via a USB cable?

+4
source share
1 answer

When the phone is connected via USB, it appears as an Ethernet network connection to the device. This means that simply sending data back to the service running on your computer using standard HTTP calls is enough.

This is easy to do by installing a simple web service on your PC and creating a WCF proxy server around it in Silverlight. Then you can just use it like any other web service.

If you are looking for sequential lower-level access to the USB port itself, then, unfortunately, the phone’s APIs do not reveal this functionality.

+3
source

Source: https://habr.com/ru/post/1337654/


All Articles