It seems to me that python support bluetooth but yet do not support irda. I submited a irda socket patch two months ago, but it must wait for 2.6 because 2.5 has freezed. Then I create the extension for mainstream usage. ( download http://www.dup2.org/files/irda
Source svn repository is http://pymobilesync.googlecode
I build the binary file with free Visual C++ Toolkit 2003. Integrating the toolkit into python distutils package's bdist_wininst system is easy after reading this article.
If you have interest in irda-python programming, you may test my extension with next scripts:
from irda import *
irdaobject = irda()
devicelist = irdaobject.discover()
print devicelist
firstHint(devicelist[0][3])
secondHint(devicelist[0][4])
irdaobject.connect('OBEX')
irdaobject.close()
No comments:
Post a Comment