20101218 ofono
TRANSCRIPT
![Page 1: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/1.jpg)
oFono - A Telephony Midware
@leafjohn
![Page 2: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/2.jpg)
Outline
Preface
Brief Introduction
The D-BUS API
A Simple Python Demo
oFono Core - The Atoms
Plugin And Driver
Conclusion
![Page 3: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/3.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/4.jpg)
I ModemManagerI ModemAI ModemBI . . .
I VoiceCallManagerI VoiceCallI . . .
I SMSManager
I DataLink
![Page 5: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/5.jpg)
Demo on oFono
This demo is based on ofno test scripts, just with a Tkintercloth
![Page 6: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/6.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/7.jpg)
Modem Adaption
I Plugin - Modem uniform Interface for oFono core.
I Drivers - Operating the Modem.
![Page 8: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/8.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/9.jpg)
Drivers
Ofono provide many default drivers, that control the modemsvia GATChannel
![Page 10: 20101218 ofono](https://reader034.vdocuments.us/reader034/viewer/2022042814/5551477fb4c905c6268b4e7d/html5/thumbnails/10.jpg)
Reuse Existing Drivers
Look at Huawei’s pluginIt reuse the fuctions define in driver ’atmodem’