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 Application Note AN1800 HA57 EVO User Manual...
Page 3
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 Application Note AN1800 HA57 EVO User Manual...
Page 4
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 Application Note AN1800 HA57 EVO User Manual...
Page 5
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 Application Note AN1800 HA57 EVO User Manual...
Page 6
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 Application Note AN1800 HA57 EVO User Manual...
Table 1: History 0.1 Related Documents Name Remarks AN1902 Documentation API HA57 EVO Download from www.peitel.de AN1903 AppLoader HA57 SDK & HA57 EVO Download from www.peitel.de AN1904 LogoLoader for Handsets Download from www.peitel.de Table 2: Related Documents Application Note AN1800 HA57 EVO User...
1 Introduction This document describes the features of the pei tel 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.
Page 9
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. Application Note AN1800 HA57 EVO User...
• 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 Application Note AN1800 HA57 EVO User Manual...
LS + Hook or PTT Open-Drain See section 4.5 Mapping of Pin 6 of the Connector See section 2.1 Performance Features Power Supply VBATT (+5 … +35V) Table 3: System connector pin configuration Application Note AN1800 HA57 EVO User Manual...
The common interface is a serial interface (RS232-V.24). The communication settings are: Baud (default): 115200 Baud Data bits: Parity: None Stop bits: Handshake: None Short notation: 115200,8,N,1 The hardware interface is part of the Terminal Interface. Application Note AN1800 HA57 EVO User Manual...
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 Application Note AN1800 HA57 EVO User Manual...
Page 14
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 Application Note AN1800 HA57 EVO User Manual...
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. 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.
Page 17
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 Application Note AN1800 HA57 EVO User Manual...
Microphone Mute 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: Application Note AN1800 HA57 EVO User Manual...
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. Application Note AN1800 HA57 EVO User Manual...
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:...
Page 22
AKPM key code 0xEC sent after Time2 has expired! For the setting of the times Time1 and Time2 there is a special command <ESC>IT(Time1);(Time2)<CR><LF>) available. Please refer to corresponding section for more information about this command. Application Note AN1800 HA57 EVO User Manual...
HA57 EVO, and control sequences that control the behaviour of the HA57 EVO. Both record types have in common that they are terminated by <CR> (\r; 0x0D) and <LF>...
In non-graphic modes, the display mode should usually be selected before sending text to the display. In graphic modes, all data should be sent first, before selecting the display mode! Syntax <ESC>ID(Mode)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Page 25
OR-operation of lines to be displayed as a hexadecimal number with: 1st Line of group 2nd Line of group 3rd Line of group … 8th Line of group 1st and 2nd Line of group Lines of group Application Note AN1800 HA57 EVO User Manual...
3.1.2.2 Cursor ON This command switches the cursor on. The cursor is only shown in the display modes DISP_MODE_ASCII, DISP_MODE_SMS and DISP_MODE_TB. Syntax <ESC>&C<CR><LF> Parameter None Example <ESC>&C<CR><LF> // Switch on cursor Application Note AN1800 HA57 EVO User Manual...
The column in which the cursor is to be set. The value range is 0-15. If a column >15 is specified, the command will be ignored. Both parameters must be transmitted ASCII-coded, i.e. column following bytes must be transmitted: 0x31 "1" 0x35 "5"! Application Note AN1800 HA57 EVO User Manual...
This command clears the text from the current cursor position to the end of this line. To clear a complete line, the cursor must first be set to the starting position of the line. Syntax <ESC>[K<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Syntax <ESC>IZ(Line)<CR><LF> Parameter (Line): Switch off reversing – Show line reversed out corresponds to line 0). Only available in display modes: - DISP_MODE_ASCII - DISP_MODE_TB - DISP_MODE_SMS Application Note AN1800 HA57 EVO User Manual...
This command writes text to field "SoftkeyR". This field is assigned to the key "Right Softkey". A variable amount of characters (typically 8) is shown left-justified. The actual amount of characters depends on the chosen font and the specific characters. The coding complies with the current text mode. Application Note AN1800 HA57 EVO User Manual...
With this command, the contents of both Softkey fields is cleared. Syntax <ESC>IK(Key)<CR><LF> Parameter (Key): Clear both left and right softkey fields Clear left softkey field "SoftkeyL" only Clear right softkey field "SoftkeyR" only Application Note AN1800 HA57 EVO User Manual...
[= 100%] can be calculated by using the formula: Brightness [in %] = Value x 5. The value of brightness is stored persistently in the device. Application Note AN1800 HA57 EVO User Manual...
This command is used to get the current value of the brightness setting. The current value in percent of the brightness in relation to the maximum value [= 100 %] can be calculated by using the formula: Brightness [in %] = Returned Value x 5. Syntax <ESC>IA<CR><LF> Parameter Parameter: None Application Note AN1800 HA57 EVO User Manual...
This command returns the current state of the hook switch. This is used to determine whether the handset is ON- HOOK or OFF-HOOK. The host system can then institute appropriate actions, such as enabling the audio path. Syntax <ESC>IH<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
// Handset is OFF-HOOK (lifted) 3.1.2.15 Query Version Query the current software version of the Terminal Protocol. Syntax <ESC>&V<CR><LF> Parameter None Reply Current software version of Terminal Protocol in the format: <ESC>&V(Version)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
// Set Time1 to 20 (2.0 s) and switch off AKPM mode 3.1.2.17 Backlight in On-Hook Mode This command is used to configure the background lighting of the display and the keypad. 3 basic modes are possible: Application Note AN1800 HA57 EVO User Manual...
Page 37
Setting of the switch-on time in steps of Examples <ESC>IE0<CR><LF> // Backlight is "Permanently OFF" <ESC>IE3<CR><LF> // Set the switch-on time to 3s <ESC>IEA<CR><LF> // Set "Automatic" mode and restart timer Application Note AN1800 HA57 EVO User Manual...
This command switches the "Unread SMS" symbol on or off. The symbol can also be displayed flashing. A flashing symbol is always in the front and overwrites all display content in this area. Application Note AN1800 HA57 EVO User Manual...
This command switches the symbol "Signal strength" on or off. Up to 6 signal bars can be used to display the signal strength. 1 signal bar 2 signal bars 3 signal bars 4 signal bars 5 signal bars 6 signal bars Syntax <ESC>IF(State)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
// Show symbol with 3 bars 3.1.2.21 "Roaming" Symbol The symbol "Roaming" is located in the middle of the symbol bar and looks as follows: Syntax <ESC>IR(State)<CR><LF> Parameter (State): Deactivate symbol "Roaming" Activate symbol "Roaming" Application Note AN1800 HA57 EVO User Manual...
The volume symbol is displayed in conjunction with the symbol "Private Mode". The potentiometer for volume control of the speaker is not adjusted. The value sent with this command only modifies display of the symbol. Private Mode Volume Application Note AN1800 HA57 EVO User Manual...
The volume symbol is displayed in conjunction with the symbol "Handsfree Mode". The potentiometer for volume control of the speaker is not adjusted. The value sent with this command only modifies display of the symbol. Handsfree Mode Volume Syntax <ESC>Il(Value)<CR><LF> // (I + lower case L) Application Note AN1800 HA57 EVO User Manual...
Only the presentation of the symbol is changed. Use the command 3.1.2.36 Microphone Mute for muting the microphone independently. Mute Syntax <ESC>IM(State)<CR><LF> Parameter (State): Deactivation of the "Mute" symbol. Activation of the "Mute" symbol Application Note AN1800 HA57 EVO User Manual...
The "Navigation" symbols are displayed in the field "Navigation" of the Softkey Bar (see also section 3.0.4 Softkey Bar) and represent the four navigation keys of the keypad. 6 symbols are implemented. upwards downwards up- and left right left and right All 4 directions downw ards Syntax <ESC>IW(State)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
The "Audiomode" symbols are normally automatically switched on in combination with the "Volume" symbol. This command offers the possibility to switch it on independently and especially, to switch it off. Private Mode Handsfree Mode Syntax <ESC>IY(State)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Animation off Animation on Example <ESC>IO1<CR><LF> // Show a pulsating circle animation in the text area of the display. 3.1.2.29 Progress Bar The handset provides an animation for the display of progress. Application Note AN1800 HA57 EVO User Manual...
Text area text size 8x12 reserved Font softkeys SoftkeyL + SoftkeyR Font): Font Font x 26B Font Font x 16B // Currently, for area 0, only font 0 and 1 are supported! Application Note AN1800 HA57 EVO User Manual...
Font colour of the softkey fields Background colour of the Softkey fields Graphic (r), (g), (b): 0..31 Colour in RGB format (colour space RGB555) Example <ESC>C0,0,0,0<CR><LF> // Set font colour to BLACK for text area Application Note AN1800 HA57 EVO User Manual...
Uncompressed or compressed data ASCII-coded Clear line (row) Examples <ESC>Gr0,00z<CR><LF> // Clear Line 0 <ESC>Gr0,a00aFFa331B1F0Ez<CR><LF> // Compressed data for a user defined character "P" in Line 0 <ESC>IDG001<CR><LF> // Update display Application Note AN1800 HA57 EVO User Manual...
Example <ESC>IV4<CR><LF> // Set Sound Pressure Level to 101,9 dB SPL 3.1.2.34 Set Microphone Gain There are 10 steps available for adjusting the volume of the microphone in the handset. Syntax <ESC>IG(Value)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
The amplifier of the earpiece can be deactivated. Turning off the amplifier will mute the earpiece. Syntax <ESC>M(mute)<CR><LF> Parameter (mute): Earpiece active (no mute), amplifier turned on Earpiece deactivated, (mute), amplifier turned off Application Note AN1800 HA57 EVO User Manual...
This command activates the amplifier of the earpiece and can be used to play an external provided sound signal for a time in steps of 10 ms to simulate a buzzer function. The audio amplifier of the HA57 EVO is activated for the requested time.
Amount of time (x ms) the sound is required to be played. Values above seconds are limited to seconds (1000). (scale): Pitch. A higher value will lower the tone. The value ranges from to 255. Application Note AN1800 HA57 EVO User Manual...
15x26 (regular) Font size 15x26B Font size 24x40 Font size 12x16 Font size 12x16B (Pos): 0..12 Line in which the scrolling text is shown (Text): Text to be scrolled (max characters) Application Note AN1800 HA57 EVO User Manual...
Unbalanced speaker mode (default; unbalanced input audio signal) 3.1.2.41 Get Mode of Loudspeaker Input This command queries the current mode of the loudspeaker amplifier. The response is always "unbalanced". Syntax <ESC>L?<CR><LF> Parameter none Application Note AN1800 HA57 EVO User Manual...
Figure 15: Frame of Terminal Protocol HA400 To keep data traffic as low as possible, only queries get a response. Please bear in mind that there is no response from the handset to incorrect or formally correct commands. Example: Application Note AN1800 HA57 EVO User Manual...
End-Key-Event EKE When a key is released, an End-Key-Event occurs. • False-Key-Event (FKE) When a key-error is detected, a False-Key-Event occurs. For example, pressing two keys at the same time can be a False-Key-Event. Application Note AN1800 HA57 EVO User Manual...
Navigation key UP Navigation key DOWN Navigation key LEFT Navigation key RIGHT Key "1" Key "2" Key "3" Key "4" Key "5" Key "6" Key "7" Key "8" Key "9" Key "0" Key "*" Application Note AN1800 HA57 EVO User Manual...
Page 60
In the following timing diagram shows a faulty key stroke, when a second key "2" is pressed while the key "1" is pressed. The period of time both keys are pressed, is considered to be invalid. Application Note AN1800 HA57 EVO User Manual...
When the handset is connected to power supply, the sequence <ESC>INIT<CR><CR><LF> is sent once using the selected baud rate. This sequence can be used to detect the moment, when the handset is connected to the host system. Application Note AN1800 HA57 EVO User Manual...
HA57 EVO, and control sequences that control the behaviour of the HA57 EVO. Both record types have in common that they are terminated by <CR> (\r; 0x0D) and <LF>...
In non-graphic modes, the display mode should usually be selected before sending text to the display. In graphic modes, all data should be sent first, before selecting the display mode! Syntax <ESC>IDM(Mode)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Page 64
OR-operation of lines to be displayed as a hexadecimal number with: 1st Line of group 2nd Line of group 3rd Line of group … 8th Line of group 1st and 2nd Line of group Lines of group Application Note AN1800 HA57 EVO User Manual...
This command switches the cursor on. The cursor is only shown in the display modes DISP_MODE_04_16, DISP_MODE_04_16_SMS, DISP_MODE_05_16 and DISP_MODE_05_16_SMS. Syntax <ESC>&C(Mode)<CR><LF> Parameter (Mode): Switch on cursor Switch off cursor Example <ESC>&C1<CR><LF> // Switch on cursor Application Note AN1800 HA57 EVO User Manual...
0x31 "1" 0x35 "5"! Example <ESC>&H3;15<CR><LF> // Set cursor in line 3 and column 15. 3.3.2.4 Query Cursor Position This command returns the current position of the cursor. Syntax <ESC>&H?<CR><LF> Application Note AN1800 HA57 EVO User Manual...
This command clears the text area of the display (and overwrites therefore the activated graphics in this area), and the text memory and sets the cursor to home position. The chosen test mode, inversion and colours stay unchanged. Syntax <ESC>&D<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
3.2.2.7 Reversed Text Line A line of text can be shown reversed out. Only one line at a time can be shown reversed out (highlighting effect). A reversed line of text looks as follows: Application Note AN1800 HA57 EVO User Manual...
This command writes text to field "SoftkeyL". This field is assigned to the key "Left Softkey". A maximum of 8 (normally 7) characters is displayed, the real amount of the displayed characters depends on the configured font. Syntax <ESC>IK1(Text)<CR><LF> Parameter (Text): Text to be displayed in field "SoftkeyL" (0-7 Characters) Application Note AN1800 HA57 EVO User Manual...
Text to be displayed in field "SoftkeyR" (0-7 Characters) Example <ESC>IK2Yes<CR><LF> // Writes "Yes" to field "SoftkeyR" 3.2.2.10 Clear Softkey With this command, both fields of the softkeys "SoftkeyL" and "SoftkeyR" can be cleared. Syntax <ESC>IK(Key)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Specifies the properties of the softkey fields "SoftkeyL" and "SoftkeyR". When a softkey flashes, the flashing overwrites the respective graphic lines again with the softkey content after a short amount of time. Syntax <ESC>IK3(Kx)(Mode)<CR><LF> Parameter (Kx): SoftkeyL SoftkeyR (Mode): Normal Text flashes Application Note AN1800 HA57 EVO User Manual...
This command increases the brightness by 1 %. When the maximum permitted value of 100 [= 100 %] has been reached, a "?" will be replied. The new value is not stored permanently. Syntax <ESC>IN+<CR><LF> Application Note AN1800 HA57 EVO User Manual...
"?" will be replied. The new value is not stored permanently. Syntax <ESC>IN-<CR><LF> Parameter Parameter: None Example <ESC>IN-<CR><LF> // Decrease brightness by 1 step 3.2.2.15 Query Brightness This command queries the current value of brightness in percent of the maximum brightness. Application Note AN1800 HA57 EVO User Manual...
This command returns the current state of the hook switch. This is used to determine whether the handset is ON- HOOK or OFF-HOOK. The host system can then institute appropriate actions, such as enabling the audio path. Syntax <ESC>KH?<CR><LF> Application Note AN1800 HA57 EVO User Manual...
// Query hook state Possible Reply: <ESC>KH: h<CR><LF> // Handset is OFF-HOOK (lifted) 3.2.2.17 Query PTT State This command returns the current state of the PTT switch. Syntax <ESC>KP?<CR><LF> Application Note AN1800 HA57 EVO User Manual...
// Query PTT state Possible Reply: <ESC>KP: p<CR><LF> // PTT button is currently not pressed 3.2.2.18 Query Version Query the current software version of the Terminal Interface. Syntax <ESC>&V?<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
If Time2 is set to 0, then the Repeated-Key-Event-Message (RKEM) is switched off. If Time1 and Time2 are set to 0, Long-Key-Event-Message (LKEM) and Repeated-Key-Event- Message (RKEM) are switched off. Only Start-Key-Event-Message (SKEM) and End-Key-Event-Message (EKEM) are enabled. Application Note AN1800 HA57 EVO User Manual...
Time, when Long-Key-Event (LKE) will occur, in steps of (Time2): Time, when Repeated-Key-Event (RKE) will occur, in steps of Example <ESC>IT?<CR><LF> // Query key event times Possible Reply: <ESC>IT: 0;0<CR><LF> // LKEM and RKEM are disabled Application Note AN1800 HA57 EVO User Manual...
This can be achieved by setting a flag in Normal Mode (automatic), Mode 0. Permanently means, that the backlight remains on all the time. At delivery, the following settings are applied: • Automatic • Time 30 sec • Brightness 60 % Syntax <ESC>IE(M/D)<CR><LF> // Set Mode and Duration Application Note AN1800 HA57 EVO User Manual...
// Turn off backlight permanently <ESC>IE10<CR><LF> // Set duration of backlight to 10 s 3.2.2.22 Query Backlight Mode and Duration Command to retrieve the current backlight mode and duration. Syntax <ESC>IE?<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
This command switches the "Read SMS" symbol on or off. The "Read SMS" symbol is displayed in the Symbol Bar (see also section 3.0.3 Symbol Bar) in the field "SMS". A flashing symbol overwrites graphic lines after a short amount of time. Application Note AN1800 HA57 EVO User Manual...
3.2.2.24 "Unread SMS" Symbol This command switches the "Unread SMS" symbol on or off. The symbol can also be displayed flashing. A flashing symbol overwrites graphic lines after a short amount of time. Syntax <ESC>IU(State)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
3 signal bars 4 signal bars 5 signal bars 6 signal bars Syntax <ESC>IF(State)<CR><LF> Parameter (State): Deactivate symbol "Signal Strength" Activate the symbol as follows: Symbol without signal bar or higher: Symbol with signal bars Application Note AN1800 HA57 EVO User Manual...
// Show symbol "Roaming" 3.2.2.27 "Missed Calls" Symbol The symbol "Missed Calls" is represented only by a number in the symbol bar. More than 9 calls are represented by the figure 9. Application Note AN1800 HA57 EVO User Manual...
The volume symbol is displayed in conjunction with the symbol "Private Mode". The potentiometer for volume control of the speaker is not adjusted. The value sent with this command only modifies display of the symbol. Private Mode Volume Syntax <ESC>IL(Value)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Syntax <ESC>IJ(Value)<CR><LF> Parameter (Value): Deactivation of all volume symbols 1-10 Activation of the symbol "Volume Handsfree Mode" with the corresponding value. Show symbol with min. value or higher: Show symbol with min. value Application Note AN1800 HA57 EVO User Manual...
3.2.2.31 "Navigation" Symbol The "Navigation" symbols are displayed in the field "Navigation" of the Softkey Bar (see also section 3.0.4 Softkey Bar) and represent the four navigation keys of the keypad. 6 symbols are implemented. Application Note AN1800 HA57 EVO User Manual...
Page 88
"Navigation downwards and right" Show symbol "Navigation downwards, left and right" Show symbol "Navigation upwards, downwards and left" Show symbol "Navigation upwards, downwards and right" Example <ESC>IW3<CR><LF> // Show symbol "Navigation up- and downwards" Application Note AN1800 HA57 EVO User Manual...
Handsfree Mode Syntax <ESC>IY(State)<CR><LF> Parameter (State): Symbol OFF Activate symbol "Handsfree mode" Activate symbol "Privat mode" Example <ESC>IY2<CR><LF> // Show symbol "Privat mode". 3.2.2.33 Loading Animation The handset provides a loading animation. <ESC>IO(State)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
The handset provides an animation for the display of progress. Syntax <ESC>II(f)<CR><LF> Parameter (f): Progress in percent ( … Example <ESC>II50<CR><LF> // Shows the progress at 50 % in the text area of the display. Application Note AN1800 HA57 EVO User Manual...
The colour space is restricted to 5 Bits per colour value for compatibility reasons. For displays with higher resolution, the missing LSB (lowest significant bits) values are 0. Application Note AN1800 HA57 EVO User Manual...
// Set font colour to BLACK for Text Area 3.2.2.37 Restart of the Handset This command performs a software restart of the handset. The bootloader string will not be sent. Syntax <ESC>&O0<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
This command activates the amplifier of the earpiece and can be used to play an external provided sound signal for a time in steps of 10 ms to simulate a buzzer function. The audio amplifier of the HA57 EVO is activated for the requested time.
Amount of time (x ms) the sound is required to be played. Values above seconds are limited to seconds (1000). (scale): Pitch. A higher value will lower the tone. The value ranges from to 255. Application Note AN1800 HA57 EVO User Manual...
Uncompressed or compressed data ASCII-coded Clear line (row) Examples <ESC>Gr0,00z<CR><LF> // Clear Line 0 <ESC>Gr0,a00aFFa331B1F0Ez<CR><LF> // Compressed data for a user defined character "P" in Line 0 <ESC>IDM9<CR><LF> // Update display Application Note AN1800 HA57 EVO User Manual...
1. Example <ESC>IV4<CR><LF> // Set Sound Pressure Level to 101.9 dB SPL ein 3.2.2.45 Query Earpiece Volume This command is used to query the current setting of the earpiece's volume. Application Note AN1800 HA57 EVO User Manual...
Page 99
[dB SPL] as follows: 90.2 93.0 95.8 99.0 101.9 105.3 108.2 111.1 114.0 Example <ESC>IV?<CR><LF> // Query volume setting Possible Reply: <ESC>IV: 4<CR><LF> // Volume setting is 4 (101.9 dBSPL) Application Note AN1800 HA57 EVO User Manual...
3.2.2.47 Decrease Earpiece Volume This command decreases the volume of the earpiece by 1 step. When the min value (0) has already been reached, a "? <CR><LF>" is returned. Syntax <ESC>IV-<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
(Value) is limited to 9, default is 3. With the default setting, the sensitivity of the microphone path is mV eff/Pa ±3 dB (direction LRGP). Example <ESC>IG4<CR><LF> // Set gain to -19 dB Application Note AN1800 HA57 EVO User Manual...
Current setting of microphone's gain in the format: <ESC>IG:<SPACE>(Value)<CR><LF> (Value): Gain [in dB] as follows: Example <ESC>IG?<CR><LF> // Query gain of microphone path Possible Reply: <ESC>IG: 4<CR><LF> // Gain is 4 (-19 dB) Application Note AN1800 HA57 EVO User Manual...
3.2.2.51 Decrease Microphone Gain This command decreases the gain of the microphone by 1 step. When the min value (0) has already been reached, a "? <CR><LF>" is returned. Syntax <ESC>IG-<CR><LF> Parameter None Application Note AN1800 HA57 EVO User Manual...
// Turn off amplifier, earpiece muted 3.2.2.53 Mute Microphone This command controls the amplifier for the microphone. Turning off the amplifier will mute the microphone. The microphone mute symbol will not be shown! Syntax <ESC>N(mute)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
The frequency indicates, in which period of time the text is moved by exactly one display pixel. The speed depends on the display resolution. To assure that the parameters gain a similar speed compared with the older devices, the minimum frequency was reduced from 10 to 5 ms. Syntax <ESC>F,(Freq),(Font),(Pos),(Text)<CR><LF> Application Note AN1800 HA57 EVO User Manual...
Page 106
Line in which the scrolling text is shown 0…12 (Text): Text to be scrolled (max characters) Example <ESC>F,3,2,10,"Sampletext"<CR><LF> // Text in line 10 is scrolled every 15 ms one pixel to the left Application Note AN1800 HA57 EVO User Manual...
4 Setup The setup menu is a utility tool implemented into the HA57 EVO. It is used to make some basic settings for the handset. Additionally, some information about the handset can be retrieved. The setup menu can be entered during runtime of the emulations by pressing the left function key (green symbol) and the key 7 (S) simultaneously for about 2 seconds.
By pressing the right softkey "Yes", the contents of the user defined parameter memory is erased. The handset automatically reboots and re-initializes the HA57 EVO with its factory settings (default values). By pressing the left softkey "No" will cancel the operation and the main setup menu appears. The current settings are not changed.
Press the softkey "Info" to access the device information menu. It contains: • Software version • Date of the software release • Serial number of the HA57 EVO • Switch-on counter • Detected maximum operation voltage Application Note AN1800 HA57 EVO User Manual...
5.2 Command Extension An alternative to using a user application, the SDK of the HA57 EVO offers the possibility to keep using the HA20x or HA400 protocols and to define additional commands or to change or hide available commands. After the activation of uploaded software in the Setup, customized commands are available in addition to the chosen protocol.
6 Protocol Description LogoLoader The following chapter describes the protocol sequence of the LogoLoader application used for HA57 EVO devices. It is intended for users with own connected hardware, e.g. a bord computer and the requirement to change the start logo using the own hardware.
Page 112
The command starts a flash-loader to transfer the logo file. Await 0x15 (NAK) and start the line transfer. After an EOT symbol is sent or errors occur, the interpreter returns to command mode. The flash-loader sequence is described in the next section. Syntax AT*SETLOGO=L Application Note AN1800 HA57 EVO User Manual...
Page 113
Parameter – custumer logo – peitel logo (default) Reply // Logo mode was set. Example > AT*SETLOGO=1 < OK Check the set logo configuration: Syntax AT*SETLOGO? Reply *SETLOGO: L Application Note AN1800 HA57 EVO User Manual...
At end of file, the last line has to be filled with <SUB> bytes and a final <EOT> must be sent to leave the raw protocol mode. Each protocol line is answered with Application Note AN1800 HA57 EVO User Manual...
Page 115
A sent <CAN> ends the transfer mode. In that case, the partially transferred logo data remain in flash. It is important to wait for the <ACK> byte before sending the next line because the receive lines are flashed directly and the receiver hardware could be busy. Application Note AN1800 HA57 EVO User Manual...
Page 117
Note The BMP interpreter of the device firmware is extremely simple, no compression, no colour tables, fixed size and colour format. For the HA57 EVO the bmp-file must start with the byte sequence: 4D BMP magic 38 58 02 00...
In order to fill the entire display with a graphic, a large amount of graphic data would have to be transmitted. This would take some time even at a baud rate of 115200 Baud. A compression function is used in order to reduce the amount of data. Application Note AN1800 HA57 EVO User Manual...
The table below shows the character set used in the divers' display modes. A byte value (HEX code) of the serial data transfer or the buffer of the SDK is displayed accordingly to this table. For empty fields in the table will generate a replacement character, actually, a space. Application Note AN1800 HA57 EVO User Manual...
Page 120
Ç Ç Ç 0x0A Carriage Return 0x0B Ø Ø Ø 0x0C ø ø ø 0x0D Line Feed (New Line) 0x0E Á Á Á 0x0F á á á 0x10 ► ► ► 0x11 Underscore Application Note AN1800 HA57 EVO User Manual...
Page 121
↓ ↓ 0x1A → → → 0x1B 0x1C Æ Æ Æ 0x1D Æ Æ Æ 0x1E ß ß ß 0x1F É É É 0x20 Space 0x21 0x22 " " " 0x23 0x24 0x25 Application Note AN1800 HA57 EVO User Manual...
Page 126
ã Δ Δ 0x80 Ç Ç 0x81 ü ü 0x82 é é 0x83 â â 0x84 ä ä 0x85 à à 0x86 å å 0x87 ç ç 0x88 ê ê 0x89 ë ë Application Note AN1800 HA57 EVO User Manual...
Page 127
ô 0x94 ö ö 0x95 ò ò 0x96 û û 0x97 ù ù 0x98 ÿ ÿ 0x99 Ö Ö 0x9A Ü ö Ü 0x9B ¢ ü ¢ 0x9C £ £ 0x9D ¥ ¥ Application Note AN1800 HA57 EVO User Manual...
Page 128
ƒ 0xA0 á 0xA1 í Ë 0xA2 ó 0xA3 ú 0xA4 ñ 0xA5 Ñ 0xA6 ã 0xA7 Ï 0xA8 ¿ 0xA9 0xAA 0xAB 0xAC 0xAD ĺ 0xAE << 0xAF >> 0xB0 0xB1 Б Application Note AN1800 HA57 EVO User Manual...
Page 129
Д 0xB5 0xB6 Ж 0xB7 З 0xB8 И 0xB9 Й 0xBA 0xBB Л 0xBC 0xBD 0xBE 0xBF П 0xC0 À 0xC1 Á 0xC2 Â 0xC3 Ã У 0xC4 Ä Ф 0xC5 Å Ä Application Note AN1800 HA57 EVO User Manual...
Page 130
Ю 0xCF Ï Я 0xD0 Đ 0xD1 Ñ б 0xD2 Ò в 0xD3 Ó г 0xD4 Ô д 0xD5 Õ е 0xD6 Ö ж 0xD7 Ö З 0xD8 Ø и 0xD9 Ù й Application Note AN1800 HA57 EVO User Manual...
Page 131
ã у 0xE4 ä ф 0xE5 å ä х 0xE6 æ ц 0xE7 ç ч 0xE8 è ш 0xE9 é щ 0xEA ê ъ 0xEB ë ы 0xEC ì ь 0xED í э Application Note AN1800 HA57 EVO User Manual...
ö ö 0xF7 ÷ ï 0xF8 ø 0xF9 Æ 0xFA ú 0xFB û 0xFC ü ü 0xFD ý § 0xFE þ 0xFF Table 7: Character codes 7.4 Fonts The following fonts are available: Application Note AN1800 HA57 EVO User Manual...
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an Application Note AN1800 HA57 EVO User Manual...
Page 134
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as Application Note AN1800 HA57 EVO User Manual...
Page 135
We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Application Note AN1800 HA57 EVO User Manual...
Page 136
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. END OF DOCUMENT Application Note AN1800 HA57 EVO User Manual...