Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
73
IEM Manual, 1.5
used for the remote access of variables located on the host. The specification
of a unique IEM reference is not required. Any IEM can be unambiguously
identified by means of the service reference value. The application has to con-
vert the protocol specific format of complex data structures to the local format.
Remarks
This function returns the connection reference (parameter ps_conRef) if the
function
EMI_srvRemoteConnOpen
has
been
called
previous
to
EMI_srvindQuery.
Parameter
Dir.
Description
ps_conRef
IN/OU
T
unique connection reference
s_indRef
IN
unique indication reference derived from callback
ps_indication
OUT
pointer to structure receiving indication data
pps_indication
OUT
pointer to pointer receiving address of indication
Return Value
Description
COM_k_OK
indication successfully received
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_PARAM
invalid parameter
COM_k_INVALID_BLOCK
invalid administration block reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_NO_RESP
no indication received as yet
COM_k_ERROR
function call failed
4.1.2.35 EMI_srvindSegmentQuery()
COM_e_ERROR EMI_srvindSegmentQuery(COM_t_BOARD_REF td_brdRef,
COM_t_CONNECTION_REF *ps_conRef,
COM_t_REQUEST_REF *ps_indRef,
COM_t_SERVICE_DATA *ps_indication);
Description
This function checks for any indication. Data that cannot be transferred in an
expedited way is handed over to the application segment by segment. The ap-
plication is responsible to re-assemble the received data. The administration
block is deallocated automatically after the transmission of the confirmation.