ofono Architecture Introduction

原创 2016年08月29日 18:37:43
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










版权声明:本文为博主原创文章,未经博主允许不得转载。

WebRTC - Introduction to WebRTC architecture - 01

http://www.webrtc.org/reference/architecture General Overview WebRTC offers web applicatio...
  • fanbird2008
  • fanbird2008
  • 2014年01月21日 12:25
  • 1334

Android Dev Intro - Graphics architecture

https://source.android.com/devices/graphics/architecture.html Graphics architecture ...
  • fanbird2008
  • fanbird2008
  • 2016年05月11日 22:15
  • 334

ofono Architecture Introduction

Introducing Ofono •  oFono providesa full host protocol stack for telephony applications. • Launched...
  • wlsfling
  • wlsfling
  • 2016年08月29日 18:37
  • 983

WebRTC - Introduction to WebRTC architecture - 03

http://chimera.labs.oreilly.com/books/1230000000545/ch18.html#_performance_checklist_4 Web Real-Ti...
  • fanbird2008
  • fanbird2008
  • 2014年01月21日 21:08
  • 5061

oFono安装和启动

安装和启动oFono 1. git clone git://git.kernel.org/pub/scm/network/ofono/ofono.git 2. cd ofono 3. ./boo...
  • bluebeach
  • bluebeach
  • 2010年09月17日 09:29
  • 3654

移动开发-oFono开源电话协议栈

oFono是一个开源免费的电话协议栈软件,它遵循3GPP27.007等标准,通过AT命令与2G/3G modem进行交互,以实现各种电话功能,如Voicecall, GPRS, SMS, Stk等等。...
  • zhenhua2000
  • zhenhua2000
  • 2010年09月16日 21:48
  • 326

Ofono的框架结构

从ofono.org可以获得ofono的框架图:Ofono的框架图        从这个框架图上可以看到,ofono分为三个层次:        上面那层,ofono可以实现:空中下载技术、短信、电话...
  • blueice8601
  • blueice8601
  • 2011年07月21日 18:25
  • 1618

用oFono来GPRS上网

准备一个3G modem 首先,你需要找一个2G或3G的USB modem。这个在淘宝上花200左右就能买到。我手边用的是Huawei E1750 WCDMA的modem。   一般mode...
  • bluebeach
  • bluebeach
  • 2010年09月17日 10:08
  • 2426

Introduction to IIS 7 Architecture

Introduction Internet Information Services (IIS) 7 provides a new request-processing architecture t...
  • garcon1986
  • garcon1986
  • 2011年08月19日 03:09
  • 1228

17 Introduction to the Multitenant Architecture

17 Introduction to the Multitenant Architecture This chapter contains information specific to the...
  • pkuyjxu
  • pkuyjxu
  • 2013年10月11日 13:42
  • 660
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:ofono Architecture Introduction
举报原因:
原因补充:

(最多只允许输入30个字)