|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-0F784804-8452-4C92-ABB3-56B81BAED744" xml:lang="en"><title>Sensor |
|
13 Services Overview</title><shortdesc>The Sensor Services collection is a group of components that provide |
|
14 APIs for extending sensors by means of plug-ins and providing channel-based |
|
15 communication with the sensor hardware.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
16 <section id="GUID-A6D94351-3A27-40CA-876A-B47B69AFD48C"><title>Key Concepts |
|
17 and Terms</title><dl> |
|
18 <dlentry> |
|
19 <dt>Sensor</dt> |
|
20 <dd><p>A sensor is a hardware measuring device connected to the Symbian |
|
21 device, which measures a physical quantity in its immediate vicinity and converts |
|
22 that quantity into small sets of numeric digital values.</p></dd> |
|
23 </dlentry> |
|
24 <dlentry> |
|
25 <dt>Sensor Subsystem (SSY)</dt> |
|
26 <dd><p>Sensor Subsystems are plug-ins that connect the sensor hardware with |
|
27 the sensor server.</p></dd> |
|
28 </dlentry> |
|
29 </dl> </section> |
|
30 <section id="GUID-567734D1-EDE0-4799-8851-B798BB7ACF50"><title>Architecture</title> |
|
31 <fig id="GUID-BD0DC0F8-9DA8-40D2-ABE5-F6D7D36BB4B6"> |
|
32 <title>Sensor Services Architecture</title> |
|
33 <image href="GUID-5B8FEDA0-624E-44D6-BF70-C5228234BD15_d0e134594_href.png" placement="inline"/> |
|
34 </fig><p>The Sensor Services collection consists of the following components:</p><ul> |
|
35 <li><p><b>Sensor Framework</b>, which provides sensor server and plug-in interfaces |
|
36 for adding any new sensor plug-in as required. The framework also provides |
|
37 sensor channel APIs for creating a medium (sensor channel) of exchange between |
|
38 the client applications and the sensor hardware. The sensor plug-ins retrieve |
|
39 data from sensor hardware (through sensor channels) and enable the client |
|
40 applications to use the data for specific requirements. </p></li> |
|
41 <li><p><b>Data Compensator</b>, which uses data provided by the sensor plug-ins |
|
42 to correct the sensor axis data based on the current orientation of the Symbian |
|
43 device. This data can be used by the client applications to display the pages |
|
44 in portrait or landscape views.</p></li> |
|
45 |
|
46 </ul> </section> |
|
47 <section id="GUID-1ADD99BC-6ECF-464F-9E05-0BEA28F67A2B"><title>Typical Uses</title><ul> |
|
48 <li><p><xref href="GUID-4B709839-8EEF-4AD2-9868-9AF0176B1E5B.dita">Using Sensor |
|
49 Channel APIs</xref>.</p></li> |
|
50 <li><p><xref href="GUID-64AC6F53-A9A5-46FD-BCC6-4A9BD8D4DB5C.dita">Compensating |
|
51 Sensor Data for Display Orientation</xref></p></li> |
|
52 |
|
53 </ul></section> |
|
54 </conbody></concept> |