1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef TIsiMsgHexsTest_H |
|
18 #define TIsiMsgHexsTest_H |
|
19 |
|
20 //INCLUDE |
|
21 #include <e32def.h> |
|
22 |
|
23 const TUint8 KHexbaFakeReq = 0xba; |
|
24 const TUint8 KHexbeFakeReq = 0xbe; |
|
25 const TUint8 KHexe6FakeReq = 0xe6; |
|
26 const TUint8 KHexe7FakeReq = 0xe7; |
|
27 const TUint8 KHexe8FakeReq = 0xe8; |
|
28 const TUint8 KHexe9FakeReq = 0xe9; |
|
29 const TUint8 KHexeaFakeReq = 0xea; |
|
30 const TUint8 KHexebFakeReq = 0xeb; |
|
31 const TUint8 KHexecFakeReq = 0xec; |
|
32 const TUint8 KHexedFakeReq = 0xed; |
|
33 const TUint8 KHexeeFakeReq = 0xee; |
|
34 const TUint8 KHexefFakeReq = 0xef; |
|
35 const TUint8 KHexf0FakeReq = 0xf0; |
|
36 const TUint8 KHexf1FakeReq = 0xf1; |
|
37 const TUint8 KHexf2FakeReq = 0xf2; |
|
38 const TUint8 KHexf3FakeReq = 0xf3; |
|
39 const TUint8 KHexf4FakeReq = 0xf4; |
|
40 const TUint8 KHexf5FakeReq = 0xf5; |
|
41 const TUint8 KHexf6FakeReq = 0xf6; |
|
42 const TUint8 KHexf7FakeReq = 0xf7; |
|
43 const TUint8 KHexf8FakeReq = 0xf8; |
|
44 const TUint8 KHexf9FakeReq = 0xf9; |
|
45 const TUint8 KHexfaFakeReq = 0xfa; |
|
46 const TUint8 KHexfbFakeReq = 0xfb; |
|
47 const TUint8 KHexfcFakeReq = 0xfc; |
|
48 const TUint8 KHexfdFakeReq = 0xfd; |
|
49 const TUint8 KHexfeFakeReq = 0xfe; |
|
50 const TUint8 KHexffFakeReq = 0xff; |
|
51 |
|
52 const TUint8 KHexffFakeResp = 0xff; |
|
53 |
|
54 #define TEST_MSG_MEDIA 0x01 |
|
55 #define TEST_MSG_RECEIVERDEVICE 0x02 |
|
56 #define TEST_MSG_SENDERDEVICE 0x03 |
|
57 #define TEST_MSG_RESOURCEID 0x04 |
|
58 #define TEST_MSG_LENGTH 0x0014 |
|
59 #define TEST_MSG_RECEIVEROBJECT 0x07 |
|
60 #define TEST_MSG_SENDEROBJECT 0x08 |
|
61 #define TEST_MSG_TRANSID 0x09 |
|
62 |
|
63 |
|
64 //---------------------------------------------------------------------- |
|
65 // TestMessage: TEST_MSG_REQ |
|
66 // ----------------------------------------------------------------------- |
|
67 #define TEST_MSG_REQ 0x0A |
|
68 #define TEST_MSG_RESP 0x0B |
|
69 |
|
70 #define TEST_MSG_REQ_OFFSET TRANSACTIONID 0 |
|
71 #define TEST_MSG_REQ_OFFSET_MESSAGE_ID 1 |
|
72 #define TEST_MSG_REQ_OFFSET_FILL1 2 |
|
73 #define TEST_MSG_REQ_OFFSET_FILL2 3 |
|
74 #define TEST_MSG_REQ_OFFSET_FILL3 4 |
|
75 #define TEST_MSG_REQ_OFFSET_FILL4 5 |
|
76 #define TEST_MSG_REQ_OFFSET_FILL5 6 |
|
77 #define TEST_MSG_REQ_OFFSET_FILL6 7 |
|
78 #define TEST_MSG_REQ_OFFSET_FILL7 8 |
|
79 #define TEST_MSG_REQ_OFFSET_FILL8 9 |
|
80 #define TEST_MSG_REQ_OFFSET_FILL9 10 |
|
81 #define TEST_MSG_REQ_OFFSET_FILL10 11 |
|
82 |
|
83 |
|
84 /* |
|
85 #define TEST_MSG_REQ_OFFSET_NUMBER_OF_SUBBLOCKS 4 |
|
86 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_ID 5 |
|
87 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_SIZE 6 |
|
88 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_8BIT 7 |
|
89 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_16BIT 8 |
|
90 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_32BIT 10 |
|
91 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_DATA1 14 |
|
92 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_FILL1 18 |
|
93 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_FILL2 19 |
|
94 #define TEST_MSG_REQ_OFFSET_SUBBLOCK_FILL3 20 |
|
95 */ |
|
96 #define SIZE_TEST_MSG_REQ 20 |
|
97 |
|
98 |
|
99 |
|
100 #endif |
|