Index: HilMarshaller.c =================================================================== --- HilMarshaller.c (revision 5813) +++ HilMarshaller.c (working copy) @@ -874,7 +874,12 @@ ptServerData->ulVersionMinor = MARSHALLER_VERSION_MINOR; ptServerData->ulVersionBuild = MARSHALLER_VERSION_BUILD; ptServerData->ulVersionRevision = MARSHALLER_VERSION_REVISION; +#if defined(HIL_MARSHALLER_PERMANENT_CONNECTION) + ptServerData->ulFeatures = HIL_TRANSPORT_FEATURES_KEEPALIVE | + HIL_TRANSPORT_FEATURES_PERMANENT_CONNECTION; +#else ptServerData->ulFeatures = HIL_TRANSPORT_FEATURES_KEEPALIVE; +#endif ptServerData->ulParallelServices = ptConnector->tConn.ulDataBufferCnt; ptServerData->ulBufferSize = ptConnector->tConn.ulDataBufferSize; ptServerData->ulDatatypeCnt = ptMarshaller->ulTransports; Index: HilTransport.h =================================================================== --- HilTransport.h (revision 5813) +++ HilTransport.h (working copy) @@ -22,6 +22,7 @@ Version Date Author Description --------------------------------------------------------------------------- + 11 02.10.2013 MT Added HIL_TRANSPORT_FEATURES_PERMANENT_CONNECTION 10 23.05.2011 MS Added transport types HIL_TRANSPORT_TYPE_INX, HIL_TRANSPORT_TYPE_NETANALYZER, HIL_TRANSPORT_TYPE_NETPLC 9 28.06.2010 SD New types for 64-bit support 8 24.06.2009 MT HIL_TRANSPORT_BASIC_FEATURES_U structure changed data type from uint32_t to unsigned int @@ -105,8 +106,9 @@ #define HIL_ADMIN_S_OK 0 /*!< No error */ /* Features flag definition (used in QueryServer command) */ -#define HIL_TRANSPORT_FEATURES_KEEPALIVE 0x00000001 /*!< Device supports keep-alive */ -#define HIL_TRANSPORT_FEATURES_NXAPI 0x00000002 /*!< Device supports NXAPI marshalling */ +#define HIL_TRANSPORT_FEATURES_KEEPALIVE 0x00000001 /*!< Device supports keep-alive */ +#define HIL_TRANSPORT_FEATURES_NXAPI 0x00000002 /*!< Device supports NXAPI marshalling */ +#define HIL_TRANSPORT_FEATURES_PERMANENT_CONNECTION 0x80000000 /*!< Device has a steady connection (does not drop on remote device resets) */ #define HIL_TRANSPORT_QUERYSERVER_NAMELEN 32 /*****************************************************************************/ Index: Version History.txt =================================================================== --- Version History.txt (revision 5813) +++ Version History.txt (working copy) @@ -26,6 +26,9 @@ Add-ons: - Added support for xDriverRestartDevice call + - Added feature to tell if the remote device has a permanent + connection, that does not drop connection on resets + For this feature you need to set define HIL_MARSHALLER_PERMANENT_CONNECTION Bug fixes: - Added CRC checking for usChecksum in the netXTransport header