Skip to content

RFC org.bluez.Telephony interface integration

Frédéric Danis ofono 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 RFC Latest12 patches 0 repliesNew
  2. v4 RFC10 patches 8 repliesSuperseded
  3. v3 RFC12 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC12 patches0 repliesSuperseded
v1 RFC3 patches0 repliesSuperseded

RFC v4 from the cover letter

- Patche 1
move agent registration from adapter_added() to adapter_properties_cb()
- Patches 4 to 10:
Rewrote support of AT+NREC, AT+VGM, +VGM, AT+VGS, +VGS and +BSIR into bluetooth plugin

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12bluetooth: Add org.bluez.Telephony helpersplugins/bluetooth.c plugins/bluetooth.h+212 -00 replies
2/12hfp_hf: Update to org.bluez.Telephony interfaceplugins/hfp_hf.c+63 -1030 replies
3/12hfp_ag: Update to org.bluez.Telephony interfaceplugins/hfp_ag.c+56 -700 replies
4/12bluetooth: Add audio APIs for HFP AGplugins/bluetooth.h+5 -00 replies
5/12bluetooth: Add AT+NREC supportplugins/bluetooth.c+159 -00 replies
6/12bluetooth: Add +BSIR supportplugins/bluetooth.c+49 -00 replies
7/12bluetooth: Add AT+VGM supportplugins/bluetooth.c+70 -00 replies
8/12bluetooth: Add AT+VGS supportplugins/bluetooth.c+70 -00 replies
9/12include: add set/get data APIs to emulatorinclude/emulator.h+5 -00 replies
10/12emulator: add set/get data APIssrc/emulator.c+17 -00 replies
11/12hfp_ag: Add media transport supportplugins/hfp_ag.c+7 -10 replies
12/12emulator: Update supported featuressrc/emulator.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [RFC v5 00/12] org.bluez.Telephony interface integration

Those patches integrates the future org.bluez.Telephony interface into oFono for HFP HF and HFP AG plugins.

For HFP AG plugin, the bluetooth rfcomm server is replaced by a Telephony Agent registered to org.bluez.Telephony.
For HFP HF plugin, RegisterAgent call of org.bluez.HandsfreeGateway is replaced by the one of org.bluez.Telephony

Since latest RFC :
- Patch 4
forward declare the structute used in bluetooth plug-in by bluetooth_set_audio_management() and bluetooth_free_audio_management()
- Patch 5
Fix DBus pending call management in case of HFP emulator unregistration Remove ofono_emulator_remove_handler() calls
- Patches 9 and 10
Add APIs to set/get data for emulator atom
- Patch 11 (previously 9)
Remove IO watch as data destroyer associated to emulator will be called on atom removal

RFC v4:
- Patche 1
move agent registration from adapter_added() to adapter_properties_cb()
- Patches 4 to 10:
Rewrote support of AT+NREC, AT+VGM, +VGM, AT+VGS, +VGS and +BSIR into bluetooth plugin

Frédéric Danis (12):
bluetooth: Add org.bluez.Telephony helpers
hfp_hf: Update to org.bluez.Telephony interface
hfp_ag: Update to org.bluez.Telephony interface
bluetooth: Add audio APIs for HFP AG
bluetooth: Add AT+NREC support
bluetooth: Add +BSIR support
bluetooth: Add AT+VGM support
bluetooth: Add AT+VGS support
include: add set/get data APIs to emulator
emulator: add set/get data APIs
hfp_ag: Add media transport support
emulator: Update supported features

 include/emulator.h  |    5 +
 plugins/bluetooth.c |  546 +++++++++++++++++++++++++++++++++++++++++++++++++++
 plugins/bluetooth.h |   19 ++
 plugins/hfp_ag.c    |  132 ++++++-------
 plugins/hfp_hf.c    |  166 ++++++----------
 src/emulator.c      |   19 ++
 6 files changed, 714 insertions(+), 173 deletions(-)