Simple Bluetooth Proxy for PyS60 and Linux |
![]() |
![]() |
![]() |
Written by Andreas Böhler |
Saturday, 20 December 2008 12:19 |
I don't own an S60 device anymore, so development on miniproxy has STOPPED! I recently got a new Cell Phone: The Samsung SGH-i560, which is a Symbian-based device with HSDPA and Bluetooth, but lacks WiFi-support. I thought it would be possible to surf the web via Bluetooth, using my computer's internet connection. Unfortunately, this is not true. So, what to do? I found two projects, both are abandoned at the time of this writing, trying to provide a fix: GnuBox, which works for every protocol using a special access point, and Hiisi Proxy that is programmed in Java and works only for HTTP, but needs a special Java-Server on the host PC to work.Why a new Proxy?GnuBox made my cell phone crash. Same issues as on the E51, it is simply unusable. Hiisi Proxy works, more or less, but I didn't succeed in setting up the Server on Linux and it is even impossible to use the Server on my Linux-based Router (no Java). I therefore decided to write my own little proxy: In Python. The Samsung is capable of running Nokia's PyS60 (you have to crack open the firmware first) and my Router is also able to run Python. So, find my first implementation in the download section! I used YaPN as an example on how to write a Proxy in PyS60. Notes:Tested configurations for Server side:
Tested configurations for Client side:
MacOS X is still untested! On XP, the WIDCOMM-Stack does not work correctly, although it is supported by PyBluez. I'll have to look into this further.. Instructions:
Todo:The proxy implementation is not complete yet. Correctly support the WIDCOMM-Stack on XP. Help:If you have any comments, suggestions or improvements, please don't hesitate to contact me at andy (dot) boehler (at) gmx (dot) at Download:You can download both scripts in the Downloads section. Changelog:v0.04, 2009/01/07: Server: Windows support is now complete, tested only on Vista and XP, Microsoft-Stack only! Server: Client disconnects are now correctly detected, no need to restart the server on client disconnect Client: Correctly exit on CTRL+C v0.03.1, 2009/01/06: Server: Added better Windows support (not extensively tested!)
Comments (66)
Joomla components by Compojoom
|
Last Updated on Monday, 10 May 2010 13:31 |
Nice to be the first commenter on your application.im have used that Hiisi Proxy appication.as you also know that gives Packet data error when try to browse the internet(sm times).
i did all the steps as you said.it successfully connected with bluetooth serial port.(it said local port opened. on both PC and mobile Python). but this also gave me that Packet data error when try to browse.what the problem dude?