diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2011-05-20 11:47:18 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-22 06:04:10 -0500 |
commit | 5fd5a9b62832199e6e187412e7b468cc8fc5128f (patch) | |
tree | fc2d93f930b9f4509c539baede9b2a09756d91f7 /doc/hfp-overview.txt | |
parent | 807f67d7e88e38fd09da28c5c5f73d495a06bcd2 (diff) | |
download | ofono-5fd5a9b62832199e6e187412e7b468cc8fc5128f.tar.bz2 |
doc: add hfp-overview.txt
Diffstat (limited to 'doc/hfp-overview.txt')
-rw-r--r-- | doc/hfp-overview.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/hfp-overview.txt b/doc/hfp-overview.txt new file mode 100644 index 00000000..3ca1213c --- /dev/null +++ b/doc/hfp-overview.txt @@ -0,0 +1,49 @@ +HandsFree Profile Audio Gateway diagram +======================================= + +This diagram explains how oFono manages HFP AG. + +AT commands and unsolicited results are managed in their related atom (eg. ATA +is managed in voicecall atom). +The emulator atom is managing AT commands or unsolicited results that are not +falling into a specific atom. + +1) HFP AG plugin registers a HFP AG server as soon as a voicecall atom exist. +2) When a connection occurs on this server, HFP AG plugin creates and registers + an emulator atom. +3) Emulator atom will start a GAtServer and registers non-atom-specific + AT commands to it. +4) On emulator atom registration, voice call related atoms (voicecall, network + and sim) register AT callbacks they managed through emulator atom. + + +*===========* *-----------------* +| | Register | | +| BlueZ |<---------------| HFP AG plugin | +| | SDP record | | +*===========* *-----------------* + | + | Start emulator on connection + | + V + *-----------------* + | | + *-------->| Emulator Atom | + | | | + | *-----------------* + | | + Register | | Register AT commands + AT | V + callbacks | *-----------------* + | | | + | | GAtServer | + | | | + | *-----------------* + | + *---------------------*-------------------* + | | | + *----------------* *--------------* *-------------* + | | | | | | + | Voicecall atom | | Network atom | | SIM atom | + | | | | | | + *----------------* *--------------* *-------------* |