Receives one packet of data.
If using the @RXN1 command to receive packets one at a time, first use the @RSD0 command to disable output of received data and change to the mode whereby data is collected in the receive buffer.
Issuing the @RXN1 command outputs any received data already in the buffer. If no data is waiting, data is output when it is received. After receiving data, issue the @RXN1 command again to receive the next data packet.
While waiting to receive data after issuing a @RXN1 command, you can issue @RXN0 command to cancel data reception. Changing to terminal setup mode, or issuing the @CAB or @CRB command also cancels data reception.
@RXN(Mode)
Mode=0 : Cancel waiting for data reception.
Mode=1 : Receive one packet of data.
=>"@RSD0" CR Disables output of received data.
=>"@RXN1" CR Gets received data.
<="@RXB002001", 0x05, 0x00, "HELLO"
Received the data "HELLO" (5 characters) sent from the device with device ID 001 to the device with device ID 002.