English
- 48 -
C2CONNECTION
Returns the
handshake result
between G6F and C2
devices
no parameter
#*FAILURE, wait to check C2
availability (process still not
finished)
OR
#*FAILURE, C2 is not READY
(handshake failed, C2 is not
available)
OR
#*SUCCESS, C2 is READY
(handshake is succeded)
UART_CHECK
Starts the handshake
process between G6F
and C2 devices
no parameter
#*C2 handshake process is started
GETTEMPERATURE
Measure ambient
temperature using
temperature sensor
no parameter
#*TEM=...
OR
#*Temperature sensor is not
available
GETHUMIDITY
Measure relative
humidity using
humidity sensor
no parameter
#*HUM=...
OR
#*Humidity sensor is not available
SETVIDEOCROP
Crop input video with
given parameters and
show full screen.
Wideowall must
be disabled or cell
number must be zero
to activate this feature.
Set width or height as
0 to disable crop.
string (X-Y-W-H)
#*set x position to X, set y position
to Y, set width to W, set height to H
GETVIDEOCROP
Get crop parameters
no parameter
#*x position is X, y position is Y,
width is W, height is H
LEN
LED Bar PWM
Enable/Disable of the
given color
str-int n (W, R, G, B) (0 - 1)
#*SUCCESS
#*FAILURE
LPE
LED Bar PWM Period
value of the given
color
str-int n (W, R, G, B) (0 -
65535)
#*SUCCESS
#*FAILURE
LDC
LED Bar PWM Duty
Cycle value of the
given color
str-int n (W, R, G, B) (0 -
65535)
#*SUCCESS
#*FAILURE
LDI
LED Bar PWM
Division value of the
given color
str-int n (W, R, G, B) (0 -
65535)
#*SUCCESS
#*FAILURE
LBE
LED Bar Enable/
Disable via GPIO
int n (0, 1)
#*SUCCESS
LCO
LED Bar Color drive
string (red_green_blue_
white) (color level value as
string)
#*FAILURE, lacking parameter!
#*FAILURE, parameter exceeds
the limit!
#*FAILURE, no parameter after '_'
character!
#*FAILURE, all colors are not
processed
#*SUCCESS
C2MSG
Sends message
to UART2 (C2
connection)
string
#*SUCCESS, Message Send: %s