|
46
|
1 |
/*
|
|
|
2 |
* Copyright (c) 2010 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 "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 |
* Configuration for ACM functions
|
|
|
16 |
*
|
|
|
17 |
*/
|
|
|
18 |
|
|
|
19 |
#ifndef USBACMCONFIGURATION_HBY
|
|
|
20 |
#define USBACMCONFIGURATION_HBY
|
|
|
21 |
|
|
|
22 |
#define USBACM_PATCHDATA_KUSBACMNUMBEROFACMFUNCTIONS 2
|
|
|
23 |
|
|
|
24 |
// USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM[X] is referring to the Xth ACM *function*
|
|
|
25 |
// which is accessed by the (X-1)th ACM *port*
|
|
|
26 |
|
|
|
27 |
#define USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM1 1
|
|
|
28 |
//0x01 - code taken from USBCDC 1.1 Table 17- Hayes compatible modem
|
|
|
29 |
|
|
|
30 |
#define USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM2 255
|
|
|
31 |
//0xFF - Vendor-specific
|
|
|
32 |
|
|
|
33 |
//#define USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM3 1
|
|
|
34 |
//#define USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM4 1
|
|
|
35 |
//#define USBACM_PATCHDATA_KUSBACMPROTOCOLNUMACM5 1
|
|
|
36 |
|
|
|
37 |
// To enable an ACM function, you need to change the
|
|
|
38 |
// value of USBACM_PATCHDATA_KUSBACMNUMBEROFACMFUNCTIONS,
|
|
|
39 |
// uncomment one define line then replace the protocol number with
|
|
|
40 |
// the ACM protocol number expected.
|
|
|
41 |
//
|
|
|
42 |
|
|
|
43 |
#endif // USBACMCONFIGURATION_HBY
|