|
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 "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: Used as an reference implementation |
|
15 * Declaration of SSYReferencePlugin ECom resource |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include <sensrvresource.hrh> |
|
21 #include "ecom/registryinfov2.rh" |
|
22 |
|
23 // RESOURCE DEFINITIONS |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 // 10205089.rss |
|
27 // Declares info for SSYReference ECom plugin |
|
28 // |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 |
|
32 RESOURCE REGISTRY_INFO SSYReferencePlugin |
|
33 { |
|
34 // UID for the DLL. See SSYReferencePlugin.mmp |
|
35 resource_format_version = RESOURCE_FORMAT_VERSION_2; |
|
36 dll_uid = 0x10205089; |
|
37 interfaces = |
|
38 { |
|
39 INTERFACE_INFO |
|
40 { |
|
41 // UID of interface that is implemented |
|
42 interface_uid = KSsyControlInterfaceUid; |
|
43 implementations = |
|
44 { |
|
45 BINARY_IMPLEMENTATION_INFO |
|
46 { |
|
47 implementation_uid = 0x10205088; |
|
48 version_no = 1; |
|
49 display_name = "SSYReferencePlugin"; |
|
50 default_data = { |
|
51 // Double tap channel |
|
52 0x1, // ChannelInfoVersion |
|
53 0x2F, // ChannelInfoLength |
|
54 0x2E, // Flags |
|
55 0x81, 0x50, 0x20, 0x10, // ChannelType |
|
56 0x02, 0x00, 0x00, 0x00, // ContextType ESensrvContextTypeDevice |
|
57 0x0B, 0x00, 0x00, 0x00, // Quantity ESensrvQuantityTapping |
|
58 0x0C, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, 0x44, 0x62, 0x6C, 0x54, 0x61, 0x70, // Location: SsyRefDblTap |
|
59 0x06, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, // VendorId: SsyRef |
|
60 0x7F, 0x50, 0x20, 0x10, // ChannelDataTypeId |
|
61 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // ChannelSecurityPolicy |
|
62 |
|
63 // Accelerometer channel |
|
64 0x1, // ChannelInfoVersion |
|
65 0x2F, // ChannelInfoLength |
|
66 0x1E, // Flags |
|
67 0x7E, 0x50, 0x20, 0x10, // ChannelType |
|
68 0x02, 0x00, 0x00, 0x00, // ContextType ESensrvContextTypeDevice |
|
69 0x0A, 0x00, 0x00, 0x00, // Quantity ESensrvQuantityAcceleration |
|
70 0x0C, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, 0x58, 0x59, 0x5A, 0x43, 0x68, 0x6E, // Location SsyRefXYZChn |
|
71 0x06, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, // VendorId: SsyRef |
|
72 0x7E, 0x50, 0x20, 0x10, // ChannelDataTypeId |
|
73 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // ChannelSecurityPolicy |
|
74 |
|
75 // Magnetometer channel |
|
76 0x1, // ChannelInfoVersion |
|
77 0x2F, // ChannelInfoLength |
|
78 0x1E, // Flags |
|
79 0xE0, 0xBE, 0x00, 0x20, // ChannelType |
|
80 0x01, 0x00, 0x00, 0x00, // ContextType ESensrvContextAmbient |
|
81 0x0E, 0x00, 0x00, 0x00, // Quantity ESensrvQuantityMagnetic |
|
82 0x0C, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, 0x58, 0x59, 0x5A, 0x43, 0x68, 0x6E, // Location: SsyRefXYZChn |
|
83 0x06, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, // VendorId: SsyRef |
|
84 0xE0, 0xBE, 0x00, 0x20, // ChannelDataTypeId |
|
85 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // ChannelSecurityPolicy |
|
86 |
|
87 // Proximity channel |
|
88 0x1, // ChannelInfoVersion |
|
89 0x2F, // ChannelInfoLength |
|
90 0x3E, // Flags |
|
91 0x85, 0xE5, 0x00, 0x20, // ChannelType (0x2000E585) |
|
92 0x02, 0x00, 0x00, 0x00, // ContextType ESensrvContextTypeDevice |
|
93 0x10, 0x00, 0x00, 0x00, // Quantity ESensrvQuantityProximity |
|
94 0x0C, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, 0x50, 0x72, 0x78, 0x43, 0x68, 0x6E, // Location: SsyRefPrxChn |
|
95 0x06, 0x53, 0x73, 0x79, 0x52, 0x65, 0x66, // VendorId: SsyRef |
|
96 0x85, 0xE5, 0x00, 0x20, // ChannelDataTypeId |
|
97 0x01, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF // ChannelSecurityPolicy |
|
98 }; |
|
99 opaque_data = {}; |
|
100 } |
|
101 }; |
|
102 } |
|
103 }; |
|
104 } |
|
105 |
|
106 // End of File |