# null

# \_DoIP\_EntityStatusResponse

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

**Note**: The following DoIP CAPL function is only available with the modeling library **DoIP.dll** and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:

* [DoIP CAPL Introduction](../CAPLDiagnosticDoIP.md)
* [AN-IND-1-012\_CAPL\_Callback\_Interface.pdf](javascript:startDemoLoader\('AN-IND-1-012_CAPL_Callback_Interface.pdf'\))
* [AN-IND-1-026\_DoIP\_in\_CANoe.pdf](javascript:startDemoLoader\('AN-IND-1-026_DoIP_in_CANoe.pdf'\))

## Function Syntax

```c
void _DoIP_EntityStatusResponse( char IPaddress[], WORD port, BYTE nodeType, BYTE maxConcurrentTCPsockets, BYTE currentlyOpenTCPsockets, DWORD maxDataSize);
```

## Description

A response for an entity status request was received.

## Parameters

* **IPaddress**: Address in text form, e.g. "169.254.32.1" (IPv4) or "2001::1" (IPv6).
* **port**: IP source port of the packet at the sender.
* **nodeType**: Type of the node. Currently 0 for gateway and 1 for node are defined.
* **maxConcurrentTCPsockets**: Maximum number of TCP connections the entity can handle simultaneously.
* **currentlyOpenTCPsockets**: Number of TCP sockets currently open and in use.
* **maxDataSize**: Maximum size of a diagnostics request this entity can process. **Note**: A value of 0 indicates that the response did not carry this optional parameter.

## Return Values

—

## Example

```c
// Process an entity status response
void _DoIP_EntityStatusResponse( char IPaddress[], WORD port, BYTE nodeType, BYTE maxConcurrentTCPsockets, BYTE currentlyOpenTCPsockets, DWORD maxDataSize)
{
  write( "_DoIP_EntityStatusResponse( '%s', %d, %d, %d, %d, %d)",
  IPaddress, port, nodeType, maxConcurrentTCPsockets,
  currentlyOpenTCPsockets, maxDataSize);
  testSupplyTextEvent( cTE_EntityStatusRespInd);
}

Testcase TC_EntityStatus()
{
  DoIP_SendEntityStatusRequest();
  testWaitForTextEvent( cTE_EntityStatusRespInd, 500);
}
```

[DoIP\_SendEntityStatusRequest](CAPLfunctionDoIPSendEntityStatusRequest.md)
