User Manual

Chapter 2. Operational Modes
ASCII Interface has two operational modes, command mode and data mode. Com-
mand mode is default mode when there is no connections. It is possible to switch
between modes at any time when there are any connections. Data mode is not avail-
able if there is no connections (because there is not any data available).
Switching from data mode to command mode is issued with the following escape
sequence:
<at least 1 second sleep> +++ <at least 1 second sleep>
Same sequence or command SELECT may be used to return to data mode.
When ASCII Interface enters to command mode READY event is delivered (unless
masked away with SET CONTROL ECHO).
Command Mode
Command mode is default mode when ASCII Interface is powered. In command
mode commands can be entered to ASCII Interface to perform various activities.
Incoming data from remote devices is buffered when ASCII Interface is in command
mode.
Note: Because of embedded nature of ASCII Interface buffering capabilities are low and
only small amounts of data can be received to buffers.
Mode is changed from command mode to data mode when
User switches mode either using escape sequence <1s>+++<1s> or using com-
mand SELECT.
Connection is successfully created using command CALL (CONNECT event is used
to notify for successful link creation).
Remote device has connected us (RING event is used to notify for incoming con-
nections).
Data mode
Data mode is default mode when there are any connections. In data mode all data
is sent totally transparently from UART over the Bluetooth RFCOMM link to other
device and vice versa.
Mode is changed from data mode to command mode when
User switches mode using escape sequence <1s>+++<1s>.
Link is terminated (closed by remote device or link loss) (NO CARRIER event is used
to notify for link termination).
3