Top Banner
oFono - A Telephony Midware @leafjohn
11
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 20101218 ofono

oFono - A Telephony Midware

@leafjohn

Page 2: 20101218 ofono

Outline

Preface

Brief Introduction

The D-BUS API

A Simple Python Demo

oFono Core - The Atoms

Plugin And Driver

Conclusion

Page 3: 20101218 ofono

The D-BUS API of oFono

oFono Arch:

I Based on glib

I Simple APIover D-Bus

I ModemNeutrual

I Easy to Adaptnew Modem

Page 4: 20101218 ofono

I ModemManagerI ModemAI ModemBI . . .

I VoiceCallManagerI VoiceCallI . . .

I SMSManager

I DataLink

Page 5: 20101218 ofono

Demo on oFono

This demo is based on ofno test scripts, just with a Tkintercloth

Page 6: 20101218 ofono

oFono Atoms

Utils in Core Stack is multiple ofono atoms, in charge ofdifferent interfaces.Take the ModemManager’s Example.Call Interface -¿ List ModeNew plugged -¿ Modem Plugin Probe -¿ Inferface Notice

Page 7: 20101218 ofono

Modem Adaption

I Plugin - Modem uniform Interface for oFono core.

I Drivers - Operating the Modem.

Page 8: 20101218 ofono

Plugin

Ofono has a plugin struct that will do this operation.To implement a plugin, is to fill this struct, and makeinit/probe function

Page 9: 20101218 ofono

Drivers

Ofono provide many default drivers, that control the modemsvia GATChannel

Page 10: 20101218 ofono

Reuse Existing Drivers

Look at Huawei’s pluginIt reuse the fuctions define in driver ’atmodem’

Page 11: 20101218 ofono

Thank You!.

oFono Introduction by Leaf Johnson ([email protected], @leafjohn)