4.1 Connection Setup and Data Exchange

In the example illustrated in the following figure, the user initiates the PPP Over IrDA Dialup Protocol connection by initializing the client-side protocol as specified in section 3.3.3. The user then passes the phone number to the client-side PPP Over IrDA Dialup Protocol, as specified in section 3.3.4. It is assumed that server-side initialization, as specified in section 3.2.3, has already taken place:

  1. The client sends a dial message, as specified in section 2.2.1.2, with the Number field containing "8001231234".

  2. The server echoes the dial message back to the client as specified in section 3.2.5.1 (not shown in the following figure).

  3. The server sends the dial response message containing the connection speed at which it can operate, in the form <CR><LF>CONNECT 9600<CR><LF>, where 9600 indicates the negotiated speed between the two modems (one modem being the PPP Over IrDA Dialup Protocol server and the other modem being the device at number 800-123-1234 from step 1).

  4. Once the connection is established and the client side of the PPP Over IrDA Dialup Protocol indicates to the PPP layer to send data, the client sends a data message to the server, as specified in section 2.2.2.

  5. The server sends a data message to the client, which is delivered to the PPP Protocol as specified in [RFC1662].

  6. The client sends a hook message to the server.

  7. The server echoes the hook message back to the client as specified in section 3.2.5.2 (not shown in the following figure).

  8. The server sends the hook response message with the Response client field set to "NO CARRIER".

Example of PPP Over IrDA Dialup Protocol connection setup, data exchange, and connection teardown

Figure 2: Example of PPP Over IrDA Dialup Protocol connection setup, data exchange, and connection teardown