9.2.5.5 Raw Binary - From DCE to DTE
For retrieval of data in Binary mode the DTE must either specify the number of bytes it wishes to receive or specify zero to request a persistent exit from the Terminal mode. On leaving Terminal mode, the DCE will output a single ‘#’ character, it will then transmit data in raw binary format.
The DCE will return to the Terminal mode if either of the following occurs:
- The +++ escape sequence is received from the DTE
- The number of bytes requested by the DTE has been sent
- All available data has been sent to the DTE (for example, DTE asks for 10 bytes but only 5 are available for reading)
On returning to terminal mode, the DCE will return the result of the command which initiated the transfer.