| Reply | « Previous Thread | Next Thread » |
|
Hi,
I'm in need of a bit of help turning my N80 into a controller for a Robot. One of the functions of the N80 is to sit as an onboard camera sending photos up to my computer. My laptop sends commands using PySerial to the python BT console on the phone. I can send it commands but when I try to get the image using: e32socket.bt_obex_send_file(phone[0], phone[1].values()[0], u'c:\\pic.jpg') my computer asks for me to okay it (I believe it is the toshiba driver that my laptop uses). I can okay it manually and the picture comes through nicely. But I need it to be uninterupted. Is there any other way of sending a file across using the API (that won't cost me each time i send), which might not require me to okay it? (I've tried automating the mouse using user32.dll but I can't get it to click) |
|
Hi alistair9 and welcome to the forum
![]() So if I got it right you are able to send your commands and images but you need to confirm every time. Have you paired the phone and the computer? In the same menu (pairing) there's an option to set the paired device as __authorized__. If the device is authorized, you don't need to confirm every time you need to transfer something. I hope this help. LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Thanks for the response, but it doesn't help. The message is on the phone and appears to be due to the Toshiba bluetooth drivers. I have now installed a Microsoft bluetooth stack which doesn't seem to support OBEX (i.e. nothing happens when I use the obex file transfer mentioned above). I'm now playing about with some tools called pytools and phcomm in the hope that I can get some kind of file transfer going.
|
|
Finally did it using a combination of phcomm.py and pyserial
|
|
Hello Alistair -
I need a similar functionality - I want to transfer repeated pictures via bluetooth to the PC, and view them as they come in. I'm having some trouble figuring out how to do this...I already have sent characters to a serial server running on the PC, but how to send image files? |
| DJ Fadereu |
| View Public Profile |
| Find all posts by DJ Fadereu |
|
Look up for the tutorials on Mobilenin.com
Hope that will help... -Pankaj Nathani ![]() |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| S60 2nd to 3rd/ PlatformSecurity / Capabilities | jarkoos | Installation, Certification and Security | 4 | 2007-04-14 15:08 |
| Opening a JPEG Image | ummarbhutta | Mobile Java Media (Graphics & Sounds) | 8 | 2007-02-15 07:34 |
| how to cut some part of Image | mshouab | Mobile Java Media (Graphics & Sounds) | 2 | 2006-08-04 10:05 |
| HELP: Mutable Image to Immutable Image? | rj_cybersilver | Mobile Java Media (Graphics & Sounds) | 1 | 2005-03-26 10:58 |
| Nokia Image Converter | davidpurdie | General Discussion | 0 | 2004-02-18 16:31 |