关闭

ofono Architecture Introduction

标签: ofono modem telephon
558人阅读 评论(0) 收藏 举报
分类:
Introducing Ofono

 oFonoprovidesa full host protocol stack fortelephony applications.

 LaunchedbyIntel & Nokia on May, 2009

•   LicensedunderGPL v2

      Coreand plug-ins are always OpenSource

• Plug-ins can be licensed under GPL orGPLcompatible

Client applications can choose anylicense

OfonoDesignGoal

Targetalldevices, not onlysmartphones

       – Netbooks

       – MIDS

       In-Vehicle Infotainment

MultipleModem types to support

    – ATCommands

    VendorProprietary Protocols (e.g. Nokia ISI)

    BluetoothHFP

MinimalDependencies

Fullymodular

     – Components are as independent as possible

     – Extensible

     – Customizable

UIEasy to replace /rewrite

Focus on APIdesign

     – Consistent

     Minimal & Complete

     Documented and easy touse

Consider Certification from the start

OfonoCurrentSupportFunctions

vNetworkRegistration

vMake& Receive Calls

     Simple,Three Way & Multiparty

     – DTMF

vSMS(including Message Waiting Indications)

v CellBroadcast

vGPRS

vSupplementaryServices

     -- CallWaiting,CLIR/CLIP/COLP

     -- CallForwarding

     -- CallBarring

     --AdviceofCharge

      --ussd

ofono Architecture

Ofono Core Components




1. Core Demon


Core daemon provides base level serviceswithinoFono,namely the loading of plugins and drivers; utility APIs for decoding, encodingand fragmentation of binary SMSpdus; utility APIs for reading and writing tothe SIM, and interpreting the contents of the low-level Element File (EF)contents; utility APIs for character set conversion; utility APIs for decoding,duplicate detection and pagination of cell broadcasts; and detection of andcommunication betweenoFonoatoms.
A big part of the core daemon is the modem device abstraction.  Eachdevice is managed independently, and several devices can be present and activein the system at the same time.  The technologies for each device are notrestricted in any way, and can be customized via the use of drivers.

2.OfonoAtoms

oFono atoms provide a clear abstraction APIfor the applications based on D-Bus.  There are currently over a dozenatoms within oFono,providing access to core functionality like voice calls, supplementaryservices, short message service (SMS), cell broadcast (CBS) and sim management.
Atoms can detect the presence of other atoms and use information provided byother atoms to provide extra functionality.  For instance, the NetworkRegistration atom will read low-level EF files whenever a SIM is present, andprovide enhanced operator information if the SIM is thus provisioned.

voicecalls

netreg

gprs

sms

3. Drivers

oFono special driver mechanism can integratemultiple devicetechnologies

Representsan actual modem device in the system

Obtaingeneral information about the device

      Manufacturer

      Revision

      Model

      Serial(IMEI)

Powerdevice on / off

Tellthe core which features (atoms) are supported

Powermanagement (planned)

4. Plugins

Plugins provide a final piece of thepuzzle. Theseare used to provide device drivers and atom drivers. Theycan also be used to extendoFono orinteract with other system services. For example, Moblin usesoFonoplugins to store all call history information within Evolution Data Server.

Builtin& external plugins are supported

DeviceDetection

     udev

     modemconf

ModemDrivers

Ofono Organization Diagram

OfonoInitialization Workflow

Modem Detect Workflow


How to enable modem

How to make a voicecall

ofono Data Service Workflow


TestRoutine:

1.enable-modem

2.Online-modem

3.Activate-context

4.Editfile /etc/resolv.conf, addDNS server address

      nameserver221.12.1.227

      nameserver221.12.33.227

5.sudoifconfig ppp0 172.18.172.196 netmask255.255.255.255

6.sudoifconfig ppp0up


OFONO Website

• Website

    http://ofono.org

• Code

    http://git.kernel.org/?p=network/ofono/ofono.git;a=summary

    http://git.kernel.org/?p=network/ofono/phonesim.git;a=summary

• MailingList

– ofono@ofono.org










0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:177472次
    • 积分:2140
    • 等级:
    • 排名:第18424名
    • 原创:48篇
    • 转载:19篇
    • 译文:0篇
    • 评论:5条
    最新评论