| Reply | « Previous Thread | Next Thread » |
|
hi all,
how can i get self bluetooth address?using python command . the bluetooth address of mobile on which i m working. (not oter.) |
|
Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
|
Quote:
i think its not yet possible using PyS60. As i searched a lot on this already earlier but didnt found anything . But i am not so sure about this fact may somebody know more about this. Enjoy Pythoning gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Quote:
Yes, It is possible with PyS60 ![]() You need to use lookup_name function of PyBluez 0.7 - Bluetooth extensions for Python . Code:
lookup_name(address, timeout=10) (You can get this name in Bluetooth settings, If not changed then it is the name of the phone by default. For eg. Nokia 6680) Best Regards, Croozeus |
|
If you don't want to use the PyBluez then you can use Miso Library :
Following is the code for the same : Code:
import miso try: miso.local_bt_name() # address here except: print "None" Best regards, Croozeus |
|
nice croozeus,
MISO has been worked for me... great... once again thanks for your prompt help.. |
|
Please guys I need your help
I want to do this and print it in the Hyper Terminal. Whatever I write in my mobile as a client, it shows in the Hyper Terminal screen as a server accompanied with the mobile address. Thank you in advance |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |