C# Class PTP.PTPCommunication

Exibir arquivo Open project: mweerden/CHDKPTPRemote

Public Properties

Property Type Description
NParams int

Private Properties

Property Type Description
CheckError void
CheckErrorAndLength void
ReceiveData void
ReceiveResponse void
SendData void
SendRequest void

Public Methods

Method Description
PTPCommunication ( PTPDevice dev ) : System
ResetAll ( ) : void
ResetParams ( ) : void
Send ( ) : void
Send ( byte data ) : void

Private Methods

Method Description
CheckError ( ErrorCode err ) : void
CheckErrorAndLength ( ErrorCode err, int len, int target_len ) : void
ReceiveData ( byte &data ) : void
ReceiveResponse ( ) : void
SendData ( byte data ) : void
SendRequest ( ) : void

Method Details

PTPCommunication() public method

public PTPCommunication ( PTPDevice dev ) : System
dev PTPDevice
return System

ResetAll() public method

public ResetAll ( ) : void
return void

ResetParams() public method

public ResetParams ( ) : void
return void

Send() public method

public Send ( ) : void
return void

Send() public method

public Send ( byte data ) : void
data byte
return void

Property Details

NParams public_oe property

public int NParams
return int