BCA2 Control Options

How to define control options for your BCA components.

The control options are set through MLowerControl::Control() and depend on the implementation of the BCA component.

The first parameter of the method is the option level. It separates the options in logical categories, such as general settings (common to all BCA components), serial settings, or implementation-specific settings. You should define an enumeration for your option levels.

The second parameter is a constant representing the control option. Typical control options reset the transmission or reception buffer or start the monitoring of the EIA-232 control line.

The third parameter points to the value of the specified option. For some control options, the BCA component modifies this value to return information to the caller.

Related concepts
BCA2 API Overview