Rs232 Hex Commands - Kimex 164-6540 Manuel D'utilisation

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

LCO
C2MSG
SETC2PROFILE
GETBOARDNAME
GETGYRO

RS232 HEX Commands

Protocol Test Steps
• Before testing, please know the board type you have. There are two types of board. The UART 0 and UART
1 connections of the these boards are explained below:
1. RJ12 is connected to UART 0, DSUB9 is connected to UART 1. Therefore, UART 0 and UART 1 could
be tested separately in this type of the board
2. RJ12 and DSUB9 both are connected to UART 0. UART 1 is supported for OPS module but not
reachable. Therefore, only UART 0 could be tested in this type of the board.
• Activate HEX protocol on Display.
a. Enter Signage menu.
b. Change ASCII option to HEX in UART 0 or UART 1 sub-menu item
• Open any serial port communications program (e.g Realterm). Configure serial communication settings as
below:
Baud Rate
: 19200 for UART0, 9600 for UART1
Parity
: None
Data Bits
: 8
Stop Bits
: 1
Handshake
: None
LED Bar Color drive
Sends message
to UART2 (C2
connection)
The profile file name
of C2 is saved in
Aurora side.
Sends the board
name to C2 side
Sends the orientation
mode to C2 side
(The orientation
information comes
from gyro sensor to
rotate android display
automatically)
English - 55 -
string (red_green_blue_
white) (color level value as
string)
string
string (length_of_the_profile_
name/profile_name/END)
string (length_of_the_board_
name/board_name/END)
no parameter
#*FAILURE, lacking parameter!
#*FAILURE, parameter exceeds
the limit!
#*FAILURE, no parameter after '_'
character!
#*FAILURE, all colors are not
processed
#*SUCCESS
#*SUCCESS, Message Send: %s
#*FAILURE, lacking parameter!
#*FAILURE, parameter exceeds
the limit!
#*FAILURE, profile string is too
long!
#*FAILURE, profile string length is
not matching!
#*FAILURE, 'END' string could not
be captured correctly!
#*FAILURE, no parameter after '/'
character!
#*FAILURE, all parameters are not
processed
#*SUCCESS
#*SUCCESS, Board Name:
XXXXXXXXX
#*SUCCESS, GyroSensorStatus:
GYUG or GYRG or GYDG or
GYLG

Publicité

Table des Matières
loading

Table des Matières