fixed failure to construct full config descriptor; handle linux's inability to deal...
[goodfet] / client / goodfet.maxusbhid
1 #!/usr/bin/env python
2
3 #GoodFET MAXIM MAX3421 and MAX3420 Client
4 #by Travis Goodspeed
5
6 import sys;
7 import binascii;
8 import array;
9 import warnings
10
11 from GoodFETMAXUSB import GoodFETMAXUSBHID;
12
13 warnings.warn(
14 """The libraries upon which this program depends will soon be deprecated in
15 favor of the USB*.py libraries.  See facedancer-keyboard.py for an example of
16 this program written using the new libraries."""
17 )
18
19 #Initialize FET and set baud rate
20 client=GoodFETMAXUSBHID();
21 client.serInit()
22
23
24 client.MAXUSBsetup();
25 client.hidinit();
26