You Are Here:

Community: Developer Discussion Boards

#1 Old N80 Robot needing BT image transfer capability - 2007-04-29, 18:17

Join Date: Apr 2007
Posts: 15
alistair9
Offline
Registered User
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)
Reply With Quote

#2 Old Re: N80 Robot needing BT image transfer capability - 2007-04-29, 20:11

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
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
Reply With Quote

#3 Old Re: N80 Robot needing BT image transfer capability - 2007-04-30, 16:05

Join Date: Apr 2007
Posts: 15
alistair9
Offline
Registered User
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.
Reply With Quote

#4 Old Re: N80 Robot needing BT image transfer capability - 2007-05-01, 10:11

Join Date: Apr 2007
Posts: 15
alistair9
Offline
Registered User
Finally did it using a combination of phcomm.py and pyserial
Reply With Quote

#5 Old Question Re: N80 Robot needing BT image transfer capability - 2007-09-19, 13:33

Join Date: Jun 2007
Posts: 27
DJ Fadereu
Offline
Registered User
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?
Reply With Quote

#6 Old Re: N80 Robot needing BT image transfer capability - 2007-09-19, 14:21

Join Date: May 2007
Posts: 2,737
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Look up for the tutorials on Mobilenin.com

Hope that will help...

-Pankaj Nathani
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
Similar Threads
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

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d81449X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZpythonQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZuserE5ftagQSxpythonX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ