子夜的专栏

我希望从毛毛虫蜕变为一只美丽的蝴蝶

ofono Architecture Introduction

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










阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wlsfling/article/details/52354906
文章标签: ofono modem telephon
个人分类: Telephone and RIL
相关热词: ofono
上一篇ubuntu下最全的软件安装、卸载、查看命令
下一篇常用开源许可协议介绍
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭