libftdi Archives

Subject: python wrapper update

From: xantares 09 <xantares09@xxxxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Oct 2011 20:52:23 +0000
Hi,

I tried to enhance the python wrapper:
- updated functions prototypes in regard to the lib
- made  OUTPUT* typemaps active as they were misplaced regarding headers order
- allowed use of ftdi_usb_get_strings
- added an advanced example script
- stripped the 'ftdi_' suffix to avoid to write "ftdi.ftdi_usb_open(...)"; it becomes just "ftdi.usb_open(...)"
- removed useless pointer functions since valid OUTPUT typemaps are there
- some cleanup

Here is the patch against the current trunk and the advanced example script to test many more functionalities.

Regards.


libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Attachment: libftdi-python_interface.patch
Description: Text Data

Attachment: complete.py
Description: Text Data

Current Thread