facedancer.backends.raspdancer module
- class facedancer.backends.raspdancer.Raspdancer(verbose=0)[source]
Bases:
objectExtended version of the Facedancer class that accepts a direct SPI connection to the MAX324x chip, as used by the Raspdancer.
- class facedancer.backends.raspdancer.RaspdancerMaxUSBApp(device=None, verbose=0, quirks=None)[source]
Bases:
MAXUSBApp- ack_status_stage(blocking=False)[source]
Handles the status stage of a correctly completed control request, by priming the appropriate endpoint to handle the status phase.
- Parameters:
direction – Determines if we’re ACK’ing an IN or OUT vendor request. (This should match the direction of the DATA stage.)
endpoint_number – The endpoint number on which the control request occurred.
blocking – True if we should wait for the ACK to be fully issued before returning.
- app_name = 'MAXUSB'
- app_num = 0