|
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 reference |
|
11 PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> |
|
12 <reference id="GUID-E054E7F6-3918-5F76-8489-D5CFC9EE257A" xml:lang="en"><title>BCA2 |
|
13 Control Options</title><shortdesc>How to define control options for your BCA components. </shortdesc><prolog><metadata><keywords/></metadata></prolog><refbody> |
|
14 <section id="GUID-52A3191D-9256-4BC6-BF5B-F09C1D3B6E90"><p>The control options are set through <xref href="GUID-00C8FA29-0D32-3729-B6AC-C2FB3B482F9E.dita#GUID-00C8FA29-0D32-3729-B6AC-C2FB3B482F9E/GUID-463B1EC1-8EB3-3DF8-8CA1-87EF7AA4FFE8"><apiname>MLowerControl::Control()</apiname></xref> and |
|
15 depend on the implementation of the BCA component. </p> <p>The first parameter |
|
16 of the method is the option level. It separates the options in logical categories, |
|
17 such as general settings (common to all BCA components), serial settings, |
|
18 or implementation-specific settings. You should define an enumeration for |
|
19 your option levels. </p> <p>The second parameter is a constant representing |
|
20 the control option. Typical control options reset the transmission or reception |
|
21 buffer or start the monitoring of the EIA-232 control line. </p> <p>The third |
|
22 parameter points to the value of the specified option. For some control options, |
|
23 the BCA component modifies this value to return information to the caller. </p> </section> |
|
24 </refbody><related-links> |
|
25 <link href="GUID-18C39927-625C-5B24-919F-469FCBCD501D.dita"><linktext>BCA2 |
|
26 API Overview</linktext></link> |
|
27 </related-links></reference> |