|
| This method can be called in the states: |
|
Description:WriteDeviceRequest performs asynchronous exchange of a data structure with a DTM.
|
Parameters:
| invokeId | Unique identifier for the request | | itemList | List of required items described by a DtmItemList specified by the DTMItemListSchema |
Return Value:
Behavior:Via this method the Frame Application requests a DTM to write the specified data to its device according to the device specific rules. Error information will be handed over to the Frame Application via the related response XML-Document. If a request can not be accepted by the DTM it is possible to send the response within the call. Execution of the WriteRequest() method must not change the data of the instance data set. The DTM has to check, whether it could manipulate the flag ‘modifiedInDevice’ (refer chapter ‘FDT Data Types) in the instance data set by requesting a lock. If the lock request fails the DTM has also to refuse the WriteRequest() - an appropriate response must be provided. The DTM must always accept the request. If the request cannot be processed, the reason for failure must be provided asynchronously as part of the response. The response (either failure or the result) must be provided at IDtmSingleDeviceDataAccessEvents::OnWriteResponse().
|
Comments:
|