| Reply | « Previous Thread | Next Thread » |
|
This is a pys60 application that will enable you use phone file system from the Total Commander file explorer (http://www.ghisler.com/picture.htm).
Features: * Manage s60 files from graphical file browser - upload, download, rename, copy, delete, makedir * Synchronize from command line * Bluetooth and USB connectivity Source release (including installation instructions): http://pymbian.sourceforge.net/misc/...0.20060309.zip SIS: http://pymbian.sourceforge.net/misc/...0.20060309.sis This software is based on the fileserver source released by Nokia. The .sis file contains a binary release of newest pys60usb.pyd. The source release for that is here: http://pymbian.sourceforge.net/misc/...0.20060101.zip
Last edited by simo.salminen : 2006-03-11 at 09:10.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Great again ,
But it doesn't work for me :-( When I launch your phone app tcs60fs then connect with BT It displays "App closed tcs60fs" Program closed: tcs60fs KERN-EXEC 3 What a pity :-( How to make work it ? |
|
Bugger! What is your python runtime version, what is your phone model?
Here is one thing we can try: create a folder !:\system\apps\tcs60fs\debug\ and start app. If there is anything on the debug.txt please paste it here. Does the crash happen immediately? Does it start to perform device discovery (showing bt device dialog)? |
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
Quote:
pys60 1.31 sourceforge 2nd Edition with Nokia 6600 5.27 Quote:
Code:
debug started Quote:
1) I launch tcs60fs. I see tcs60fs title I press Options and select "Connect with BT default" It immediately displays "last device found" dialog I choose my PC BT device I see a short time 'Discovering' on text widget then it displays error message on screen ! Code:
Discovering...
Traceback (most recent call last):
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 777, in <lambda>
self._finished_server_cb)
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 644, in runserver
addr = discover_address('fileserver_conf.txt', self.use_default)
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 618, in discover_address
addr,services=socket.bt_discover()
socket.error: (0, 'Error')
2) I launch tcs60fs. I see tcs60fs title I press Options and select "Connect with BT" It immediately displays "last device found" dialog I choose my PC BT device I see a short time 'Discovering' on text widget then it displays "App closed tcs60fs" I press OK "Program closed: tcs60fs KERN-EXEC 3" I press OK return to menu 3) I launch tcs60fs. I see tcs60fs title I press Options and select "Connect with BT" It immediately displays "last device found" dialog I choose "more devices" It displays searching box it displays "Device found" I select it I see a short time 'Discovering' on text widget. then it displays "App closed tcs60fs" I press OK "Program closed: tcs60fs KERN-EXEC 3" I press OK return to menu 4) I launch tcs60fs. I see tcs60fs title I press Options and select "Connect with BT default" It immediately displays "last device found" dialog I choose "More devices" I see a short time 'Discovering' on text widget It displays searching box it displays "Device found" I select it then it displays error message on screen ! Code:
Discovering...
Traceback (most recent call last):
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 777, in <lambda>
self._finished_server_cb)
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 644, in runserver
addr = discover_address('fileserver_conf.txt', self.use_default)
File "E:\System\Apps\tcs60fs\tcs60fileserver.py", line 618, in discover_address
addr,services=socket.bt_discover()
socket.error: (0, 'Error')
I also try this snippets from Korakot http://www.bigbold.com/snippets/posts/show/982 Code:
# need to install these 2 modules from PDIS first
import aosocketnativenew
from aosocket.symbian.bt_device_discoverer import *
def callback(error, devices, cb_param=None):
for address, name in devices:
print "Found: ", name, address
# You can get more data by importing socket and try
# bt_discover(address) or bt_obex_discover(address)
# see details in official pys60 doc on socket module
lister = BtDeviceLister()
lister.discover_all(callback, None)
Code:
Found: MYPC xx:xx:xx:xx:xx:xx I have the following results Discovering some infos on screen and on RF com it crashed again it displays "App closed Python" "Program closed: Python KERN-EXEC 3" message and in the log file c:\bt_probing.txt Code:
Fri Mar 10 07:47:43 2006: logging started
Fri Mar 10 07:47:45 2006: [MainThread] discovering
Fri Mar 10 07:47:58 2006: [MainThread] devices: [('00:00:00:00:00:00', u'MYPC')]
Fri Mar 10 07:47:58 2006: [MainThread] Found: MYPC | 00:00:00:00:00:00
Fri Mar 10 07:47:58 2006: [MainThread] Probing: MYPC | 00:00:00:00:00:00
Fri Mar 10 07:47:59 2006: [MainThread] RFCOMM Services:
|
|
Quick reply here, I go through your post later. Does Bluetooth Console work? Does the console work if you connect by doing device discovery first?
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
|
It works now !
![]() Well , I going to explain why ! I found all i could : http://www.onlamp.com/pub/a/python/2005/04/14/s60.html - dont be trust in socket.bt_discover() ! - prefer use (MAC adress,port) instead ! http://www.altoriopreto.com.br/artigos/pys60.php - BT connection are bad ! Then i search the bt_discover in TCS60FS on phone and I discover this line in discover_address of the tcs60fileserver.py file. Code:
address=config.get('target','')
Code:
address=config.get('target','')
address=(xx:xx:xx:xx:xx:xx,8) # xxxxxxxxx is your PC MAC adress
- launch TCS60FS on phone - choose BT default - It display Connecting to (xx:xx:xx:xx:xx:xx,8) and I see PC asking me if I want letting my phone connecting to my COM7 port. I accept Then I choose in Total Commander connection to serial port 7 and incredible it displays ALL phones drives on screen ![]() I hope that help someone else ! Thank you for your help ! |
|
hello simo.salminen,
where do I get the fileserver source released by Nokia Thank you. - Ashish |
| ag24master |
| View Public Profile |
| Find all posts by ag24master |
|
It is in the pys60 1.2 sdk or in 1.3.1 source release.
|
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Error opening a system file | Jeepy | General Symbian C++ | 3 | 2008-04-19 22:38 |
| File reading & writing help, wav file redaing help | shubhamlahoti | Mobile Java General | 6 | 2007-06-27 10:07 |
| Tips on using NDS 1.1 | mitts | Symbian Tools & SDKs | 7 | 2006-01-18 17:07 |
| Intercepting file system calls in 6.0 SDK | tcrosley | Symbian Tools & SDKs | 1 | 2005-01-28 07:01 |
| how about Symbian file system? | li_haiming | General Symbian C++ | 1 | 2003-03-06 12:26 |