You Are Here:

Community: Developer Discussion Boards

#1 Old Lightbulb pan/dun through python - 2005-02-12, 18:13

Join Date: Feb 2005
Posts: 1
smarttheus
Offline
Registered User
One of the worst disadvantages of the symbian v7 phones (ex 6600) for me is the absence of mRouter in order to make an tcp/ip connection with the lan (and thus internet).
I am wondering now whether it would be possible to make this work using python.
e.g. setting up a ppp session through rfcomm and making the phone recognize the resulting connection, using it for all ip traffic.
Now does anyone have any idea why this would or would not be possible, and possibly any hints about how to start hacking?
Reply With Quote

#2 Old Re: pan/dun through python - 2005-02-14, 16:01

Join Date: Dec 2004
Posts: 646
jplauril's Avatar
jplauril
Offline
Forum Nokia Expert
Quote:
Originally posted by smarttheus
One of the worst disadvantages of the symbian v7 phones (ex 6600) for me is the absence of mRouter in order to make an tcp/ip connection with the lan (and thus internet).
I am wondering now whether it would be possible to make this work using python.
e.g. setting up a ppp session through rfcomm and making the phone recognize the resulting connection, using it for all ip traffic.
Now does anyone have any idea why this would or would not be possible, and possibly any hints about how to start hacking?
You can try to tackle the problem at several different levels. These ideas come to mind:

- You could write a native extension to Python that interfaces to the Symbian OS and somehow acts as an access point and routes traffic through to a Python application that can then forward it over Bluetooth to a listening server on a desktop machine. This would enable you to use TCP/IP over Bluetooth from any Symbian application, but it may take quite a lot of expertise in Symbian networking to implement.

- You could write a HTTP proxy server in Python that listens for connections on the local network interface and forwards the traffic over a Bluetooth connection. Then you could simply set that as your proxy in access point settings. This would probably make it possible to use BT for HTTP connections formed by any Symbian app that respects proxy settings.

- You could write a wrapper for the Python socket module that transparently forwards the connections over a Bluetooth connection. This would make it possible to use BT for any Python applications that use the network.
Reply With Quote

#3 Old Re: pan/dun through python - 2005-02-14, 19:27

Join Date: Jan 2005
Posts: 7
terosaarni
Offline
Registered User
Quote:
Originally posted by smarttheus
One of the worst disadvantages of the symbian v7 phones (ex 6600) for me is the absence of mRouter in order to make an tcp/ip connection with the lan (and thus internet).
Are you familiar with this page? Maybe gnubox will work for you too.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia