

Data flow from client means the characters that are written to the IrCOMM. ♦ Client refers to the local user of the local IrCOMM instance.

Some sections are applicable also to 3-wire, and even to 3-wire RAW service types.ġ4.1 Naming, References to External Entities This material is intended to be used with the 9-wire service type. In this appendix the functionality implemented on top of that framework is further defined to a degree, that allows one to rely on the external behavior of an IrCOMM instance. The main body of the IrCOMM specification defines the underlying protocol frame format on which the functionality of IrCOMM is based. The internal organization, or definite FSMs, are left open. For most parts only the external behavior is defined to ensure that a great variety of data and fax modem implementations and other kinds of devices can exist. The purpose of this appendix is to define the functionality of the IrCOMM when being used with data or fax modems or other equipment capable of acting as such devices. APPENDIX B Interfacing IrCOMM to Data or Fax Modem (In the case of link disconnection, it is the same as the sequence of 12.6.2.)Ĭ) At the time of the port open, the port emulation entity should not establish the IrCOMM link, when it received the data to be transmitted from the Legacy Application, if the IrCOMM link is not established, it establish the IrCOMM link.Īn example of service sequence of case c) is shown as follows.ġ4. When the IrCOMM link was disconnected without port closing, the Legacy Application execute the LM_DiscoverDevices again, and establish the IrCOMM link again.

The re-establishment of the IrCOMM link is done by the port open again.ī) when Legacy Application execute the port open, IrCOMM link is established. Here, in the case of b) in the state transition, mentioned above, the addition of the state of SUSPEND(waiting IrCOMM link re-establishment) is necessary.ġ2.6.3 Start of the establishment of the IrCOMM linkĪfter the finding of IrTA using LM_DiscoverDevices by the Port Emulation Entity of IR-DTE, the IrCOMM link is established as follows.Ī) when Legacy Application execute the port open (initialize the serial port, and set the possible communication parameters), establish the IrCOMM link.Īfter Legacy Application execute the port open, when the IrCOMM link is disconnected, it close the port. If the link is re-established during timer is not expired, IrTA cancel the flow control, and it is continue the communication( in the case of RTS/CTS IrTA send RTS.request(ready), and in the case of XON/XOFF control, it send DT.request(XON)).Īn example of service sequence of case b) is shown as follows.

When timer is expired(Time-out), IrTA send DTR.request(not ready) toĭCE. line disconnection by transmission problem, etc.), IrTA execute the flow control to DCE (e.g., in the case of RTS/CTS control, IrTA send RTS.request (busy), and in the case of XON/XOFF control, it send DT.request (XOFF)), then wait a fixed time until establishment of IrCOMM link. But in the case of "Provider Disconnect" (e.g. The following shows an example for service sequence in the case b).ġ2.6.2 IrTA procedure when the IrCOMM disconnected during the connection phase between DCE and network (PSTN/ISDN)ĭuring the connection between DCE and network (CONNECTED), when DCE received IrCOMM_Disconnect from IrCOMM by the request from Port Emulation Entity of IR-DTE or time-out, IrTA will choose one of the following cases.Ī) IrTA send DTR.request(off) to DCE, and disconnect the network, then makes DCE to transit to the "READY status" (state transition and service sequence are the same as before).ī) In the case of the reason for IrCOMM_Disconnect mean “User Disconnect”, it is the same as the caseĪ). *NO CARRIER*, etc.) indicating line disconnection, is necessary. Therefore, in the DCE, the information of the character data from DCE (e.g. In this case, Port Emulation Entity has no way how the status of Legacy Application are. In the case b), regardless of DCE connection with network, the state of CONNECTED means that IrCOMM link is established. When it transit to the state of READY or IDLE, IrCOMM link and the connection between DCE and network are disconnected. In the case a), the state of CONNECTED means that the connection of IrCOMM and between DCE and network are holding. The state transition in the clause 12.4 and service sequence examples in the clause 12.5 describe in the case a). In this annex, when IrTA received CD.indication(off) from DCE(in the case of disconnection between DCE and network), is the matter of the implementation either IrTA will a) disconnecting the IrCOMM link, or b) holding the IrCOMM link. 12.6.1IrTA procedure in the disconnection request from Network (PSTN/ISDN) via DCE
