Re: [pyusb-users] NotImplementedError in is_kernel_driver_active() in pyusb 1.0.0b2

2014-09-29 Thread Wander Lairson Costa
Em 28/09/2014 20:29, Jared Contrascere jared.n.contrasc...@libretees.com escreveu: Hello! According to the release notes at https://github.com/walac/pyusb/blob/master/ReleaseNotes.rst the functions is_kernel_driver_active, detach_kernel_driver and attach_kernel_driver does not accept an

[pyusb-users] Significance of 'B' Character in Data Arrays

2014-09-29 Thread Jared Contrascere
Hello! I've managed to read data! At this point, I need to decipher it. I wanted to confirm my suspicion that the B in the following array: array('B', [3, 4, 2, 0, 22, 0]) Signifies that an unsigned char is being received from the backend library, similar to what is seen in the table section

Re: [pyusb-users] Significance of 'B' Character in Data Arrays

2014-09-29 Thread Steven Michalske
Jared, You were close, 8.6 of the docs is what you were looking for. See https://docs.python.org/2/library/array.html for full description of the python array standard library module. If you don't have a need to run python 2.7, I suggest using Python 3 it copes with bytes and strings more