CDEVHIO Class

Header file: kmc/hio/CDevHIO.h

Syntax

class CDEVHIO

Description

Class that provides Host IO functionality.

Member Functions

Device Search and Connection
Find Searches for connectable devices.
Connect Starts a Host IO connection with a device.
Disconnect Ends a Host IO connection.
GetConnectId Gets the ID of the currently connected device.
Serial Communication
OpenSio Opens a serial communication channel.
CloseSio Closes a serial communication channel.
ConnectSio Starts a connection for serial communication and waits until the target device calls wait.
WaitSio Waits until the target device for serial communication calls connect.
DisconnectSio Disconnects from a serial communication session.
FlushSio Waits until all outgoing data has been sent during serial communication.
ReadSio Receives data via serial communication.
WriteSio Sends data via serial communication.
Shared Memory
OpenSmem Opens a shared memory channel.
CloseSmem Closes a shared memory channel.
GetSmemSize Gets the size of the shared memory.
ReadSmem Loads data from shared memory.
WriteSmem Writes data in shared memory.
Other Functions
CDEVHIO Initializes Host IO for use.
V ~CDEVHIO Ends Host IO.
GetVersion Gets the version number.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL