User guide

Developers guidelines | AT commands
289 June 2010
Encoding of bitmaps into setbc_data
The SETBC data is considered to be a stream of data segmented into a series of maximum 255 chunks.
The chunks are encoded using hexadecimal format. Every byte is encoded using two ASCII digits/
character.
Each command sends one chunk. The length of the chunks is not defined, it is only required that they are
sent in the right order. For every sent chunk the index is incremented. The chunks are re-assembled at the
receiving side, in order to retrieve the total bitmap. A chunk can contain many complete rows.
The data starts with the most upper row from the left. Every row is followed by the row below.
The ME uses the smallest font available when transforming the text into a bitmap. The text will also be left
adjusted.
Example:
A monochrome bitmap with size 80x56 pixels.
Step 1: The accessory sends a string of characters (“SE”) to the phone.
AT*SETBC: 80,56,1,”SE”
Step 2: The phone uses its smallest font to transform the text into a bitmap.
Test command
response *SETBC: list of supported <quality>s
Parameter:
<bmp_width> Integer. Bitmap width in pixels
<bmp_height> Integer. Bitmap height in pixels. Must be a multiple of 8.
<string> String. The text format is dependent on the AT+CSCS setting.
<setbc_index>: Integer
<setbc_index> Description
0…255 (0 = first) Sequence number of setbc_data element
<quality>: Integer
<quality> Description
1 Monochrome (B&W)