peitel HA57 EVO User manual

Application Note AN1800 HA57 EVO User Manual
Exported on 15.01.2020

2
Application Note AN1800 HA57 EVO User
Manual
Table of Contents
0 History......................................................................................................................... 7
0.1 Related Documents........................................................................................................................ 7
1 Introduction................................................................................................................ 8
2 Overview Hardware Components ........................................................................... 10
2.1 Performance Features.................................................................................................................. 10
2.2 Block Wiring Diagram................................................................................................................... 10
2.3 Connector Pin Configuration....................................................................................................... 11
2.4 Communication Settings ............................................................................................................. 12
3 Firmware (Terminal Protocols) ............................................................................... 13
3.0 Display Organization.................................................................................................................... 13
3.0.1 General Organization of the Display .........................................................................................................................13
3.0.2 Graphics Display Modes.............................................................................................................................................15
3.0.2.1 The Modes DISP_MODE_GR_1_8 to DISP_MODE_GR_17_20................................................................................16
3.0.2.2 The modes DISP_MODE_DISP_MODE_GR_xROW and GR_x.................................................................................18
3.0.3 Symbol Bar .................................................................................................................................................................18
3.0.4 Softkey Bar .................................................................................................................................................................18
3.1 Terminal Protocol HA20x............................................................................................................. 19
3.1.0 Presentation Rules .....................................................................................................................................................19
3.1.1 Handset as Output Device (Transmitter) ..................................................................................................................20
3.1.1.1 Keypad Input ...........................................................................................................................................................20
3.1.1.2 Power-On.................................................................................................................................................................23
3.1.2 Handset as Input Device (Receiver)...........................................................................................................................23
3.1.2.1 Display Mode HA20x................................................................................................................................................24
3.1.2.2 Cursor ON.................................................................................................................................................................26
3.1.2.3 Cursor OFF ...............................................................................................................................................................27
3.1.2.4 Set Cursor ................................................................................................................................................................27
3.1.2.5 Clear Display............................................................................................................................................................28
3.1.2.6 Clear Line.................................................................................................................................................................28
3.1.2.7 Reversed Text Line ..................................................................................................................................................29
3.1.2.8 Text of Left Softkey (SoftkeyL)................................................................................................................................30
3.1.2.9 Text of Right Softkey (SoftkeyR).............................................................................................................................30

3
Application Note AN1800 HA57 EVO User
Manual
3.1.2.10 Clear Softkey .........................................................................................................................................................31
3.1.2.11 Set Softkey Properties ..........................................................................................................................................32
3.1.2.12 Set Brightness........................................................................................................................................................32
3.1.2.13 Query Brightness...................................................................................................................................................33
3.1.2.14 Query Hook State ..................................................................................................................................................34
3.1.2.15 Query Version ........................................................................................................................................................35
3.1.2.16 Set Key Event Times..............................................................................................................................................36
3.1.2.17 Backlight in On-Hook Mode..................................................................................................................................36
3.1.2.18 "Read SMS" Symbol ..............................................................................................................................................38
3.1.2.19 "Unread SMS" Symbol ..........................................................................................................................................38
3.1.2.20 "Signal Strength" Symbol.....................................................................................................................................39
3.1.2.21 "Roaming" Symbol................................................................................................................................................40
3.1.2.22 "Missed Calls" Symbol ..........................................................................................................................................41
3.1.2.23 "Volume Private Mode" Symbol ...........................................................................................................................41
3.1.2.24 "Volume Handsfree Mode" Symbol......................................................................................................................42
3.1.2.25 "Mute" Symbol ......................................................................................................................................................43
3.1.2.26 "Navigation" Symbols...........................................................................................................................................44
3.1.2.27 "Audiomode" Symbols..........................................................................................................................................45
3.1.2.28 Loading Animation................................................................................................................................................46
3.1.2.29 Progress Bar...........................................................................................................................................................46
3.1.2.30 Set Fonts................................................................................................................................................................47
3.1.2.31 Set Colours ............................................................................................................................................................48
3.1.2.32 Send & Show Graphic Data ...................................................................................................................................49
3.1.2.33 Set Earpiece Volume .............................................................................................................................................50
3.1.2.34 Set Microphone Gain.............................................................................................................................................50
3.1.2.35 Mute Earpiece........................................................................................................................................................51
3.1.2.36 Mute Microphone ..................................................................................................................................................52
3.1.2.37 Buzzer Function.....................................................................................................................................................52
3.1.2.38 Buzzer Tone...........................................................................................................................................................53
3.1.2.39 Scrolling Text.........................................................................................................................................................54
3.1.2.40 Set Mode of Loudspeaker Input ...........................................................................................................................55
3.1.2.41 Get Mode of Loudspeaker Input ...........................................................................................................................55
3.2 Terminal Protocol HA400............................................................................................................. 56
3.2.0 Presentation Rules .....................................................................................................................................................56
3.2.1.1 Key Events ...............................................................................................................................................................57

4
Application Note AN1800 HA57 EVO User
Manual
3.2.1.2 Key Event Messages ................................................................................................................................................58
3.2.1.3 Key Codes ................................................................................................................................................................59
3.2.1.4 Power-On.................................................................................................................................................................61
3.2.2 Handset as Input Device (Receiver)...........................................................................................................................62
3.2.2.1 Display Mode HA400................................................................................................................................................63
3.2.2.2 Cursor ON/OFF ........................................................................................................................................................65
3.2.2.3 Set Cursor ................................................................................................................................................................66
3.3.2.4 Query Cursor Position.............................................................................................................................................66
3.2.2.5 Clear Display............................................................................................................................................................67
3.2.2.6 Clear Line.................................................................................................................................................................68
3.2.2.7 Reversed Text Line ..................................................................................................................................................68
3.2.2.8 Text of Left Softkey (SoftkeyL)................................................................................................................................69
3.2.2.9 Text of Right Softkey (SoftkeyR).............................................................................................................................70
3.2.2.10 Clear Softkey .........................................................................................................................................................70
3.2.2.11 Set Softkey Properties ..........................................................................................................................................71
3.2.2.12 Set Brightness........................................................................................................................................................72
3.2.2.13 Increase Brightness...............................................................................................................................................72
3.2.2.14 Decrease Brightness..............................................................................................................................................73
3.2.2.15 Query Brightness...................................................................................................................................................73
3.2.2.16 Query Hook State ..................................................................................................................................................74
3.2.2.17 Query PTT State.....................................................................................................................................................75
3.2.2.18 Query Version ........................................................................................................................................................76
3.2.2.19 Set Key Event Times..............................................................................................................................................77
3.2.2.20 Query Key Event Times .........................................................................................................................................78
3.2.2.21 Set Backlight Mode and Duration.........................................................................................................................79
3.2.2.22 Query Backlight Mode and Duration ....................................................................................................................80
3.2.2.23 " Read SMS " Symbol.............................................................................................................................................81
3.2.2.24 "Unread SMS" Symbol ..........................................................................................................................................82
3.2.2.25 "Signal Strength" Symbol.....................................................................................................................................83
3.2.2.26 "Roaming" Symbol................................................................................................................................................84
3.2.2.27 "Missed Calls" Symbol ..........................................................................................................................................84
3.2.2.28 "Volume Private Mode" Symbol ...........................................................................................................................85
3.2.2.29 "Volume Handsfree Mode" Symbol......................................................................................................................86
3.2.2.30 "Mute" Symbol ......................................................................................................................................................87
3.2.2.31 "Navigation" Symbol ............................................................................................................................................87

5
Application Note AN1800 HA57 EVO User
Manual
3.2.2.32 "Audiomode" Symbol ...........................................................................................................................................89
3.2.2.33 Loading Animation................................................................................................................................................89
3.2.2.34 Progress Bar...........................................................................................................................................................90
3.2.2.35 Set Fonts................................................................................................................................................................91
3.2.2.36 Set Colours ............................................................................................................................................................91
3.2.2.37 Restart of the Handset ..........................................................................................................................................92
3.2.2.38 Query Serial Number.............................................................................................................................................93
3.2.2.39 Buzzer Function.....................................................................................................................................................93
3.2.2.40 Buzzer Tone...........................................................................................................................................................94
3.2.2.41 Set Baud Rate ........................................................................................................................................................95
3.2.2.42 Query Baud Rate....................................................................................................................................................96
3.2.3.43 Send & Show Graphic Data ...................................................................................................................................97
3.2.2.44 Set Earpiece Volume .............................................................................................................................................98
3.2.2.45 Query Earpiece Volume.........................................................................................................................................98
3.2.2.46 Decrease Volume Earpiece .................................................................................................................................100
3.2.2.47 Decrease Earpiece Volume .................................................................................................................................100
3.2.2.48 Set Microphone Gain...........................................................................................................................................101
3.2.2.49 Query Microphone Gain ......................................................................................................................................102
3.2.2.50 Increase Microphone Gain ..................................................................................................................................103
3.2.2.51 Decrease Microphone Gain.................................................................................................................................103
3.2.2.52 Mute Earpiece......................................................................................................................................................104
3.2.2.53 Mute Microphone ................................................................................................................................................104
3.2.2.54 Scrolling Text.......................................................................................................................................................105
4 Setup....................................................................................................................... 107
4.1 Brightness................................................................................................................................... 107
4.2 Factory Settings.......................................................................................................................... 108
4.3 Logo ............................................................................................................................................ 108
4.4 Emulation ................................................................................................................................... 108
4.5 Mapping of Pin 6 of the Connector............................................................................................ 109
4.6 Info Display................................................................................................................................. 109
5 Own Software......................................................................................................... 110
5.1 User Applications ....................................................................................................................... 110
5.2 Command Extension.................................................................................................................. 110
6 Protocol Description LogoLoader ......................................................................... 111

6
Application Note AN1800 HA57 EVO User
Manual
6.1 Command Sequence.................................................................................................................. 111
6.2 AT Command Descriptions ........................................................................................................ 111
6.3 Flash Loader for Customer Logo Files....................................................................................... 114
7 Appendix................................................................................................................. 118
7.1 Coding Scheme of Graphic Modes............................................................................................. 118
7.2 Compression Algorithm ............................................................................................................. 118
7.3 Code Tables ................................................................................................................................ 119
7.4 Fonts ........................................................................................................................................... 132
7.5 License ........................................................................................................................................ 133

7
Application Note AN1800 HA57 EVO User
Manual
0 History
Date Revision Author Comments
August 2018 1.0 BP First Release
January 2019 1.1 RaSc Update of the first release
Table 1: History
0.1 Related Documents
No. Name Remarks
1 AN1902 Documentation API HA57 EVO Download from www.peitel.de
2 AN1903 AppLoader HA57 SDK & HA57 EVO Download from www.peitel.de
3 AN1904 LogoLoader for Handsets Download from www.peitel.de
Table 2: Related Documents

8
Application Note AN1800 HA57 EVO User
Manual
•
•
•
•
•
1 Introduction
This document describes the features of the peitel handset HA57 EVO. The hardware as well as the available terminal
protocols HA20x and HA400 for the communication with the handset will be described in detail in this document.
The essential difference between the HA400 and HA20x protocol is the signalling of key events.
Figure 1: HA57 EVO
The adjacent figure is showing the upper side and bottom side of the handset HA57 EVO.
The handset consists of the following main components:
Microphone & Earpiece
Key panel with 20 keys
Graphic 2.4'' colour LCD with background lighting
Spiral cable with 10-pin Western connector
PTT button (Push to Talk)
To connect the handset to a target system a 10-pin Western system connector is used. Besides the audio signals, a
RS232 interface is available at the connector for communication with the target system.
In the remainder of this document, the controlling system is referred to as the "Host" or "Host system" and handset
as the "Client". To enable communication between the Host and the Client the so-called "Terminal Interface" has
been defined. The Terminal Interface consists of the "RS232 Interface" (hardware, see 2.4 Communication Settings)
and the "Terminal Protocols" (software, see 3 Firmware (Terminal Protocols) ff). These protocols are based on the
Terminal Protocols HA20x and HA400 used in the handset HA87, HA88 and HA57 SDK for a downwards compatibility of
the handsets. Additional commands have been defined to address the enhanced features of the handset HA57 EVO.
The selection of the Terminal Protocol to be used can be done via the Setup Menu as described in section 4.4
Emulation.
The handset works as

9
Application Note AN1800 HA57 EVO User
Manual
•
•
Output device (transmitter)
When recognizing a pressed key, a respective key code from the chosen protocol is sent to the host system.
This can initiate respective actions.
Input device (receiver)
The handset is controlled with control sequences by the host system. In this way, for example, a text can be
displayed on the handsets display.
The following figure illustrates the application principle:
Figure 2: Handset usage principle
The HA57 EVO offers the possibility to integrate user applications. See also chapter 5 Own Software.

10
Application Note AN1800 HA57 EVO User
Manual
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
2 Overview Hardware Components
2.1 Performance Features
General:
ARM 32-bit Cortex-M3 CPU (72 MHz frequency)
HOOK detection via magnet (wear-free)
Balanced operation of earpiece
Balanced operation of microphone
Electret microphone system
Volume regulation for microphone and earpiece by command
Continuously adjustable brightness adjustment
Hardware interfaces:
UART 115200 V24 level (default)
Specifications*:
2.4'' colour graphic display (RGB TFT LCD) with 240x320 Pixel & 262,144 colours
Power supply: 5 to 35 Volt
Average power consumption: max. 0.8W/ ca. 160 mA at 5 V (lighting + audio switched on)
Microphone amplification adjustable in 5 dB steps in a range of about 40 dB
Microphone frequency range: 200 Hz to 7 kHz at -10 dB
Microphone impedance: approx. 200 Ω
Microphone sensitivity (in LRGP): 60 mV/Pa (-24 dBV/Pa ± 3 dB) (default)
Earpiece amplification adjustable in 3 dB steps in a range of about 25 dBSPL
Earpiece frequency range: 200 Hz to 7 kHz at -10 dB
Earpiece impedance: approx. 600 Ω
Earpiece sensitivity: 25 dBPa/V ± 3 dB (default)
Earpiece input voltage (max.): 80 mV
Operating temperature range: -20 °C to +70 °C
Dimensions: 164 mm x 51 mm x 29 mm (without cable)
Spiral cable length: approx. 650 mm to 3000 mm (extended)
Customer specific logo at start-up (Boot logo)
Flash memory 446k (for SDK)
SRAM memory 64k (for SDK)
* To keep pace with technical progress, we reserve the right to make improvements without prior notice.
2.2 Block Wiring Diagram

11
Application Note AN1800 HA57 EVO User
Manual
Figure 2: Block wiring diagram
2.3 Connector Pin Configuration
In the basic version, the 10-pin Western connector has the following pin configuration:
PIN Signal Level/Remarks
1 ON/OFF Open-Drain (Right Function Key)
2 MIC - See section 2.1 Performance Features
3 MIC +
4 LS - See section 2.1 Performance Features
5 LS +
6 Hook or PTT Open-Drain
See section 4.5 Mapping of Pin 6 of the Connector
7 TxD See section 2.1 Performance Features
8 RxD
9 GND Power Supply
10 VBATT (+5 … +35V)
Table 3: System connector pin configuration

12
Application Note AN1800 HA57 EVO User
Manual
Figure 3: System connector
2.4 Communication Settings
The data stream from the Client (handset) to the Host (target system) is completely independent from the data
stream from the Host to the Client (full duplex).
The common interface is a serial interface (RS232-V.24). The communication settings are:
Baud (default): 115200 Baud
Data bits: 8
Parity: None
Stop bits: 1
Handshake: None
Short notation: 115200,8,N,1
The hardware interface is part of the Terminal Interface.

13
Application Note AN1800 HA57 EVO User
Manual
•
•
•
3 Firmware (Terminal Protocols)
The Terminal Protocols are in addition to the hardware RS232 interface the second part of the Terminal Interface and
allow the Host system to use the handset as a "Terminal", i.e. as an input and output device, controlled via a serial
interface.
Die Terminal-Protokolle sind neben der hardwareseitigen RS232-Schnittstelle der zweite Teil der
Terminalschnittstelle und erlauben dem Host-System, den Handapparat als "Terminal", d.h. Ein- und Ausgabegerät,
über eine serielle Schnittstelle zu steuern.
For compatibility with the handsets HA87, HA88 and HA57 SDK both type of protocols used in these handsets - HA20x
and HA400 - have been integrated in the new handset and can be selected via the setup program. See section 4.4
Emulation.
The essential difference between the HA20x and HA400 protocol is the signaling of key events. For example, with the
HA20x protocol it is not possible to detect the start of the keystroke, however only one byte for signaling is required
while with the HA400 protocol six bytes are required. Please see sections 3.1.1.1 Keypad Input and 3.2.1.1 Key Events
for more details.
3.0 Display Organization
Both protocols use identical display organization which will be described prior to the protocol description.
3.0.1 General Organization of the Display
The display has a resolution of 240x320 (width, height) and a 565 RGB colour space (up to 256k colours via colour
table). For normal operation, it is divided into three zones:
Symbol Bar (Icons)
Text Area (Text)
Softkey Bar (SoftkeyL – Navigation – SoftkeyR)
Figure 4: Organization of the display in NORMAL mode

14
Application Note AN1800 HA57 EVO User
Manual
In comparison to the versions HA87/88, all display modes that hide the Symbol Bar or the Softkey Bar for reasons of
space limitations are not required anymore, as sufficient space is available for the text area.
A sub-division of the selection of display modes are the text modes that are only available for the text field. These text
modes are pre-defined settings for the font used for display, the orientation and the matching of the given character
codes (0-255) for a graphic symbol of the font (see also Code Table).
The text field, at normal usage (ASCII mode) consists of 8 rows with 16 columns (characters) each. Using alternative
fonts will change the number of rows and columns. Rows and columns of the text field are free addressable (cursor
concept) starting at 0 (upper left corner). Text is over-written row by row from left to right and accordingly
downwards at the end of a row. In text mode, the overwritten characters are displayed immediately.
Non-overwritten parts of text keep the respective content. When switching the text mode, the text field is deleted and
the cursor is positioned at home position (0).
Figure 5: Display organization in BIGSIZE mode
Figure 6: Display organization in CENTRE mode

15
Application Note AN1800 HA57 EVO User
Manual
Figure 7: Display organization in GRAPHIC mode 54x96
Graphic modes can be activated independently of the text modes and relate to the total display area. The graphic
memory reserved for these modes is filled up first, and then at activation, displayed once. "Graphic" only stands for
small rectangles of a given graphic colour or of the text background colour.
The graphic mode was originally developed for a monochrome display and the display of pictograms and custom-
made fonts. The graphic memory supports 120x160 pixels and is nearly compatible with the display memory of the
HA87 (128x160) which is due to the geometry of the current display. The memory is logically divided into fields of 8x8
pixels each, which makes 20 rows and 15 columns. Depending on the chosen graphic mode, only distinctive rows of
the display area are displayed. Therefore, the 3 display areas (symbol bar, text field and softkey bar) can be displayed
independently, additionally to the graphic mode. A row of graphic content fills the display entirely from left to right
and overwrites, where necessary, the existing content of the display fields.
For the terminal protocols (HA20x and HA400) graphic data are coded in a maximum 20 rows and are transferred in
complete rows (all 15 columns).
It is also possible to use these graphic modes with the SDK, but the SDK also contains alternative functions for real
graphics or for the integration of fonts.
3.0.2 Graphics Display Modes
The display, or parts of it, can be used for graphics. This section explains the graphic modes.
In general, a graphical mode can be imagined as transparencies that are put on top of the current display. The
following figure shows the principle of the graphic-modes.
In this figure a combination of the display modes DISP_MODE_ASCII and DISP_MODE_GR_4ROWS is used. The graphic
shaded grey (here the pei tel logo) is put on top of the current display, so that the resulting display will look like
shown on the right-hand side.

16
Application Note AN1800 HA57 EVO User
Manual
Figure 8: Principle of GRAPHIC modes of the HA57 EVO
The applied coding scheme can be found in the appendix 6.1 Coding Scheme of the Graphic Modes.
3.0.2.1 The Modes DISP_MODE_GR_1_8 to DISP_MODE_GR_17_20
A line consists of 120x8 pixels. Each pixel can be addressed and therefore activated. Depending on the selected
graphic display mode, up to 20 lines can be displayed.
All together, there are 120x160 pixels that can be addressed in these modes.
Figure 9: Display Structure 120x160
The size of the graphic area is 120x160 pixels. The graphic field is displayed on the display scaled by factor 2. The
graphic mode of the HA57 SDK supported 16 columns. When a 16th column is transferred to the HA57 EVO, it is

17
Application Note AN1800 HA57 EVO User
Manual
ignored. When choosing a graphic mode, additionally an 8-bit mask can be indicated, which refers to the rows to be
activated in the respective mode. This allows to display any row between 0 and 19.
Line 0 DISP_MODE_GR_1_8:
Line 0 to line 7 can be used for graphics purposes.
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8 DISP_MODE_GR_9_16:
Line 8 to line 15 can be used for graphics purposes.
Line 9
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
Line 16 DISP_MODE_GR_17_20:
Line 16 to line 19 can be used for graphics purposes.
Line 17
Line 18
Line 19
Figure 10: DISP_MODE_GR_5ROWS

18
Application Note AN1800 HA57 EVO User
Manual
3.0.2.2 The modes DISP_MODE_DISP_MODE_GR_xROW and GR_x
These modes assure the compatibility to the HA57 with a very small display field (width 96 pixels, height 54 pixels).
This small graphic field is placed, when these graphic modes are selected, right in the middle of the display. Symbols
and softkeys are accordingly not faded out. The modes 1 to 7 make the selection of the rows displayed in the field. For
the new modes, this conducted by the bit mask.
A short description of the available modes using the names from older documentations:
DISP_MODE_GR_4ROW: Row 1-4 of the graphic memory are displayed (4 rows)
DISP_MODE_GR_5ROW: Row 0-4 of the graphic memory are displayed (5 rows)
DISP_MODE_GR_6ROW: Row 0-6 of the graphic memory are displayed (7 rows)
DISP_MODE_GR_7: Row 1-6 of the graphic memory are displayed (7 rows)
DISP_MODE_GR_8: Identical with DISP_MODE_GR_6ROW
DISP_MODE_GR_9: Row 1-2 of the graphic memory are displayed (2 rows)
DISP_MODE_GR_10: Row 3-4 of the graphic memory are displayed (2 rows)
DISP_MODE_GR_11: Row 5-6 of the graphic memory are displayed (2 rows)
The position of the displayed rows is fixed on the display field. Therefore, an activation of the mode 9 - 11 altogether
shows the same result as does the activation of the mode 7.
3.0.3 Symbol Bar
Predefined symbols (Icons) can be displayed on the symbol bar. These symbols are displayed in a special, also
predefined position. The symbol bar is divided into 7 fields:
Signal Strength Missed Calls Roaming Audio Mode Microphone Mute SMS Volume
Figure 11: Position of certain Symbols on the Symbol Bar
3.0.4 Softkey Bar
The softkey bar is located in the lower part of the display. It is divided into 3 fields:
Note
The graphic memory for row 0 is placed in the upper text field for these modes. There are at maximum 7
rows and 12 columns. Do not mix up the old modes with the new modes!

19
Application Note AN1800 HA57 EVO User
Manual
•
•
•
•
•
•
•
•
SoftkeyL Navigation SoftkeyR
Figure 12: Softkey Bar
These fields are assigned to keys of the keypad as shown below:
Field "SoftkeyL": Key "Left Softkey"
Field "SoftkeyR": Key "Right Softkey"
Field "Navigation": Keys "Navigation UP", "Navigation DOWN", "Navigation LEFT", "Navigation RIGHT"
3.1 Terminal Protocol HA20x
3.1.0 Presentation Rules
In the following, the commands are presented with as much precision as possible. First, there is a general description
of the command providing information about the command behavior. A "Syntax" paragraph describes the way to use
the command. A "Parameter(s)" paragraph describes the required parameter value(s) where applicable. A "Reply"
paragraph provides possible responses of a command, where applicable. Finally, an "Example" paragraph provides
an example of the command. Figures are provided where necessary. The prefix "0x" is used for a hexadecimal
number.
The following basic rules are applied:
The prefix "0x" is used for a hexadecimal number
Control-Characters (not printable characters) are placed within <>-brackets. For example, <ESC> equals the
ESC-character, which is (0x1B). It is just one character! It is not "E" + "S" + "C"!
Any other characters are ASCII coded characters
Variable values are shown in ()-brackets
Do not use spaces unless it is quoted
<CR> represents "Carriage Return". The hexadecimal value of <CR> is 0x0D
<LF> represents "Line Feed". The hexadecimal value of <LF> is 0x0A
The prefix "//" is used for comments
Command Line
Commands are transmitted to the handset within a "frame". Commands always start with the <ESC>-Character
(0x1Bh) and end with <CR><LF> (0x0Dh followed by 0x0Ah). <LF> (0x0Dh) is optional. In this document <CR> <LF> are
used as termination.

20
Application Note AN1800 HA57 EVO User
Manual
Figure 13: Frame of Terminal Protocol HA20x
There is no response from the handset to incorrect or formally correct commands. Only queries get a response.
Example:
<ESC>[(Row);(Column)H<CR><LF>
This example consists of the following parts:
<ESC> ESCAPE character 0x1B
[ Character "["
(Row) Variable value for "Row"
; Character ";"
(Column) Variable value for "Column"
H Character "H"
<CR> Carriage Return
<LF> Line Feed
For this example, the following 8 bytes are actually needed to be transferred:
3.1.1 Handset as Output Device (Transmitter)
The HA57 EVO sends answers to corresponding control commands and the input from the keypad.
3.1.1.1 Keypad Input
The distinction is made between three different modes when pressing a key:
Table of contents