Asus Aaeon UP Xtreme UPX-WHL01 User Manual page 79

Table of Contents

Advertisement

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:
If the command is sent successfully, the string ACK will be returned via CDC
Received messages will be dislayed as:
In case of error, string will be received in format:
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
> send 0 9F
ACK
CEC: 019E05
Getting power status from device 2 that is not present on the CEC network:
Terminal
> send 2 8F
ERR: 0x00001000
CEC Client Installation
send <address> <hex-string>
CEC: <hex-string>
ERR: <error-code>
Description
Send CEC get version command to address 0
The command was successfully sent
Received from 0 to device 1: cec version 1.4
Description
Send CEC get power status to address 2
Sending failed: acknowledgement is not received
23

Advertisement

Table of Contents
loading

Table of Contents