Device
Devices and Components are handled similarly except in the area of properties, as shown below.
/ redhawk / rest / domains / DOMAIN_NAME / deviceManagers / DEVICEMANAGER_ID / devices
The devices
list can be indexed further by using the id
field of interest.
/ redhawk / rest / domains / DOMAIN_NAME / deviceManagers / DEVICEMANAGER_ID / devices / DEVICE_ID
/ PARENT_PATH / properties
The properties
field is a list of structures indexed by id
following this general format:
For more information on the structures, see Properties.
/ PARENT_PATH / properties
The properties
field is a list of structures which follow the structures defined in Properties with the exception that only the id
and value
fields are important. Everything else is optional and will be ignored at the server.
In all cases, the server will respond with this structure:
The method
will always match what was attempted. It is not possible to perform two methods at the same time.
The status
field will be the response of the Device attempting to allocate
or deallocate
the properties. The configure
method returns void
, so its return status is true
to assume success (unless an Exception is thrown, at which point message
will indicate).
The message
is any number of responses of the Device to the method
for the provided property list.
/ PARENT_PATH / ports
The general format for ports is shown here:
The list can be indexed using the name
field. See Ports for more information.