Logo Search packages:      
Sourcecode: calibre version File versions

def calibre::devices::interface::DevicePlugin::reset (   self,
  key = '-1',
  log_packets = False,
  report_progress = None 
)

@param key: The key to unlock the device
@param log_packets: If true the packet stream to/from the device is logged
@param report_progress: Function that is called with a % progress
                (number between 0 and 100) for various tasks
                If it is called with -1 that means that the
                task does not have any progress information

Reimplemented in calibre::devices::prs500::driver::PRS500, and calibre::devices::usbms::device::Device.

Definition at line 33 of file interface.py.

00033                                                                        :
        """
        @param key: The key to unlock the device
        @param log_packets: If true the packet stream to/from the device is logged
        @param report_progress: Function that is called with a % progress
                                (number between 0 and 100) for various tasks
                                If it is called with -1 that means that the
                                task does not have any progress information
        """
        raise NotImplementedError()

    @classmethod
    def get_fdi(cls):


Generated by  Doxygen 1.6.0   Back to index