Public Types | |
typedef TPckgBuf < TConfig > | TConfigBuf |
Public Member Functions | |
TInt | Open () |
TInt | GetConfig (TConfigBuf &aConfig) |
TInt | SetConfig (const TConfigBuf &aConfig) |
void | SendData (TRequestStatus &aStatus, const TDesC8 &aData) |
void | SendDataCancel () |
void | ReceiveData (TRequestStatus &aStatus, TDes8 &aBuffer) |
void | ReceiveDataCancel () |
Static Public Member Functions | |
static const TDesC & | Name () |
static TVersion | VersionRequired () |
Friends | |
class | DDriver1Channel |
Classes | |
class | TCaps |
class | TConfig |
Definition at line 35 of file driver1.h.
TInt RDriver1::Open | ( | ) |
TInt RDriver1::GetConfig | ( | TConfigBuf & | aConfig | ) |
TInt RDriver1::SetConfig | ( | const TConfigBuf & | aConfig | ) |
void RDriver1::SendData | ( | TRequestStatus & | aStatus, | |
const TDesC8 & | aData | |||
) |
Sends data to the device. Only one send request may be pending at any time.
aStatus | The request to be signalled when the data has been sent. The return value will be set to KErrNone on success; or to one of the system wide error codes when an error occurs. | |
aData | A descriptor containing the data to be sent. |
void RDriver1::SendDataCancel | ( | ) |
void RDriver1::ReceiveData | ( | TRequestStatus & | aStatus, | |
TDes8 & | aBuffer | |||
) |
Receives data from the device. Only one receive request may be pending at any time.
aStatus | The request to be signalled when the data has been received. The return value will be set to KErrNone on success; or to one of the system wide error codes when an error occurs. | |
aBuffer | A descriptor to which the received data will be written. |
void RDriver1::ReceiveDataCancel | ( | ) |
Cancels a previous ReceiveData() request.
const TDesC & RDriver1::Name | ( | ) | [static] |
TVersion RDriver1::VersionRequired | ( | ) | [static] |