Setting and Updating a Feature

How to set and update a feature using RFeatureControl.

To set and update a feature using RFeatureControl, take the following steps.


  1. Determine the Uid of the feature you want to update,

  2. create an instance of RFeatureControl,

  3. call its Open() function,

  4. call its SetFeature() function with the arguments

    1. Uid of the feature and the feature data if only feature data is to be set, or

    2. Uid of the feature, ETrue or EFalse to enable or disable the feature, and the feature data,

  5. and call its Close() function.

The calls to SetFeature() require WriteDeviceData capability. They return: