- 'obexpushd -B' is good for receiving all the images and videos stored on the phone and taking space
- 'obexftp -b "phonename" -p somefile' - is the way to send files to the phone (I installed pyS60 on the phone, whoohoo)
- nothing works unless you use hcitool dev and hciconfig reset before using any of the above
- it is really useful if you have tried a couple of days ago to make it easier for your father to receive via Bluetooth on the laptop files sent from the phone and realised the former (since gnome in Etch doesn't have any graphical means to start an obexpushd server)
Update: After digging and trying different things I got to a message which put me on the right track. After a while I got the magic formula:
bounty:/home/eddy/usr/lib/linux_and_other_oses/series 60/devel/python# rfcomm listen 0 3
Waiting for connection on channel 3
Connection from 00:60:57:BB:B6:C5 to /dev/rfcomm0
Press CTRL-C for hangup
The 1 means to create a /dev/rfcomm1 device; the 3 is the channel on which the Bluetooth console tries to connect (try once and you will see it).
After that, the hint in the Mac tutorial, so I typed:
bounty:/home/eddy$ screen /dev/rfcomm0
Traceback (most recent call last):
NameError: name 'help' is not defined
Victory! Now I can actually start to program.
Oh, yes, I remembered I should write something like "How to connect PyS60 Bluetooth console and Linux" so is easier to spot. I tried to add myself a link to the proper page, but I couldn't make an account because of the broken capthca.