User Guide

Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 16 page of 39
2.6.5 REQUEST ERROR CODE command
With this command the host can get ERROR CODE from the device in case of something wrong.
1) Command format
byte/bit 7 6 5 4 3 2 1 0
0 STX( 0x02 )
1 Command code (‘2’)
2 Reserve( 0x00 )
3 Reserve( 0x00 )
4 Reserve( 0x00 )
5 Reserve( 0x00 )
6 ETX( 0x03 )
7 BCCH( high-level )
8 BCCL( low-level )
Table 19. Request Error Code
command
2) Answer format
byte/bit 7 6 5 4 3 2 1 0
0 STX( 0x02 )
1 Reply code (‘2’)
2 Answer code (Table 3)
3 Error code (Newest a)
4 Error code (Newest b)
5 Error code ( 9
th
-a)
6 Error code ( 9
th
-b)
7 Error code ( 8
th
-a)
8 Error code ( 8
th
-b)
9 Error code ( 7
th
-a)
10 Error code ( 7
th
-b)
11 Error code ( 6
th
-a)
12 Error code ( 6
th
-b)
13 Error code ( 5
th
-a)
14 Error code ( 5
th
-b)
15 Error code ( 4
th
-a)
16 Error code ( 4
th
-b)
17 Error code ( 3
rd
-a)
18 Error code ( 3
rd
-b)
19 Error code ( 2
nd
-a)
20 Error code ( 2
nd
-b)
21 Error code ( 1
st
-a)
22 Error code ( 1
st
-b)
23 ETX ( 03h )
24 BCCH (high-level )
25 BCCH (low-level )
Table 20. Request Error Code
answer
3) Special condition
If error code empty then using ‘00’.