| class CHidTransport : public CBase |
Hid transport interface Interface allowing the transport layer to pass data to the Generic HID
| Public Member Functions | |
|---|---|
| void | CommandResult ( TInt , TInt ) |
| TInt | ConnectedL ( TInt , const TDesC8 &) |
| TInt | DataIn ( TInt , THidChannelType , const TDesC8 &) |
| TInt | Disconnected ( TInt ) |
| TInt | DriverActive ( TInt , CHidTransport::TDriverState ) |
| Public Member Enumerations | |
|---|---|
| enum | TDriverState { EActive , ESuspend } |
| enum | THidChannelType { EHidChannelInt , EHidChannelCtrl } |
| void | CommandResult | ( | TInt | aConnectionId, |
| TInt | aCmdAck | |||
| ) | [pure virtual] | |||
Called by the transport layers to inform the generic HID of the success of the last Set... command.
| TInt | ConnectedL | ( | TInt | aConnectionId, |
| const TDesC8 & | aDescriptor | |||
| ) | [pure virtual] | |||
Called when a device has connected
| TInt | DataIn | ( | TInt | aConnectionId, |
| THidChannelType | aChannel, | |||
| const TDesC8 & | aPayload | |||
| ) | [pure virtual] | |||
Called when a device has been disconnected
| TInt aConnectionId | Transport layer connection enumeration |
| THidChannelType aChannel | Channel ID (Interrupt or Control) |
| const TDesC8 & aPayload | The complete report payload |
| TInt | Disconnected | ( | TInt | aConnectionId | ) | [pure virtual] |
Called when a device has been disconnected
| TInt aConnectionId | The transport-layer enumeration for the connection |
| TInt | DriverActive | ( | TInt | aConnectionId, |
| CHidTransport::TDriverState | aActive | |||
| ) | [pure virtual] | |||
Suspends or Resumes the driver(s) handling the connection
| TInt aConnectionId | Transport layer connection enumeration |
| CHidTransport::TDriverState aActive | The requested state of the driver (active or suspended) |
Driver state (active or suspended)
| EActive |
Driver will handle interrupt data |
| ESuspend |
the driver will not handle interrupt data |
Defines the channel type for the DataIn function
| EHidChannelInt |
Interrupt channel |
| EHidChannelCtrl |
Control channel |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.