Eclipse.org - Device Kit
A
Command is a
request
to a
hardware device
to perform some kind of operation.
The following is a list of common commands that maybe supported by a
hardware device:
- A get command requests a property or attribute value.
- A set command requests a property or attribute be set to a specific value.
- An increment command requests a property or attribute value to be incremented.
- A decrement command requests a property or attribute value to be decremented.
- A reset command requests a reset of the
hardware device.
- A read command requests a read of the
hardware device.
An
application or agent can request that a command be executed.
Some commands, like a set command, require data be specified when executed.
Normally, when an application requests that a command be executed the
command causes a
message be sent to the
hardware device via the the appropriate
transport.
Many commands, like a get command, sent to a
hardware device will result in a response
message being
sent from the
hardware device.
If a
signal has been defined for this response
message, the
signal will be triggered.
© Copyright 2001, 2007 IBM Corporation and others.