beautypg.com

Communication session, Versajet – Cino M230B User Manual

Page 11

background image

2

Programming Reference

VERSAJET

Communication Session


Initially, RS232, USB, Bluetooth, IRDA and Wi-Fi interfaces are all enabled by default. You can enable your
desired one or more interfaces by using

US ` SOH

. However, the data transmission can only be processed

through one of them at a time. If the host sends data through one of these interfaces listed above when the
printer is standby, a communication session will start, which means the current active interface is occupied and
data transmission is allowed on this very interface only. If data is received from other interfaces during a
communication session, the printer will reply the sender a “busy” message “

0x5F 0x42 0x00

” and ignore these

data.

A communication session is over when the idle timeout expires. The idle timeout defaults to 500 milliseconds
and can be changed by

US ` SOH

. You can also use

US ` STX

to close a communication session before the

idle timeout expires. Only when the communication session has been over, will all these interfaces be free
again.

Moreover,

US ` NUL

is used to get current communication configuration including the enabled interfaces and

the idle timeout value. You may refer to their “Command Descriptions“for more details.