Header Sep

Miscellaneous Tips, Tricks & Code

My Rating Score
Login to rate page

February 2004

P900 direct LAN interaction using Bluetooth

You can combine the PC Connectivity solution that comes bundled with the Sony Ericsson P900 with a Bluetooth dongle or any built-in Bluetooth support in the computer to make the Bluetooth port appear as a logical serial port in your PC.

The PC connectivity software creates a TCP/IP connection between the P900 and the computer over the Bluetooth serial link (where Bluetooth acts as a serial cable replacement). This solution is normally used for the purposes of Backup/Restore and Sync, but can also be used in a more generic sense.

If the P900 is connected to the PC over a connectivity link using Bluetooth, and your application running on the P900 attempts to establish a TCP/IP connection to a host, that request will not be sent over GPRS (General Packet Radio Services) or GSM/CSD (Circuit-Switched Data), but will be routed over to the PC side.

If you run an application on the P900 it can connect to a service listening on a port on your PC by addressing the PC using the host name ''wsockhost.mrouter'' (and port number). If you want to reach another computer on the same LAN (Local Area Network) as your PC is connected to, you can address that computer using its IP address. It *may* be possible to use host names as well but this may not work consistently in all cases.

If you use the P900 ''Internet'' application (default browser), it can access an HTTP server running on your local PC if you use the addressing "http://wsockhost.mrouter:port/". However, if you address anything else using an http:// URL using that browser it will route that request over cellular.

The Opera browser, however, will route all traffic over the PC connection as long as the PC Connectivity link is active. This means that with no resulting cellular traffic this browser can be used for interacting with ''browser supported content'' on computers in your local LAN (and/or the Internet if you have a direct connection from your LAN) without the need for cellular access. This is attractive to end users in numerous connectivity cases where the P900 can interact wirelessly with client/server based services in your home or elsewhere (remote control, monitoring, download, etc).

My Rating Score
Login to rate page