User`s guide

68 DC 900-1343D
DDCMP Programmer’s Guide
C.2 Command Sequences
1. Sequence of packet exchanges for establishing a connection and starting a link
Send an ICP attach-packet (DLI_ICP_CMD_ATTACH)
Recieve an attach-packet (ack) (DLI_ICP_CMD_ATTACH)
Send a link-config-packet (DLI_PROT_CFG_LINK)
Receive a link config (ack) (DLI_PROT_CFG_LINK)
Send a start-link-packet (DLI_PROT_SEND_BIND)
Recieve a start link (ack) (DLI_PROT_SEND_BIND)
Receive a receive-data-packet (DLI_PROT_RECV_DATA) - mod=9
2. Sequence of packet exchanges for stopping a link and terminating a connection
Send a stop-link-packet (DLI_PROT_SEND_UNBIND)
Recieve a stop link (ack) (DLI_PROT_SEND_UNBIND)
Receive a receive-data-packet (DLI_PROT_RECV_DATA) - mod=11
Send an ICP detach-packet (DLI_ICP_CMD_DETACH)
Recieve an detach-packet (ack) (DLI_ICP_CMD_DETACH)
3. Sequence of packet exchanges for writing a message
Send a write-data-packet (DLI_PROT_SEND_NORM_DATA)
Receive a receive-data-packet (DLI_PROT_RECV_DATA) - mod=7
4. Sequence of packet exchanges for clearing statistics
Send a clr-stats-packet (DLI_PROT_CLR_STATISTICS)
Receive a clr-stats-ack-packet (DLI_PROT_CLR_STATISTICS) - with data
5. Sequence of packet exchanges for requesting a buffer report
Send a buf-report-packet (DLI_PROT_GET_BUF_REPORT)
Receive a buf-report-ack-packet (DLI_PROT_GET_BUF_REPORT) - with data
6. Sequence of packet exchanges for requesting a statistics report
Send a stats-rpt-packet (DLI_PROT_GET_STATISTICS_REPORT)
Receive a stats-rpt-ack-packet (DLI_PROT_GET_STATISTICS_REPORT) - with data
7. Sequence of packet exchanges for requesting a status report
Send a status-rpt-packet (DLI_PROT_GET_STATUS_REPORT)
Receive a status-rpt-ack-packet (DLI_PROT_GET_STATUS_REPORT) - with data