M&M FDT 1.2.1 Online Specification
 IDtmHardwareIdentification::ScanHardwareRequest() method information


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

4.3.17.1 IDtmHardwareIdentification::ScanHardwareRequest()


This method can be called in the states:          

HRESULT ScanHardwareRequest (
[in] FdtUUIDString invokeId,
[in] FdtXmlDocument request,
[out, retval] VARIANT_BOOL* result
);


Description:
Requests scan for availability of hardware and corresponding identification information.

Parameters:
invokeIdUnique identifier for the request.
requestAlways set to "" (parameter is reserved for future use)


Return Value:
resultTRUE DTM has accepted the call. FALSE The operation failed.


Behavior:
Frame Application executes this function to check if corresponding hardware is responsive and to request identification information. DTM should connect to the device and request required information. DTM must call IDtmScanEvents::OnScanHardwareResponse() when operation has finished.

Comments:
DTM must also call IDtmScanEvents::OnScanHardwareResponse() and pass XML according a field bus specific schema (FDTxxxScanIdentSchema) if requests fails (i.e. because of communication failures).




© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.