
DCN Next Generation Open Interface Release 2.4 General
en | 16
Bosch Communications Systems | 2007 February | SRS_INF | Du010933
3.3.1 Format of type MESSAGETYPE_OIP_KeepAlive
Purpose:
The heartbeat message is a special message, which can be sent to the DCN NG System
at any time. In normal circumstances the heartbeat message is transmitted every 5
seconds (when nothing else to transmit). The message is used to notify the DCN NG
System that your system is still alive. The DCN NG System also sends heartbeat
messages to indicate that the DCN NG System is still operational. You must check if two
successive messages are received within 15 seconds.
Note that the heartbeat message is similar to the notification messages.
Parameter structure:
struct {
DWORD dwMessageType;
DWORD dwLength;
DWORD dwReserved1;
DWORD dwReserved2;
} OIP_KeepAlive;
Where:
dwMessageType The message type indicator for the heartbeat message.
Constant value MESSAGETYPE_OIP_KeepAlive (See
Appendix B).
dwLength The total length of the Heartbeat message (16 bytes for this
message).
dwReserved1 Session sequence number. Currently the reserved1 is not used
and should be set to the value zero (0).
dwReserved2 Message sequence number. Currently the reserved2 is not
used and should be set to the value zero (0).
3.3.2 Format of type MESSAGETYPE_OIP_ResponseProtocolError
Purpose:
Any message sent towards the DCN NG System is checked against its boundaries
(message size, string size, validity of the message-type, not logged in …). In case a
mismatch is detected regarding the size, a universal error response message is returned.
Response message as described in section 3.3.3 cannot be used, because the received
message is not decoded nor processed.
Parameter structure:
struct {
DWORD dwMessageType;
DWORD dwLength;
DWORD dwReserved1;
DWORD dwReserved2;
DWORD dwErrorCode;
DWORD dwErrorPosition;
} OIP_ResponseProtocolError;
Where:
dwMessageType The message type indicator for the message. Constant value
MESSAGETYPE_OIP_ResponseProtocolError (See
Appendix B).
dwLength The total length of the Heartbeat message (24 bytes for this
message).
dwReserved1 Session sequence number. Currently the reserved1 is not used
and should be set to the value zero (0).
dwReserved2 Message sequence number. Currently the reserved2 is not
used and should be set to the value zero (0).
dwErrorCode The error code of the received message. For the possible error
codes see Appendix C.
Comentários a estes Manuais