Top-down codes – Wavecom W-RCI (Remote Control) V8.7.0 User Manual

Page 71

Advertising
background image

XML SDK V8.7.0 Remote Control Interface

Sample Code

63

<Message version="1.0">
<Data>
<Graphic type="Fax">
<AxisInfo count="1">
<Axis name="x" unit="pixel" max="" min=""/>
</AxisInfo>
<GraphicData count="28">
<Point x="0" rgb="0x383838"/>
<Point x="1" rgb="0x505050"/>
<Point x="2" rgb="0x545454"/>
<Point x="3" rgb="0x505050"/>
<Point x="4" rgb="0x505050"/>
<Point x="5" rgb="0x343434"/>
<Point x="6" rgb="0x040404"/>
<Point x="7" rgb="0x000000"/>
<Point x="8" rgb="0x040404"/>
<Point x="9" rgb="0x000000"/>
<Point x="10" rgb="0x000000"/>
<Point x="11" rgb="0x040404"/>
<Point x="12" rgb="0x343434"/>
<Point x="13" rgb="0x505050"/>
<Point x="14" rgb="0x505050"/>
<Point x="15" rgb="0x4C4C4C"/>
<Point x="16" rgb="0x505050"/>
<Point x="17" rgb="0x4C4C4C"/>
<Point x="18" rgb="0x4C4C4C"/>
<Point x="19" rgb="0x4C4C4C"/>
<Point x="20" rgb="0x4C4C4C"/>
<Point x="21" rgb="0x4C4C4C"/>
<Point x="22" rgb="0x4C4C4C"/>
<Point x="23" rgb="0x4C4C4C"/>
<Point x="24" rgb="0x4C4C4C"/>
<Point x="25" rgb="0x4C4C4C"/>
<Point x="26" rgb="0x4C4C4C"/>
<Point x="27" rgb="0x4C4C4C"/>
</GraphicData>
</Graphic>
</Data>
</Message>

The message consists of 28 points (pixels) that build a column of the picture. The color of the pixel is de-
scribed as a RGB value in hexadecimal. If a change from white to black is desired, then the polarity pa-
rameter of the code needs to be changed. The illustrations below show how the final image is constructed
from 35 consecutive messages:


As shown on the left side illustration above, the message text will be cut and shifted. There is no synchro-
nization marker in a FELD-HELL or FM-HELL radio signal, thus it is impossible to avoid this problem while
decoding the signal. The easiest solution is to display the image twice, one below the other, as shown on
the right side illustration.

Top-down codes

The XML messages for these modes are the same as for FELD-HELL or FM-HELL, but they must be pro-
cessed differently. One XML message contains a single row of the final image, i.e. the direction of the x-
axis has changed.

x

0

27

t

Advertising
This manual is related to the following products: