EasyManua.ls Logo

Asus AAEON UP Xtreme UP-WHL01 - Page 78

Asus AAEON UP Xtreme UP-WHL01
104 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CEC Client Installation 23
CEC Client Installation Supplemental Appendix for UP Xtreme
STM32 device should be detected on USB host as a USB CDC serial device. Each of the
API functions and input/output arguments should be serialized in the following way:
Sending a cec command is executed by sending a string in the following format
via CDC:
send <address> <hex-string>
If the command is sent successfully, the string ACK will be returned via CDC
Received messages will be dislayed as:
CEC: <hex-string>
In case of error, string will be received in format:
ERR: <error-code>
All messages end with <CR> <LF> characters.
Error messages are generally received if the message was unable to be delivered on
device, or if the message was sent in the wrong format.
Example:
Getting CEC version from the TV:
Terminal
Description
> send 0 9F
Send CEC get version command to address 0
ACK
The command was successfully sent
CEC: 019E05
Received from 0 to device 1: cec version 1.4
Getting power status from device 2 that is not present on the CEC network:
Terminal
Description
> send 2 8F
Send CEC get power status to address 2
ERR: 0x00001000
Sending failed: acknowledgement is not received

Table of Contents

Related product manuals