Categories: S60 | Python | How To | Bluetooth | Code Examples | Connectivity
This page was last modified 19:59, 14 October 2007.
How to send files using bluetooth
From Forum Nokia Wiki
from socket import * a = '00:10:60:ab:25:6f' bt_obex_discover(a) # found at port 3 f = u'C:\\Nokia\\Startermonlog.txt' bt_obex_send_file(a, 3, f)
Here's another example :
from appuifw import * from e32socket import * try: phone = bt_obex_discover() addr=phone[0] port=phone[1].values()[0] file = query(u'File Selection', 'text') bt_obex_send_file(addr, port , file) note(u'File Sent') except Exception, error: note(unicode(error), 'error')
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bluetooth pairing | Alex_Polt | Near Field Communication | 1 | 2008-02-13 13:46 |
| 3650 bluetooth DBT-120 communication problem. | ashok_bangher | Bluetooth Technology | 3 | 2003-06-16 14:17 |
| Sending .dm files through bluetooth. Please help | dansonang | Digital Rights Management & Content Downloading | 0 | 2005-03-08 17:00 |
| Sending large amounts of data via bluetooth | j1978 | Symbian Networking & Messaging | 2 | 2004-01-12 03:40 |
| BT class 1 can communicate with BT class 2? | antonio5982 | Mobile Java Networking & Messaging & Security | 2 | 2007-12-10 11:53 |
