oFono - A Telephony Midware @leafjohn
oFono - A Telephony Midware
@leafjohn
Outline
Preface
Brief Introduction
The D-BUS API
A Simple Python Demo
oFono Core - The Atoms
Plugin And Driver
Conclusion
The D-BUS API of oFono
oFono Arch:
I Based on glib
I Simple APIover D-Bus
I ModemNeutrual
I Easy to Adaptnew Modem
I ModemManagerI ModemAI ModemBI . . .
I VoiceCallManagerI VoiceCallI . . .
I SMSManager
I DataLink
Demo on oFono
This demo is based on ofno test scripts, just with a Tkintercloth
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
Modem Adaption
I Plugin - Modem uniform Interface for oFono core.
I Drivers - Operating the Modem.
Plugin
Ofono has a plugin struct that will do this operation.To implement a plugin, is to fill this struct, and makeinit/probe function
Drivers
Ofono provide many default drivers, that control the modemsvia GATChannel
Reuse Existing Drivers
Look at Huawei’s pluginIt reuse the fuctions define in driver ’atmodem’
Thank You!.
oFono Introduction by Leaf Johnson ([email protected], @leafjohn)