0
|
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 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef __ISIDEFS_H__
|
|
21 |
#define __ISIDEFS_H__
|
|
22 |
|
|
23 |
enum TISISyncRequest
|
|
24 |
{
|
|
25 |
EISIConnect = 0,
|
|
26 |
EISIDisconnect,
|
|
27 |
EISISend,
|
|
28 |
EISIAllocateBlock,
|
|
29 |
EISIDeallocateBlock,
|
|
30 |
EISILastSyncRequest
|
|
31 |
};
|
|
32 |
|
|
33 |
enum TISIAsyncRequest
|
|
34 |
{
|
|
35 |
EISIAsyncReceive = EISILastSyncRequest,
|
|
36 |
EISILastAsyncRequest
|
|
37 |
};
|
|
38 |
|
|
39 |
|
|
40 |
_LIT( KISIDriverName, "ISIDriver" );
|
|
41 |
|
9
|
42 |
const TUint8 KNotInitializedId( 0xff );
|
0
|
43 |
const TInt32 KNotInitializedUID( 0x00 );
|
|
44 |
const TInt KNotInitializedStatus( 0xff );
|
|
45 |
const TInt KISILddRxQueueSize( 50 );
|
9
|
46 |
const TInt KISIMainRxQueueSize( 200 );
|
0
|
47 |
const TInt KMaxISIMsgSize( 65536 );
|
|
48 |
const TInt KMaxAmountOfObjId( 256 );
|
|
49 |
const TInt KFirstAllowedObjId( 1 );
|
|
50 |
|
|
51 |
#endif /* __ISIDEFS_H__ */
|