Enabling FM Transmitter

This tutorial describes how to enable a FM transmitter.

Purpose

This tutorial shows you how to use the FM Transmitter Utility to enable the FM Transmitter.

Required Background

The FM Transmitter Library Overview provides an overview of the FM Transmitter library.

Introduction

The FM Transmitter Utility allows the client application to switch on the transmitter hardware for data transmission.

Setup and Configuration Requirements

Clients must provide a MTransmitterObserver class implementation.

Using FM Transmitter Utility

The following task will be covered in this tutorial:

  • Enabling FM transmitter

Basic Procedure

The high level steps to enable the FM Transmitter are shown here:

  1. Set frequency of the transmitter using the CMMTransmitterUtility::SetFrequencyL method. See also Setting Frequency of Transmitter.

  2. Switch the FM Transmitter ON using the CMMTransmitterUtility::EnableL method.

    Note: If you call the CMMTransmitterUtility::EnableL method, without setting a frequency, it uses the previously set frequency or a default frequency.