Writing Function Driver Controllers Tutorial

This tutorial explains how to write Function Driver Controllers using the Symbian templates.

Purpose

Symbian provides a set of templates for writing Function Driver Controllers (FDCs). This tutorial examines the templates and considers a mass storage implementation of the templates. It explains how to configure the templates. It highlights things to consider when designing a simple and a more complex Function Driver (FD).

Intended audience

This document is for Symbian licensees who are designing Function Drivers (FDs).

Required background

You need to understand standard Symbian coding procedures, including how to obtain UIDs.

Because Symbian provides a template for writing FDCs, a familiarity with creating ECOM plugins is not required, but would be useful.

Introduction

Setup and configuration requirements

FDCs must possess the platsec capabilities CommDD and ProtServ to be able to run in the FDF’s process.

FDCs must also strictly adhere to the documented FDF API to provide the correct functional behaviour. FDCs are trusted to behave correctly and to be robust. If an FDC does not adhere to the FDF API, it might cause a break in another FDC.

Symbian provides templates for FDCs that carry out these tasks for you. This tutorial explains how to configure the templates.

Writing an FDC

The following documents are available in this section: