1 HandsFree Profile Audio Gateway diagram
2 =======================================
4 This diagram explains how oFono manages HFP AG.
6 AT commands and unsolicited results are managed in their related atom (eg. ATA
7 is managed in voicecall atom).
8 The emulator atom is managing AT commands or unsolicited results that are not
9 falling into a specific atom.
11 1) HFP AG plugin registers a HFP AG server as soon as a voicecall atom exist.
12 2) When a connection occurs on this server, HFP AG plugin creates and registers
14 3) Emulator atom will start a GAtServer and registers non-atom-specific
16 4) On emulator atom registration, voice call related atoms (voicecall, network
17 and sim) register AT callbacks they managed through emulator atom.
20 *===========* *-----------------*
22 | BlueZ |<---------------| HFP AG plugin |
24 *===========* *-----------------*
26 | Start emulator on connection
31 *-------->| Emulator Atom |
35 Register | | Register AT commands
37 callbacks | *-----------------*
43 *---------------------*-------------------*
45 *----------------* *--------------* *-------------*
47 | Voicecall atom | | Network atom | | SIM atom |
49 *----------------* *--------------* *-------------*