Roger found 2 bugs in DV-2-XviD 0.8.1 again!! Download DV-2-XviD here.
I have upgraded my python envirment to 2.5. Today I rebuild irda extension. download it
Showing posts with label MobileSync. Show all posts
Showing posts with label MobileSync. Show all posts
Saturday, December 09, 2006
Wednesday, October 11, 2006
Win32 Bluetooth Support Sucks
As a part of my PyMobileSync, I need developing over bluetooth. These days I found programming for Bluetooth device under win32 platform was a nightmare!
I followed the guide from MSDN only support Windows . But I got 10047 error "Address family not supported by protocol family" when I tried to create a BTH socket. I searched google, then I found MSSDKXP native Bluetooth stack and it don't support my Bluetooth dongle device (ISSC chip).
Before Windows XP SP1, Microsoft hasn't added native Bluetooth support. So IVT and Widcomm developed their bluetooth stack on Win32 platform and now bluetooth software developer must program with three SDKs if they want their application could to be accepted most widely.
Jon Cellini wrote a article that described how to make a Bluetooth device that was not supported officially by microsoft work under native stack. Somebody reported their ISSC device could work this way and others reported failure, and indeed my device failed.
At last I spent 6$ to buy a new Bluetooth dongle with CSR BlueCore4-ROM chip that could be detected natively and I found windows xp's Bluetooth management application is toooooo simple. I believe windows native stack will be the winner of three stacks. But it lack a killer application of Bluetooth management now. Will Vista include a new one?
I followed the guide from MSDN only support Windows . But I got 10047 error "Address family not supported by protocol family" when I tried to create a BTH socket. I searched google, then I found MSSDKXP native Bluetooth stack and it don't support my Bluetooth dongle device (ISSC chip).
Before Windows XP SP1, Microsoft hasn't added native Bluetooth support. So IVT and Widcomm developed their bluetooth stack on Win32 platform and now bluetooth software developer must program with three SDKs if they want their application could to be accepted most widely.
Jon Cellini wrote a article that described how to make a Bluetooth device that was not supported officially by microsoft work under native stack. Somebody reported their ISSC device could work this way and others reported failure, and indeed my device failed.
At last I spent 6$ to buy a new Bluetooth dongle with CSR BlueCore4-ROM chip that could be detected natively and I found windows xp's Bluetooth management application is toooooo simple. I believe windows native stack will be the winner of three stacks. But it lack a killer application of Bluetooth management now. Will Vista include a new one?
Wednesday, September 06, 2006
release irda-0.1.win32-py2.4.exe
IrDA socket support for Python is a part of another project I created. The traditional way of using IrDA device under python, just is serial/COM port emulation, and is quirky when you want create OBEX communication over it.
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-0.1.win32-py2.4.exe )
Source svn repository is http://pymobilesync.googlecode.com/svn/trunk/irdasocket/ . irsocket.c is released under python license. Documents, python scripts are released under GPLv2.
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()
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()
Subscribe to:
Posts (Atom)
