Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
70
IEM Manual, 1.5
Remarks
This function returns the connection reference (parameter ps_conRef) if the
function EMI_srvreqRemoteConnOpen has been called previous to
EMI_srvrespQuery. For local connections the connection reference value is 0.
Parameter
Dir.
Description
ps_conRef
OUT
unique connection reference
td_reqRef
IN
unique request reference
ps_response
OUT
pointer to structure receiving response data
pps_response
OUT
pointer to pointer receiving address of response
Return Value
Description
COM_k_OK
response successfully received
COM_k_INVALID_BLOCK
invalid request reference
COM_k_INVALID_PARAM
invalid parameter
COM_k_INVALID_STATE
routine called in invalid state
COM_k_NO_RESP
no response available
COM_k_ERROR
request failed
4.1.2.31 EMI_srvrespSegmentQuery()
COM_e_ERROR EMI_srvrespSegmentQuery(COM_t_BOARD_REF td_brdRef,
COM_t_CONNECTION_REF *ps_conRef,
COM_t_REQUEST_REF *ptd_reqRef,
COM_t_SERVICE_DATA *ps_response);
Description
This function checks for the response of ANY service data request. Data that
cannot be transferred in an expedited way is handed over to the application
segment by segment. The application is responsible to re-assemble the re-
ceived data and to release the administration block after consuming the data.
Remarks
This function returns the connection reference (parameter ps_conRef) if the
function
EMI_RemoteConnection_Open
is
called
previous
to
the
EMI_ServiceDataRespSegment_Query call. The automatic deallocation of
administration blocks in EMI_Service_Handle is deactivated in this mode.
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
ps_conRef
OUT
reference to identify the service channel