11.11.2012 Views

CIMD Interface Specification - Telenor

CIMD Interface Specification - Telenor

CIMD Interface Specification - Telenor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.1.1 Header<br />

4.1.2 Data<br />

The header has the following format:<br />

ZZ:NNN<br />

where<br />

. is the start-of-text indicator, which consists of a single byte<br />

containing the decimal value 2.<br />

. ZZ defines the operation code and consists of two bytes containing the<br />

ASCII characters of the digits 0 to 9, which range from 48 to 57.<br />

. NNN represents the message packet number, which consists of 3 bytes<br />

containing the ASCII characters of the digits 0 to 9, which range from 48<br />

to 57.<br />

The ZZ and NNN fields are separated by one byte containing the ASCII code of a<br />

colon, which is 58. The header is terminated by one byte containing the ASCII<br />

code of , which is 9.<br />

An example of the decimal values for each byte of a header is given below:<br />

2 48 49 58 48 48 49 9<br />

In the notation used in the rest of this document, the header looks as follows:<br />

01:001<br />

The data fields consist of a list of parameters each terminated by the <br />

character. All parameter fields have the following format:<br />

PPP:value of the parm<br />

<strong>CIMD</strong> <strong>Interface</strong> <strong>Specification</strong><br />

where PPP indicates the parameter type and consists of 3 bytes containing the<br />

ASCII values of the digits 0 to 9 (values 48 to 57). After the single byte<br />

containing the ASCII value for the colon (58) the value of the parameter is coded<br />

with a variable number of bytes. The parameter is terminated by a single byte<br />

containing the ASCII value for tab (9).<br />

The coding of the parameter value is dependent on the type of the parameter and<br />

is explained in <strong>CIMD</strong> parameters in <strong>CIMD</strong> <strong>Interface</strong> <strong>Specification</strong> (PDF).<br />

16 (77) # Nokia Corporation dn03305755<br />

Issue 5-0 en

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!