Download Software Environment Programmer`s Manual

Transcript
Dialogic® Distributed Signaling Interface Components - Software Environment Programmer's Manual Issue 15
5.2.4
API_MSG_CNF_IND - Configuration Completion Status Indication
Synopsis
Message issued by s7_mgt protocol configuration utility on completion of initial
configuration sequence.
Format
MESSAGE HEADER
Field Name
type
id
src
dst
rsp_req
hclass
status
err_info
len
Meaning
API_MSG_CNF_IND (0x0f09)
0
s7_mgt module_id (0xcf)
Notification module (see below)
0
0
completion_status (see below)
Reserved for future use.
0
Description
This message is issued by the s7_mgt protocol configuration utility on completion of
the configuration sequence and indicates either success (status=0) or an error
condition that occurred during configuration. The message is only issued when s7_mgt
is run with the –i command line option specifying the module ID of the Notification
Module to which the message should be sent.
It is recommended that the user invoke this option, then wait for an
API_MSG_CNF_IND message to provide that the application does not attempt to send
messages until initial configuration is complete.
Parameters
completion_status
The result of initial configuration. The following table shows the possible values and
their meanings.
Value
Meaning
0
Success
1
Error opening the config.txt protocol configuration file
2
Syntax or value error in the config.txt protocol configuration file
3
Error during configuration (invalid parameters)
4
Error during configuration (no response)
59