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:

  1. The +++ escape sequence is received from the DTE
  2. The number of bytes requested by the DTE has been sent
  3. 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.