Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
71
IEM Manual, 1.5
ptd_reqRef
OUT
reference to identify associated request
ps_response
OUT
pointer to structure receiving the response data of a certain ser-
vice data request
Return Value
Description
COM_k_OK
response to request received
COM_k_NO_RESP
no response received from the specified channel
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
parameter error
4.1.2.32 EMI_srvrespServiceCompleted()
COM_e_ERROR EMI_srvrespServiceCompleted(COM_t_REQUEST_REF td_reqRef);
Description
This function deallocates the administration block after evaluation of the re-
sponse by the application in case of the non-copy method of the
EMI_srvrespQuery
Parameter
Dir.
Description
td_reqRef
IN
unique request reference
Return Value
Description
COM_k_OK
response successfully received
COM_k_INVALID_BLOCK
invalid request reference
COM_k_ERROR
request failed
4.1.2.33 EMI_srvconfSend()
COM_e_ERROR EMI_srvconfSend(COM_t_CONNECTION_REF td_conRef,
const COM_t_SERVICE_DATA *ps_confirmation,
COM_t_REQUEST_REF s_indRef);
Description
This function enqueues the service confirmation of a previously opened chan-
nel. For this purpose the structure that is referred by the parameter
ps_confirmation is copied. Any possibly existing associated memory block
containing the indication data is released. The queue is periodically checked
for pending confirmations. The service requests are transmitted via the SD
channel. The message is automatically fragmented if necessary. To transfer all
pending confirmations the application has to call EMI_srvServiceHandle peri-